getsentry / getsentry/sentry

Remove manual scope handling with ThreadPoolExecutor

Open
#101,788 1 comment 0 reactions 1 assignee Claimed by @alexander-alderman-webb View on GitHub
python Task
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

Now we merged https://github.com/getsentry/sentry-python/pull/4770 in the Python SDK, code like the snippet below can be simplified. The SDK now automatically forks the relevant scopes when a function is submitted to the executor.

https://github.com/getsentry/sentry/blob/dab07bbef177ec45a663635161d8119cf245130e/src/sentry/utils/snuba.py#L1179-L1195

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.