Skip to content

Commit 144a774

Browse files
authored
Merge pull request #11 from PostHog/none
Default to False if the feature flag key does not exist. None is confusing
2 parents e007dee + ca979f0 commit 144a774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posthog/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def alias(
104104
def feature_enabled(
105105
key, # type: str,
106106
distinct_id, # type: str,
107-
default=None, # type: Optional[Any]
107+
default=False, # type: bool
108108
):
109109
# type: (...) -> bool
110110
"""

0 commit comments

Comments
 (0)