airflow.providers.ydb.hooks.ydb
¶
Module Contents¶
Classes¶
YDB cursor wrapper. |
|
YDB connection wrapper. |
|
Interact with YDB. |
Attributes¶
- class airflow.providers.ydb.hooks.ydb.YDBConnection(ydb_session_pool, is_ddl)[source]¶
YDB connection wrapper.
- class airflow.providers.ydb.hooks.ydb.YDBHook(*args, is_ddl=False, **kwargs)[source]¶
Bases:
airflow.providers.common.sql.hooks.sql.DbApiHook
Interact with YDB.
- property sqlalchemy_url: sqlalchemy.engine.URL[source]¶
Return a Sqlalchemy.engine.URL object from the connection.
Needs to be implemented in the provider subclass to return the sqlalchemy.engine.URL object.
- Returns
the extracted sqlalchemy.engine.URL object.
- Return type