We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b8885 commit ba2bbc1Copy full SHA for ba2bbc1
ydb_sqlalchemy/dbapi/connection.py
@@ -37,6 +37,7 @@ def __init__(
37
self.endpoint = f"grpc://{host}:{port}"
38
self.database = database
39
self.conn_kwargs = conn_kwargs
40
+ self.credentials = self.conn_kwargs.pop("credentials", None)
41
42
if "ydb_session_pool" in self.conn_kwargs: # Use session pool managed manually
43
self._shared_session_pool = True
@@ -157,6 +158,7 @@ def _create_driver(self):
157
158
endpoint=self.endpoint,
159
database=self.database,
160
table_client_settings=self._get_table_client_settings(),
161
+ credentials=self.credentials,
162
)
163
driver = self._ydb_driver_class(driver_config)
164
try:
0 commit comments