Skip to content

Commit

Permalink
fix: object client methods can receive dict or list as default_value
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobond committed Jul 2, 2023
1 parent d31b531 commit 1b8a336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions open_feature/open_feature_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def get_float_details(
def get_object_value(
self,
flag_key: str,
default_value: dict,
default_value: typing.Union[dict, list],
evaluation_context: typing.Optional[EvaluationContext] = None,
flag_evaluation_options: typing.Optional[FlagEvaluationOptions] = None,
) -> dict:
Expand All @@ -197,7 +197,7 @@ def get_object_value(
def get_object_details(
self,
flag_key: str,
default_value: dict,
default_value: typing.Union[dict, list],
evaluation_context: typing.Optional[EvaluationContext] = None,
flag_evaluation_options: typing.Optional[FlagEvaluationOptions] = None,
) -> FlagEvaluationDetails:
Expand Down

0 comments on commit 1b8a336

Please sign in to comment.