diff options
Diffstat (limited to 'alembic/runtime/environment.py')
-rw-r--r-- | alembic/runtime/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alembic/runtime/environment.py b/alembic/runtime/environment.py index a441d1f..0f9d3a5 100644 --- a/alembic/runtime/environment.py +++ b/alembic/runtime/environment.py @@ -897,7 +897,7 @@ class EnvironmentContext(util.ModuleClsProxy): def begin_transaction( self, - ) -> Union[_ProxyTransaction, ContextManager]: + ) -> Union[_ProxyTransaction, ContextManager[None]]: """Return a context manager that will enclose an operation within a "transaction", as defined by the environment's offline |