trino-python-client icon indicating copy to clipboard operation
trino-python-client copied to clipboard

Sqlalchemy transactions with Repeatable_read

Open StephenOTT opened this issue 5 months ago • 4 comments

Expected behavior

dding a isolation level in the SA Session causes a failure when using any of the levels with underscores.

Trino client is removing the underscore, but then SA requires the underscore in downstream methods for a enum lookup.

Looking at the tests, it seems like it was not tested against the isolation levels with underscores.

Thanks.

Actual behavior

Fails

Steps To Reproduce

Use isolation level REPEATABLE_READ with SA

Log output

No response

Operating System

Windoss

Trino Python client version

Latest

Trino Server version

429

Python version

3.9

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

StephenOTT avatar Sep 05 '24 20:09 StephenOTT