We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_should_send_default_pii
1 parent cfcd5b1 commit 7996dcaCopy full SHA for 7996dca
sentry_sdk/hub.py
@@ -59,16 +59,6 @@ def overload(x):
59
_local = ContextVar("sentry_current_hub")
60
61
62
-def _should_send_default_pii():
63
- # type: () -> bool
64
- # TODO: Migrate existing code to `scope.should_send_default_pii()` and remove this function.
65
- # New code should not use this function!
66
- client = Hub.current.client
67
- if not client:
68
- return False
69
- return client.should_send_default_pii()
70
-
71
72
class _InitGuard:
73
def __init__(self, client):
74
# type: (Client) -> None
0 commit comments