| |
- data_added(key: Any, value: Any, data: Dict[str, Any] = None) -> Iterator[Dict[str, Any]]
- Inject a key-value pair into a dictionary, in a context.
- load_dir(path: Union[pathlib.Path, str, NoneType], existing_data: Dict[str, Any], variables: Dict[str, Any] = None, loads: datazen.load.LoadedFiles = LoadedFiles(files=None, file_data=None), expect_overwrite: bool = False, are_templates: bool = True, logger: logging.Logger = <Logger datazen.load (WARNING)>) -> vcorelib.io.types.LoadResult
- Load a directory tree into a dictionary, optionally meld.
- load_dir_only(path: Union[pathlib.Path, str, NoneType], expect_overwrite: bool = False, are_templates: bool = True, logger: logging.Logger = <Logger datazen.load (WARNING)>) -> vcorelib.io.types.LoadResult
- A convenient wrapper for loading just directory data from a path without
worrying about melding data, resolving variables, enforcing schemas, etc.
- load_files(file_paths: List[Union[pathlib.Path, str, NoneType]], root: str, meld_data: Tuple[Dict[str, Any], Dict[str, Any], bool], hashes: Dict[str, Dict[str, Any]] = None, expect_overwrite: bool = False, are_templates: bool = True) -> Tuple[List[str], int]
- Load files into a dictionary and return a list of the files that are
new or had hash mismatches.
- meld_and_resolve(path: Union[pathlib.Path, str, NoneType], existing_data: Dict[str, Any], variables: Dict[str, Any], globals_added: bool = False, expect_overwrite: bool = False, is_template: bool = True, **kwargs) -> bool
- Meld dictionary data from a file into an existing dictionary, assume
existing data is a template and attempt to resolve variables.
|