Skip to content

Commit 69ed3d8

Browse files
feat(capture_method): small fixes
1 parent 9513133 commit 69ed3d8

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

aws_lambda_powertools/tracing/tracer.py

+1
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ async def async_tasks():
509509
functools.partial(self.capture_method, capture_response=capture_response, capture_error=capture_error),
510510
)
511511

512+
# Example: app.ClassA.get_all # noqa E800
512513
method_name = f"{method.__module__}.{method.__qualname__}"
513514

514515
capture_response = resolve_truthy_env_var_choice(
-30.8 KB
Loading

tests/e2e/tracer/handlers/same_function_name.py

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99

1010
class MainAbstractClass(ABC):
11-
def __init__(self):
12-
super().__init__()
13-
1411
@abstractmethod
1512
def get_all(self):
1613
raise NotImplementedError

0 commit comments

Comments
 (0)