ac4a2c66b46bfbefdb5247506ec8046f40576cf3,rhea/manager.py,Rhea,get_dict,#Rhea#Any#Any#Any#Any#Any#Any#Any#,231
Before Change
raise RheaError("Cannot convert value `{}` (key: `{}`) to `dict`".format(x, key))
return x
if is_list:
return self._get_typed_list_value(key=key,
target_type=Mapping,
type_convert=convert_to_dict,
is_optional=is_optional,
is_secret=is_secret,
is_local=is_local,
default=default,
options=options)
value = self._get_typed_value(key=key,
target_type=Mapping,
type_convert=convert_to_dict,
is_optional=is_optional,
is_secret=is_secret,
is_local=is_local,
default=default,
options=options)
if not value:
return default
After Change
`str`: value corresponding to the key.
return self._get(key=key,
parser_fct=parser.get_dict,
is_list=is_list,
is_optional=is_optional,
is_secret=is_secret,
is_local=is_local,
default=default,
options=options)
def get_dict_of_dicts(self,
key,
is_optional=False,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: polyaxon/polyaxon
Commit Name: ac4a2c66b46bfbefdb5247506ec8046f40576cf3
Time: 2019-05-26
Author: mouradmourafiq@gmail.com
File Name: rhea/manager.py
Class Name: Rhea
Method Name: get_dict
Project Name: analysiscenter/batchflow
Commit Name: c59fdeccbf596da0849d0d9aadc19bb98d13c9e5
Time: 2019-10-28
Author: a.kozhevin@analysiscenter.org
File Name: batchflow/research/named_expr.py
Class Name: ResearchResults
Method Name: get
Project Name: polyaxon/polyaxon
Commit Name: ac4a2c66b46bfbefdb5247506ec8046f40576cf3
Time: 2019-05-26
Author: mouradmourafiq@gmail.com
File Name: rhea/manager.py
Class Name: Rhea
Method Name: get_dict_of_dicts