Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit 308f203

Browse files
committed
remove old code
1 parent b67c1f1 commit 308f203

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

sqlalchemy_continuum/manager.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def reset(self):
159159

160160
self.metadata = None
161161

162-
def after_begin(self, session, _tx, _conn):
162+
def after_begin(self, session, tx, conn):
163163
if not self.options['versioning'] or not self.options['native_versioning']:
164164
return
165165

@@ -170,8 +170,6 @@ def after_begin(self, session, _tx, _conn):
170170
# result of fetchone() is a Tuple[int]
171171
self.native_transaction_id = session.execute(stmt).fetchone()[0]
172172

173-
self.after_begin_called = True
174-
175173
def transaction_args(self, session):
176174
args = {}
177175
for plugin in self.plugins:

0 commit comments

Comments
 (0)