Skip to content

Commit 7779633

Browse files
Fix get_feature_flag_payload return type annotation
Update return type from Optional[str] to Optional[FeatureFlagResult] to match the actual return value from the underlying implementation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 461c457 commit 7779633

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
@@ -581,7 +581,7 @@ def get_feature_flag_payload(
581581
only_evaluate_locally=False,
582582
send_feature_flag_events=True,
583583
disable_geoip=None, # type: Optional[bool]
584-
) -> Optional[str]:
584+
) -> Optional[FeatureFlagResult]:
585585
return _proxy(
586586
"get_feature_flag_payload",
587587
key=key,

0 commit comments

Comments
 (0)