Skip to content

Commit 354094c

Browse files
committed
.
1 parent dc6d720 commit 354094c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

sentry_sdk/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"last_event_id",
3838
"new_scope",
3939
"push_scope",
40+
"remove_attribute",
41+
"set_attribute",
4042
"set_context",
4143
"set_extra",
4244
"set_level",

tests/test_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_top_level_api(sentry_init, capture_envelopes):
2121
(metric,) = metrics
2222

2323
assert metric["attributes"]["set"] == "value"
24-
assert "remove" not in metric["attributes"]
24+
assert "removed" not in metric["attributes"]
2525

2626

2727
def test_scope_precedence(sentry_init, capture_envelopes):

0 commit comments

Comments
 (0)