performance_store_dict
- performance_store_dict(performance_file, key, s, indent=2, mode='a')[source]
Store dictionary in a file using json
- Parameters:
performance_file – The (JSON) file to which the environment is to be written
key – Key to use for the configuration info e.g. “restored”
s – dictionary to be written
indent – Number of characters indent in performance file
mode – Writing mode: ‘w’ or ‘a’ for write and append