Definition at line 47 of file control.py.
Public Member Functions | |
| __init__ (self, ConnectionCache connections, bool verbose=False) | |
| clickhouse_driver.Client | get_connection (self, str dbname, bool create_db=True) |
| run_migration (self, str dbname, pathlib.Path path) | |
Protected Member Functions | |
| _init_db (self, str dbname) | |
Protected Attributes | |
| _connections = connections | |
| _verbose = verbose | |
Static Protected Attributes | |
| set | _migrations_run [tuple[str, pathlib.Path]] |
| set | _initialized [str] |
| testsuite.databases.clickhouse.control.DatabasesState.__init__ | ( | self, | |
| ConnectionCache | connections, | ||
| bool | verbose = False ) |
Definition at line 51 of file control.py.
|
protected |
Definition at line 81 of file control.py.
| clickhouse_driver.Client testsuite.databases.clickhouse.control.DatabasesState.get_connection | ( | self, | |
| str | dbname, | ||
| bool | create_db = True ) |
Definition at line 57 of file control.py.
| testsuite.databases.clickhouse.control.DatabasesState.run_migration | ( | self, | |
| str | dbname, | ||
| pathlib.Path | path ) |
Definition at line 68 of file control.py.
|
protected |
Definition at line 52 of file control.py.
|
staticprotected |
Definition at line 49 of file control.py.
|
staticprotected |
Definition at line 48 of file control.py.
|
protected |
Definition at line 53 of file control.py.