SDK
Python SDK
Description
We have had questions come in about using asyncio with FastAPI and AWS lambda. The former suggests initializing in the main async coroutine, while the latter two indicate that Sentry should be initialized at the top level.
Suggested Solution
Investigate when to initialize Sentry when using asyncio together with FastAPI and AWS lambda.
If initializing in coroutines is better in some cases when using FastAPI and AWS lambda, then case split in the respective docs pages.