Skip to content

Commit f260820

Browse files
Update posthog/__init__.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 8160309 commit f260820

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

posthog/__init__.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,19 @@ def get_feature_flag_payload(
436436

437437

438438
def get_decrypted_feature_flag_payload(
439-
flag_id,
439+
flag_id, # type: str
440440
):
441+
"""Get the decrypted payload for a specific feature flag.
442+
443+
Args:
444+
flag_id: The unique identifier of the feature flag
445+
446+
Returns:
447+
The decrypted payload associated with the feature flag
448+
449+
Note:
450+
Requires personal_api_key to be set for authentication
451+
"""
441452
return _proxy(
442453
"get_decrypted_feature_flag_payload",
443454
flag_id=flag_id,

0 commit comments

Comments
 (0)