Skip to content

Commit 381ccc1

Browse files
committed
Type annotate
1 parent ef01990 commit 381ccc1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sentry_sdk/integrations/featureflags.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ class FeatureFlagsIntegration(Integration):
2929

3030
@staticmethod
3131
def setup_once():
32+
# type: () -> None
3233
scope = sentry_sdk.get_current_scope()
3334
scope.add_error_processor(flag_error_processor)
3435

3536

36-
def add_feature_flag(flag: str, result: bool):
37+
def add_feature_flag(flag, result):
38+
# type: (str, bool) -> None
3739
"""
3840
Records a flag and its value to be sent on subsequent error events. We recommend you do this
3941
on flag evaluations. Flags are buffered per Sentry scope and limited to 100 per event.

0 commit comments

Comments
 (0)