Add structure for influxdb 2 params

This contains all the data needed for connecting and writing to an InfluxDB2 server
This commit is contained in:
Gabe Revells 2021-02-13 15:46:26 -05:00 committed by Daniel
parent 453b6dad15
commit f027e14447

View file

@ -20,6 +20,16 @@ class InfluxServer(NamedTuple):
verify_ssl: bool = False
class Influx2Server(NamedTuple):
url: str = 'localhost'
org: str = 'server'
token: str = 'TOKEN'
bucket: str = 'varken'
timeout: int = 10000
ssl: bool = False
verify_ssl: bool = False
class SonarrServer(NamedTuple):
api_key: str = None
future_days: int = 0