We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delete_api = client.delete_api() delete_api.delete('1970-01-01T00:00:00Z', '2020-04-27T00:00:00Z', '_measurement="daily"', 'finance_data', 'administators')
{ "code":"invalid", "message":"id must have a length of 16 bytes" }
The text was updated successfully, but these errors were encountered:
Hi @GF-Huang,
the delete_api should also accept a bucket_name. It is a bug... we will fix it ASAP.
delete_api
bucket_name
As a workaround you could use something like that:
from influxdb_client import DeletePredicateRequest from influxdb_client import DefaultService predicate_request = DeletePredicateRequest(start='1970-01-01T00:00:00Z', stop='2020-04-27T00:00:00Z', predicate='_measurement="daily"') service = DefaultService(self.client.api_client) service.delete_post(delete_predicate_request=predicate_request, bucket='finance_data', org='administators')
Regards
Sorry, something went wrong.
fix: Fixed parameters in delete api #86
e6af0cb
fix: Fixed parameters in delete api #86 (#91)
e68cf1a
the delete_api is fixed in 1.7.0 milestone.
If you would like to test it then install client via:
pip install git+https://github.com/influxdata/influxdb-client-python.git@master
Got it, thanks.
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: