YDB Client implementation.
Definition at line 4 of file client.py.
|
| | _driver = self._init_driver(endpoint, database) |
| |
| | _database = database |
| |
| | _session = self._driver.table_client.session().create() |
| |
◆ __init__()
| pytest_userver.plugins.ydb.client.YdbClient.__init__ |
( |
| self, |
|
|
| endpoint, |
|
|
| database ) |
◆ _init_driver()
| pytest_userver.plugins.ydb.client.YdbClient._init_driver |
( |
| endpoint, |
|
|
| database ) |
|
staticprotected |
◆ database()
| pytest_userver.plugins.ydb.client.YdbClient.database |
( |
| self | ) |
|
◆ execute()
| pytest_userver.plugins.ydb.client.YdbClient.execute |
( |
| self, |
|
|
| query ) |
◆ session()
| pytest_userver.plugins.ydb.client.YdbClient.session |
( |
| self | ) |
|
◆ topic_client()
| pytest_userver.plugins.ydb.client.YdbClient.topic_client |
( |
| self | ) |
|
◆ _database
| pytest_userver.plugins.ydb.client.YdbClient._database = database |
|
protected |
◆ _driver
| pytest_userver.plugins.ydb.client.YdbClient._driver = self._init_driver(endpoint, database) |
|
protected |
◆ _session
| pytest_userver.plugins.ydb.client.YdbClient._session = self._driver.table_client.session().create() |
|
protected |
The documentation for this class was generated from the following file:
- /data/code/userver/testsuite/pytest_plugins/pytest_userver/plugins/ydb/client.py