Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(metrics): Update type hints for tag values #3156

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

elramen
Copy link
Contributor

@elramen elramen commented Jun 11, 2024

Remove Tuple and List from the MetricTagValue type as these are not supported and might confuse the user. See getsentry/relay#3691 for more information.

@elramen elramen self-assigned this Jun 11, 2024
@elramen elramen force-pushed the elias/metric-tag-value-type-hints branch from d0a8ff9 to b02d0a3 Compare June 11, 2024 14:06
Remove None, Tuple, and List from the MetricTagValue type as these are not supported and might confuse the user
@elramen elramen force-pushed the elias/metric-tag-value-type-hints branch from b02d0a3 to 3d22c5d Compare June 11, 2024 14:07
@elramen elramen requested a review from antonpirker June 11, 2024 14:54
Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Do we need to update any Python SDK docs in response to this change?

@elramen
Copy link
Contributor Author

elramen commented Jun 12, 2024

Looks good! Do we need to update any Python SDK docs in response to this change?

@szokeasaurusrex https://docs.sentry.io/platforms/python/metrics/ is already good

@elramen elramen merged commit 1497916 into master Jun 12, 2024
111 checks passed
@elramen elramen deleted the elias/metric-tag-value-type-hints branch June 12, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants