Created
November 9, 2021 20:51
-
-
Save rahulbanerjee26/1e9a6591148ced2b06ef71bd90cf7ca5 to your computer and use it in GitHub Desktop.
InlfuxDb Class Init Method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InfluxClient: | |
def __init__(self,token,org,bucket): | |
self._org=org | |
self._bucket = bucket | |
self._client = InfluxDBClient(url="http://localhost:8086", token=token) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment