Skip to content

Commit ef06a20

Browse files
V4 comment
1 parent 6616425 commit ef06a20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws_lambda_powertools/event_handler/appsync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def lambda_handler(event, context):
153153
# If we clean the context immediately, it might not be available when the coroutine is actually executed.
154154
# For single async operations, the context should be cleaned up manually after the coroutine completes.
155155
# See: https://github.com/aws-powertools/powertools-lambda-python/issues/5290
156+
# REVIEW: Review this support in Powertools V4
156157
if not asyncio.iscoroutine(response):
157158
self.clear_context()
158159

0 commit comments

Comments
 (0)