Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Dec 4, 2024
1 parent b040574 commit d632528
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ def __init__(
connection: ConnectionT,
db_api_integration: DatabaseApiIntegration | None = None,
):
self.db_api_integration = db_api_integration
wrapt.ObjectProxy.__init__(self, connection)
self.db_api_integration = db_api_integration

def __getattribute__(self, name: str):
if object.__getattribute__(self, name):
Expand Down Expand Up @@ -568,8 +568,8 @@ def __init__(
cursor: CursorT,
db_api_integration: DatabaseApiIntegration,
):
self._cursor_tracer = CursorTracer[CursorT](db_api_integration)
wrapt.ObjectProxy.__init__(self, cursor)
self._cursor_tracer = CursorTracer[CursorT](db_api_integration)

def execute(self, *args: Any, **kwargs: Any):
return self._cursor_tracer.traced_execution(
Expand Down

0 comments on commit d632528

Please sign in to comment.