Skip to content

Commit

Permalink
Updated Common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashS0510 committed Aug 7, 2024
1 parent 07b989a commit d32470d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tirith/providers/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def create_result_dict(value=None, meta=None, err=None) -> Dict:
return dict(value=value, meta=meta, err=err)


def get_path_value_from_dict(key_path, input_dict,get_path_value_from_dict_func):
def get_path_value_from_dict(key_path: str, input_dict: dict, get_path_value_from_dict_func):
splitted_attribute = key_path.split(".*.")
return get_path_value_from_dict_func(splitted_attribute, input_dict)

Expand Down

0 comments on commit d32470d

Please sign in to comment.