Skip to content

Commit bf65ede

Browse files
aliu39antonpirker
andauthored
ref(flags): Beter naming for featureflags module and identifier (#3902)
Co-authored-by: Anton Pirker <[email protected]>
1 parent 8fa6d3d commit bf65ede

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: sentry_sdk/integrations/featureflags.py renamed to sentry_sdk/integrations/feature_flags.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class FeatureFlagsIntegration(Integration):
1616
@example
1717
```
1818
import sentry_sdk
19-
from sentry_sdk.integrations.featureflags import FeatureFlagsIntegration, add_feature_flag
19+
from sentry_sdk.integrations.feature_flags import FeatureFlagsIntegration, add_feature_flag
2020
2121
sentry_sdk.init(dsn="my_dsn", integrations=[FeatureFlagsIntegration()]);
2222
@@ -25,7 +25,7 @@ class FeatureFlagsIntegration(Integration):
2525
```
2626
"""
2727

28-
identifier = "featureflags"
28+
identifier = "feature_flags"
2929

3030
@staticmethod
3131
def setup_once():

Diff for: tests/integrations/featureflags/test_featureflags.py renamed to tests/integrations/feature_flags/test_feature_flags.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55

66
import sentry_sdk
7-
from sentry_sdk.integrations.featureflags import (
7+
from sentry_sdk.integrations.feature_flags import (
88
FeatureFlagsIntegration,
99
add_feature_flag,
1010
)

0 commit comments

Comments
 (0)