change_type#
- eoio.utils.dict_tools.change_type(test_dict) None[source]#
Convert value types from str to other recognised types in dictionary.
Recognised types include:
int
float
list
- datetime objects (valid string formats specified at links below)
https://docs.python.org/3/library/datetime.html#datetime.datetime.fromisoformat https://docs.python.org/3/library/datetime.html#datetime.time.fromisoformat
Uses eoio.utils.formatters.val_format to convert values
- Parameters:
test_dict – dictionary with values to changes