getsentry / getsentry/sentry-python

Expose `Attributes` type definition in public place

未關閉 適合新手
#6,970 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Improvement Python
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 40 分鐘
30 天內合併 PR
212

描述

See https://github.com/getsentry/snuba/pull/8245#discussion_r3687009587.
It seems that users currently have to import with `from sentry_sdk._types import Attributes`

貢獻指南

開啟貢獻指南

研究方向

Start by inspecting sentry_sdk._types and the discussion linked in the issue to understand the current Attributes definition and the intended public import location. Expose the type through a public SDK path so users do not need to import from the private module, then verify that the public import works.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
developer-experience
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
冷清
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。