Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sentry_sdk/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def set_tag(key, value):

@scopemethod # noqa
def set_context(key, value):
# type: (str, Any) -> None
# type: (str, Dict[str, Any]) -> None
return Hub.current.scope.set_context(key, value)


Expand Down
2 changes: 1 addition & 1 deletion sentry_sdk/scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def remove_tag(
def set_context(
self,
key, # type: str
value, # type: Any
value, # type: Dict[str, Any]
):
# type: (...) -> None
"""Binds a context at a certain key to a specific value."""
Expand Down