We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb963b0 commit 9df36c0Copy full SHA for 9df36c0
posthog/request.py
@@ -81,7 +81,7 @@ def decide(api_key: str, host: Optional[str] = None, gzip: bool = False, timeout
81
return _process_response(res, success_message="Feature flags decided successfully")
82
83
84
-def remote_config(api_key: str, host: Optional[str] = None, flag_id: int | str = "", timeout: int = 15) -> Any:
+def remote_config(api_key: str, host: Optional[str] = None, flag_id: int = 0, timeout: int = 15) -> Any:
85
"""Get remote config flag value from remote_config API endpoint"""
86
return get(api_key, f"/api/projects/@current/feature_flags/{flag_id}/remote_config/", host, timeout)
87
0 commit comments