getsentry / getsentry/sentry-python
Drop custom APIs
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 669
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 213
Description
Remove:
* `@ai_track` ✅
* `update_current_span` ✅ getsentry/sentry-python#7262
* `get_start_span_function` ✅
* `record_token_usage`
* `set_conversation_id` ❌ keep for now
Look for more Python SDK-specific APIs. (The `@trace` decorator can stay.)
Contributor guide
Research direction
Search the Python SDK for the listed APIs—@ai_track, update_current_span, get_start_span_function, and record_token_usage—and identify other Python SDK-specific APIs. Check their references and public exposure before removing candidates; leave set_conversation_id and @trace in place, and consider the work done when the agreed custom APIs are removed without breaking remaining SDK behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100