This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Tags: Eppo-exp/python-sdk
Tags
FF-3150 feat: allow passing initial_configuration (#70) * FF-3150 feat: allow passing initial_configuration * FF-3150 feat: make configuration store track initialization * FF-3150 feat: allow disabling the poller * feat: re-export Configuration from eppo_client * FF-3150 docs: update documentation for initialization options * chore: bump version * FF-3150 feat: add a method to update configuration of the running client * check for None or 0 --------- Co-authored-by: Leo Romanovsky <[email protected]>
FF-3143 feat: add caching logger for assignment and bandit events (#68) * refactor: remove unnecessary evaluation checks BanditEvaluator.evaluate_bandit() always returns a result, so `is None` checks were unnecessary. Furthermore, `evaluation` fields are accessed without this guard a couple of lines below. * refactor: make AssignmentLogger to not be a pydantic model There is no reason for AssignmentLogger to be a pydantic model because it's not a model at all (it's behavior, not data). Remove inheritance from the base model for AssignmentLogger and allow arbitrary types on Config instead. Also exclude assignment_logger from pydantic serialization. This refactor makes it easier to work with AssignmentLogger. Especially when mocking it, as pydantic models are not easily mockable. * feat: add assignment cache logger * docs: add documentation for de-duplicating assignment and bandit actions * chore: move cachetools from hard to test requirements * chore: bump version * refactor: spell out mk as make
Cast provided categorical attributes to strings. Still log and return… … variation if no actions (#59) * Return the default value for a bandit flag if no actions. Cast provided categorical attributes to strings. * Formatting * update for revisted zero-action strategy * return variation if that has been computed * changes from self-review of PR * test for bandit logger error * fix flake8 lintint errors * black formatter * return type ignore hint * fix type hint * feedback from PR * update type in comment per PR suggestion --------- Co-authored-by: Aaron Silverman <[email protected]>
feat: [default polling to 10 seconds from 5 minutes; add configurable… … value] (FF-2686) (#60) * feat: [default polling to 10 seconds from 5 minutes; add configurable value] (FF-2686) * leave default at 5 min; add comment for breaking change in future * add config for jitter * tox
PreviousNext