-
Notifications
You must be signed in to change notification settings - Fork 57
feat(flags): Add method for fetching decrypted remote config flag payload #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
74505fa
e9245d4
7998049
8160309
f260820
9ceb4ab
e9d8519
49fc1bb
fb963b0
9df36c0
e5d7c8f
8b2da6b
4539f4a
d6e4a65
0df99ea
501a111
f1345ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -80,6 +80,9 @@ def decide(api_key: str, host: Optional[str] = None, gzip: bool = False, timeout | |
| res = post(api_key, host, "/decide/?v=3", gzip, timeout, **kwargs) | ||
| return _process_response(res, success_message="Feature flags decided successfully") | ||
|
|
||
| def remote_config(api_key: str, host: Optional[str] = None, flag_id: str = "", timeout: int = 15) -> Any: | ||
havenbarnes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| res = get(api_key, host, f"/api/projects/@current/feature_flags/{flag_id}/remote_config/", timeout) | ||
havenbarnes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| return _process_response(res, success_message="Feature flags decided successfully") | ||
|
||
|
|
||
| def batch_post( | ||
| api_key: str, host: Optional[str] = None, gzip: bool = False, timeout: int = 15, **kwargs | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.