getsentry / getsentry/sentry-python

Drop custom APIs

Open
#6,894 2 comments 0 reactions 0 assignees View on GitHub
Python SDK 3.0
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.