Context: [https://github.com/getsentry/sentry-python/issues/5743#issuecomment-4163397325](<https://github.com/getsentry/sentry-python/issues/5743#issuecomment-4163397325>)