mirror of
https://github.com/tiqi-group/pydase_service_base.git
synced 2025-06-06 12:40:41 +02:00
renaming files (connection -> session)
This commit is contained in:
parent
c769756be6
commit
5003995cb8
@ -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"]
|
||||||
|
@ -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'
|
Loading…
x
Reference in New Issue
Block a user