Skip to content

Commit

Permalink
ref(flags): Beter naming for featureflags module and identifier (#3902)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Pirker <[email protected]>
  • Loading branch information
aliu39 and antonpirker authored Jan 7, 2025
1 parent 8fa6d3d commit bf65ede
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class FeatureFlagsIntegration(Integration):
@example
```
import sentry_sdk
from sentry_sdk.integrations.featureflags import FeatureFlagsIntegration, add_feature_flag
from sentry_sdk.integrations.feature_flags import FeatureFlagsIntegration, add_feature_flag
sentry_sdk.init(dsn="my_dsn", integrations=[FeatureFlagsIntegration()]);
Expand All @@ -25,7 +25,7 @@ class FeatureFlagsIntegration(Integration):
```
"""

identifier = "featureflags"
identifier = "feature_flags"

@staticmethod
def setup_once():
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest

import sentry_sdk
from sentry_sdk.integrations.featureflags import (
from sentry_sdk.integrations.feature_flags import (
FeatureFlagsIntegration,
add_feature_flag,
)
Expand Down

0 comments on commit bf65ede

Please sign in to comment.