renaming files (connection -> session)

This commit is contained in:
Mose Mueller 2023-08-02 09:07:33 +02:00
parent c769756be6
commit 5003995cb8
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from .influxdb_connection import InfluxDBSession from .influxdb_session import InfluxDBSession
from .postgres_connection import PostgresDatabaseSession from .postgres_session import PostgresDatabaseSession
__all__ = ["InfluxDBSession", "PostgresDatabaseSession"] __all__ = ["InfluxDBSession", "PostgresDatabaseSession"]

View File

@ -27,7 +27,7 @@ class InfluxDBSession:
Example usage: Example usage:
``` ```
with InfluxDBConnection() as influx_client: with InfluxDBSession() as influx_client:
# Creating a bucket # Creating a bucket
influx_client.create_bucket( influx_client.create_bucket(
bucket_name='my_new_bucket', description='This is a new bucket' bucket_name='my_new_bucket', description='This is a new bucket'