You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
This behaviour can most likely be explained by the lack of the InfluxDBClient.__enter__() function in the version 5.3.1 I got from pip. Is there a reason why this addition of this function is not (yet) reflected in the pip version? If not, is it safe to install the version that is currently on the master branch?
Very kind regards and many thanks for the development of this amazing package!
InfluxDB version: 1.8.10
InfluxDB-python version: 5.3.1
Python version: 3.8.10
Operating system version: Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
It looks like the 5.3.1 tag has gone missing. Unsure why or how. However, if you look at the latest code in the master branch you will see that there is now an __enter__ and an __exit__. Hopefully soon the authors can create a 5.3.2 tag which includes that.
I recently started using influxdb and I am struggeling to use a
InfluxDBClient()
object as a context manager as mentioned in the documentation (https://influxdb-python.readthedocs.io/en/latest/api-documentation.html#influxdbclient). As a minimal working example I triedwhich returned
None
.This behaviour can most likely be explained by the lack of the
InfluxDBClient.__enter__()
function in the version 5.3.1 I got from pip. Is there a reason why this addition of this function is not (yet) reflected in the pip version? If not, is it safe to install the version that is currently on the master branch?Very kind regards and many thanks for the development of this amazing package!
The text was updated successfully, but these errors were encountered: