dantro.data_loaders.load_yaml module¶
Supplies loading functions for YAML files
-
class
dantro.data_loaders.load_yaml.YamlLoaderMixin[source]¶ Bases:
objectSupplies functionality to load yaml files in the data manager
-
_load_yaml(*args, **kwargs)¶ Load a yaml file from the given path and creates a container to store that data in.
- Parameters
filepath (str) – Where to load the yaml file from
TargetCls (type) – The class constructor
- Returns
The loaded yaml file as a container
- Return type
-
_load_yaml_to_object(*args, **kwargs)¶ Load a yaml file from the given path and creates a container to store that data in.
- Parameters
filepath (str) – Where to load the yaml file from
TargetCls (type) – The class constructor
- Returns
The loaded yaml file as a container
- Return type
-
_load_yml(*args, **kwargs)¶ Load a yaml file from the given path and creates a container to store that data in.
- Parameters
filepath (str) – Where to load the yaml file from
TargetCls (type) – The class constructor
- Returns
The loaded yaml file as a container
- Return type
-
_load_yml_to_object(*args, **kwargs)¶ Load a yaml file from the given path and creates a container to store that data in.
- Parameters
filepath (str) – Where to load the yaml file from
TargetCls (type) – The class constructor
- Returns
The loaded yaml file as a container
- Return type
-