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 摘要。