Commit Graph

5 Commits

Author SHA1 Message Date
Tom Carrio a18481c75e fix: running test suite with immutable hook hints
Signed-off-by: Tom Carrio <tom@carrio.dev>
2022-11-22 17:27:26 -05:00
Tom Carrio c1addb49e1 style: run isort formatter
Signed-off-by: Tom Carrio <tom@carrio.dev>
2022-11-07 22:34:04 -05:00
Tom Carrio 6d86aa1c24 style: applied black formatting
Signed-off-by: Tom Carrio <tom@carrio.dev>
2022-11-07 21:46:18 -05:00
Tom Carrio 63825b16cf test: add unit tests to assert hook_hints are called in hooks
Signed-off-by: Tom Carrio <tom@carrio.dev>
2022-11-07 21:46:18 -05:00
Andrew Helsby bc58cd8932
hooks: Implementation of hooks for python OpenFeature (#6)
* hooks: Implementation of hooks for python Open Feature

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Fix tests broken as a result of providing hook support

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add api level evaluation context support

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Change typing on iterables to be compatible with python 3.8

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add docstring for evaluate_flag_details method

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Add docstring for evaluate_flag_details method

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: docstring change requested in review

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: add docstrings and comments to

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Use correct exception in error hooks in the client

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

* hooks: Set empty evaluation context in no op provider to None

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
2022-09-02 12:23:15 +04:00