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 7217110 commit 513f61aCopy full SHA for 513f61a
src/amplitude_experiment/local/client.py
@@ -9,6 +9,7 @@
9
from .poller import Poller
10
from .evaluation.evaluation import evaluate
11
from ..variant import Variant
12
+from ..version import __version__
13
14
15
class LocalEvaluationClient:
@@ -78,7 +79,8 @@ def __do_rules(self):
78
79
conn = self._connection_pool.acquire()
80
headers = {
81
'Authorization': f"Api-Key {self.api_key}",
- 'Content-Type': 'application/json;charset=utf-8'
82
+ 'Content-Type': 'application/json;charset=utf-8',
83
+ 'X-Amp-Exp-Library': f"experiment-python-server/{__version__}"
84
}
85
body = None
86
self.logger.debug('[Experiment] Get flag configs')
0 commit comments