pipeline: make them "exportable"
Add a new `export` property to the `Pipeline` object that indicates whether a the result, i.e. the tree after the pipelines has been built, should be exported, i.e. copied to the output directory. In the current format (v1), the main pipeline, gets marked as such by the corresponding loader.
This commit is contained in:
parent
42dd3c1e2d
commit
88acd7bb00
2 changed files with 3 additions and 1 deletions
|
|
@ -76,6 +76,7 @@ def load_pipeline(description: Dict, index: Index, manifest: Manifest) -> Pipeli
|
|||
asm.inputs = {
|
||||
"tree": Input(info, {"pipeline": {"id": pipeline.tree_id}})
|
||||
}
|
||||
pipeline.export = True
|
||||
|
||||
return pipeline
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue