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 ef01990 commit 381ccc1Copy full SHA for 381ccc1
sentry_sdk/integrations/featureflags.py
@@ -29,11 +29,13 @@ class FeatureFlagsIntegration(Integration):
29
30
@staticmethod
31
def setup_once():
32
+ # type: () -> None
33
scope = sentry_sdk.get_current_scope()
34
scope.add_error_processor(flag_error_processor)
35
36
-def add_feature_flag(flag: str, result: bool):
37
+def add_feature_flag(flag, result):
38
+ # type: (str, bool) -> None
39
"""
40
Records a flag and its value to be sent on subsequent error events. We recommend you do this
41
on flag evaluations. Flags are buffered per Sentry scope and limited to 100 per event.
0 commit comments