Update a pipeline config(s) in valohai.yaml based on Python source file(s).
Python source file is expected to have def main(config: Config) -> Pipeline
Example:
vh yaml pipeline mypipeline.py
:param filenames: Path(s) of the Python source code files.
Usage
Usage: vh yaml pipeline [OPTIONS] FILENAMES...
Options
yaml
:- Type: STRING
- Default:
none
- Usage:
vh yaml pipeline --yaml
Path to the YAML file to update.
filenames
(REQUIRED):- Type:
- Default:
none
-
Usage:
vh yaml pipeline filenames
-
help
: - Type: BOOL
- Default:
false
- Usage:
vh yaml pipeline --help
Show this message and exit.
CLI Help
Usage: pipeline [OPTIONS] FILENAMES...
Update a pipeline config(s) in valohai.yaml based on Python source file(s).
Python source file is expected to have def main(config: Config) -> Pipeline
Example:
vh yaml pipeline mypipeline.py
:param filenames: Path(s) of the Python source code files.
Options:
--yaml TEXT Path to the YAML file to update.
--help Show this message and exit.