metadata_manager
Metadata Management Classes and Functions
Classes
Class | Doc |
---|---|
PyAutogitMetadataManager | Helper class for managing inter-use metadata for pyautogit |
PyAutogitMetadataManager
class PyAutogitMetadataManager
Helper class for managing inter-use metadata for pyautogit
Attributes
Attribute | Type | Doc |
---|---|---|
manager | PyAutogitManager | The top level program manager object |
first_time | bool | Flag that tells metadata manager if metadata exists |
Methods
Method | Doc |
---|---|
write_metadata | Writes metadata file with cached settings |
apply_metadata | Applies metadata from cached settings |
read_metadata | Converts metadata json file to python dict |
init
def __init__(self, manager)
Constructor for PyAutogitMetadataManager
write_metadata
def write_metadata(self)
Writes metadata file with cached settings
apply_metadata
def apply_metadata(self, metadata)
Applies metadata from cached settings
Parameters
Parameter | Type | Doc |
---|---|---|
metadata | dict | Metadata parsed from json to python dict. |
read_metadata
def read_metadata(self)
Converts metadata json file to python dict
Returns
Return Variable | Type | Doc |
---|---|---|
metadata | dict | metadata dictionary |