Skip to content

Conversation

@sasorokinnebius
Copy link
Contributor

There is no parameter such as echo and the full SQL is always emitted in the logs, and it can't be turned off
The same can be achieved by setting the echo parameter during the creation of the engine:

sa.create_engine(
            echo=True

OR

create_async_engine(
            echo=True,

And the loger qlalchemy.engine.Engine will output the SQL.

@vgvoleg vgvoleg merged commit c00173c into ydb-platform:main Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants