Skip to content

Alembic Spanner DB Table Creation, Duplication Issue. #1481

Discussion options

You must be logged in to vote

Adding a new comment so it can be marked as the answer for future reference.
The solution to this probem was using AUTOCOMMIT mode that can be either set on block level:

with op.get_context().autocommit_block():

or connection/session level:
https://docs.sqlalchemy.org/en/20/orm/session_transaction.html#setting-transaction-isolation-levels-dbapi-autocommit

Replies: 3 comments 17 replies

Comment options

You must be logged in to vote
9 replies
@kumarlti
Comment options

@CaselIT
Comment options

@kumarlti
Comment options

@CaselIT
Comment options

@kumarlti
Comment options

Comment options

You must be logged in to vote
7 replies
@csibe17
Comment options

@CaselIT
Comment options

@csibe17
Comment options

@CaselIT
Comment options

@csibe17
Comment options

Comment options

You must be logged in to vote
1 reply
@CaselIT
Comment options

Answer selected by CaselIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants