* fix/flag-error-message: Move flag evaluation details to a dataclass and add error message to the class
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
* fix/flag-error-message: Rename flag_key in FlagEvaluationDetails to match spec
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
* fix/flag-error-message: Rename flag_key in provider.py to match spec
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
* fix/flag-error-message: Rename flag_key in open_feature_client.py
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
* fix/flag-error-message: Rename flag_key in open_feature_client.py
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
* fix/flag-error-message: handle error_message doesn't exist exception
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
* 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>