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 5d0bae1 commit 71489a6Copy full SHA for 71489a6
posthog/client.py
@@ -2,6 +2,7 @@
2
import logging
3
import os
4
import sys
5
+import warnings
6
from datetime import datetime, timedelta
7
from typing import Any, Dict, Optional, Union
8
from typing_extensions import Unpack
@@ -1827,6 +1828,12 @@ def get_feature_flag_payload(
1827
1828
Category:
1829
Feature flags
1830
"""
1831
+ warnings.warn(
1832
+ "get_feature_flag_payload is deprecated and will be removed in a future version. "
1833
+ "Please use get_feature_flag_result instead.",
1834
+ DeprecationWarning,
1835
+ stacklevel=2,
1836
+ )
1837
feature_flag_result = self._get_feature_flag_result(
1838
key,
1839
distinct_id,
0 commit comments