fix: get token value from secretstr

This commit is contained in:
Mose Mueller 2023-08-02 11:08:10 +02:00
parent c09886f188
commit 711fdabbab

View File

@ -60,7 +60,7 @@ class InfluxDBSession:
) )
self.url = self._config.url self.url = self._config.url
self.token = str(self._config.token) self.token = self._config.token.get_secret_value()
self.org = self._config.org self.org = self._config.org
self.client: InfluxDBClient self.client: InfluxDBClient
self.write_api: WriteApi self.write_api: WriteApi