Skip to content

Instantly share code, notes, and snippets.

@rahulbanerjee26
Created November 9, 2021 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulbanerjee26/1e9a6591148ced2b06ef71bd90cf7ca5 to your computer and use it in GitHub Desktop.
Save rahulbanerjee26/1e9a6591148ced2b06ef71bd90cf7ca5 to your computer and use it in GitHub Desktop.
InlfuxDb Class Init Method
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