lightning_template.utils.cli.argument_parsers.yaml_with_merge#
Module Contents#
Classes#
Functions#
|
A context manager for running code in the directory of a path. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.current_path_dir: contextvars.ContextVar[str | None]#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.change_to_path_dir(path: jsonargparse.Path | None) Iterator[str | None]#
A context manager for running code in the directory of a path.
- class lightning_template.utils.cli.argument_parsers.yaml_with_merge.DefaultLoader(stream)#
Bases:
getattr(yaml,'CSafeLoader',yaml.SafeLoader)
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.remove_implicit_resolver(cls, tag_to_remove)#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.yaml_load(stream)#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.get_cfg_from_path(cfg_path)#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.parse_config(cfg_file, cfg_path=None, **kwargs)#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.parse_path(cfg_path, seen_cfg=None, **kwargs)#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.parse_str(cfg_str, cfg_path=None, seen_cfg=None, **kwargs)#
- lightning_template.utils.cli.argument_parsers.yaml_with_merge.yaml_with_merge_load(stream, path=None, ext_vars=None)#