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(snuba): Replace push_scope in mri.py #75042

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Jul 26, 2024

sentry_sdk.push_scope is soft-deprecated, and will soon be hard- deprecated (see sentry-python#3347), so replace the push_scope calls with appropriate new API. Here, we use sentry_sdk.new_scope, since we are setting tags for a capture_message call.

See #74938

`sentry_sdk.push_scope` is soft-deprecated, and will soon be hard-
deprecated (see sentry-python#3347), so replace the `push_scope`
calls with appropriate new API. Here, we use `sentry_sdk.new_scope`,
since we are setting tags for a `capture_message` call.

See #74938
@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner July 26, 2024 08:07
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 26, 2024
@szokeasaurusrex szokeasaurusrex self-assigned this Jul 26, 2024
@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) July 26, 2024 08:08
@shellmayr
Copy link
Member

Thanks for noticing that!

@szokeasaurusrex szokeasaurusrex merged commit f781d7a into master Jul 26, 2024
51 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/push_scope-mri branch July 26, 2024 08:39
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants