We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 078a519 commit 3b34257Copy full SHA for 3b34257
sentry_sdk/scope.py
@@ -164,7 +164,9 @@ def transaction(self):
164
def transaction(self, value):
165
# type: (Any) -> None
166
# would be type: (Optional[str]) -> None, see https://github.com/python/mypy/issues/3004
167
- """When set this forces a specific transaction name to be set."""
+ """When set this forces a specific transaction name to be set.
168
+
169
+ Deprecated: use set_transaction_name instead."""
170
# XXX: the docstring above is misleading. The implementation of
171
# apply_to_event prefers an existing value of event.transaction over
172
# anything set in the scope.
0 commit comments