Closed Pitastic closed 1 year ago
Found this old Issue which suggests to use requests
to call the API v1 directly. Do I really have to 😋 ?
Hi @Pitastic,
thanks for using our client.
But as this should be backwards compatible with 1.8 is there a workaround for this or am I missing something?
The client is not backwards compatible with 1.8. You can only use this client with InfluxDB 2.0 API compatibility endpoints.
Found this old Issue which suggests to use
requests
to call the API v1 directly. Do I really have to 😋 ?
Yes, you have to, but every Pull Request is welcome. If you want to add a helper for this into client code base ... feel free to create PR.
Regards
The client is not backwards compatible with 1.8
Ah ok. But just want to mention that this example in your repo is not valid then.
Thanks for your work. I will have a look if I am professional enough to help out here 😃 I would really like to...
Specifications
Reproduce:
On Influx 1.8 I am dealing with databases and not yet with buckets. The only problem is, that there is no
client.create_database()
anymore. Thanks to your migration guide and the examples in this repo it is clear that I should use theclient.buckets_api()
for that instead. These API Endpoints don't exist on 1.8 what makes sense to me.But as this should be backwards compatible with 1.8 is there a workaround for this or am I missing something?
Code sample to reproduce problem
Expected behavior
Create a "database" instead of a "bucket".
Actual behavior
Endpoint for API call is not found.
Additional info