omniloader.templates

Packaged configuration templates shipped with OmniLoader.

The annotated config_template.yaml lists every option OmniConfig understands, with defaults and inline guidance. Locate it programmatically with config_template_path() (e.g. to copy it as a starting point for a new experiment).

Attributes

Functions

config_template_path(→ pathlib.Path)

Return the filesystem path to the annotated config_template.yaml.

Package Contents

omniloader.templates.CONFIG_TEMPLATE = 'config_template.yaml'
omniloader.templates.config_template_path() → pathlib.Path[source]

Return the filesystem path to the annotated config_template.yaml.

The template ships as package data, so this resolves it wherever OmniLoader is installed (source tree or wheel).

Returns:

The path to the annotated config template.