Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/amplitude_experiment/local/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from .poller import Poller
from .evaluation.evaluation import evaluate
from ..variant import Variant
from ..version import __version__


class LocalEvaluationClient:
Expand Down Expand Up @@ -78,7 +79,8 @@ def __do_rules(self):
conn = self._connection_pool.acquire()
headers = {
'Authorization': f"Api-Key {self.api_key}",
'Content-Type': 'application/json;charset=utf-8'
'Content-Type': 'application/json;charset=utf-8',
'X-Amp-Exp-Library': f"experiment-python-server/{__version__}"
}
body = None
self.logger.debug('[Experiment] Get flag configs')
Expand Down