Why is this needed?
While perusing the code to understand how AsyncBatchProcessor starts the event loop, I found the following note in the code for BasePartialProcessor:
|
loop = asyncio.get_event_loop() # NOTE: this might return an error starting in Python 3.12 in a few years |
Now that Lambda has the Python 3.13 runtime, this should probably re-evaluated to determine if any work is needed here to solve the concern or if the note can be removed.
Which area does this relate to?
Batch processing
Suggestion
Write a test to confirm whatever concern that prompted the note is or is not happening. If it happens, resolve the bug. If it doesn't happen, remove the note.
Acknowledgment
Why is this needed?
While perusing the code to understand how
AsyncBatchProcessorstarts the event loop, I found the following note in the code forBasePartialProcessor:powertools-lambda-python/aws_lambda_powertools/utilities/batch/base.py
Line 135 in 4743b80
Now that Lambda has the Python 3.13 runtime, this should probably re-evaluated to determine if any work is needed here to solve the concern or if the note can be removed.
Which area does this relate to?
Batch processing
Suggestion
Write a test to confirm whatever concern that prompted the note is or is not happening. If it happens, resolve the bug. If it doesn't happen, remove the note.
Acknowledgment