Skip to content

Commit

Permalink
Set tracer in class definition to avoid lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuslimdw committed Feb 5, 2024
1 parent 479e788 commit 0f9dd37
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def _hydrate_span_from_args(connection, query, parameters) -> dict:
class AsyncPGInstrumentor(BaseInstrumentor):

_leading_comment_remover = re.compile(r"^/\*.*?\*/")
_tracer = None

def __init__(self, capture_parameters=False):
super().__init__()
Expand Down

0 comments on commit 0f9dd37

Please sign in to comment.