module myna.core.workflow.load_input
function validate_required_input_keys
validate_required_input_keys(settings)
Validates the settings dictionary to ensure it has the necessary keys for a Myna input dictionary
Args:
settings: (dict) input settings
Returns: (dict) validated input settings
function get_validated_input_filetype
get_validated_input_filetype(filename)
Returns the validate input filetype ("yaml" or "json") and throws an error if the input type is not valid.
Args:
filename: (str) the name or path of the input file
function is_yaml_type
is_yaml_type(filetype)
Boolean of if file_type if Myna-accepted YAML format
function is_json_type
is_json_type(filetype)
Boolean of if file_type if Myna-accepted JSON format
function load_input
load_input(filename)
Load input file into dictionary
Args:
filename: path to input file (str) to load
Returns:
settings: dictionary of input file settings
function write_input
write_input(settings, filename)
Write Myna input dictionary to file
Args:
settings: (dict) Myna input dictionaryfilename: (str) path to file to write
This file was automatically generated via lazydocs.