Skip to content

Commit ad4e223

Browse files
add type annotation
1 parent 7bc4d62 commit ad4e223

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry_sdk/tracing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,7 @@ def _in_http_status_code_range(self, code, code_ranges):
996996
return False
997997

998998
def _get_log_representation(self):
999+
# type: () -> str
9991000
return "{op}transaction <{name}>".format(
10001001
op=("<" + self.op + "> " if self.op else ""), name=self.name
10011002
)

0 commit comments

Comments
 (0)