We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 377f71a commit 5dfd8bdCopy full SHA for 5dfd8bd
sentry_sdk/api.py
@@ -159,7 +159,7 @@ def set_tag(key, value):
159
160
@scopemethod # noqa
161
def set_context(key, value):
162
- # type: (str, Any) -> None
+ # type: (str, Dict[str, Any]) -> None
163
return Hub.current.scope.set_context(key, value)
164
165
sentry_sdk/scope.py
@@ -232,7 +232,7 @@ def remove_tag(
232
def set_context(
233
self,
234
key, # type: str
235
- value, # type: Any
+ value, # type: Dict[str, Any]
236
):
237
# type: (...) -> None
238
"""Binds a context at a certain key to a specific value."""
0 commit comments