PipelineComponent Class
Pipeline component, currently used to store components in an azure.ai.ml.dsl.pipeline.
Constructor
PipelineComponent(*, name: str | None = None, version: str | None = None, description: str | None = None, tags: Dict | None = None, display_name: str | None = None, inputs: Dict | None = None, outputs: Dict | None = None, jobs: Dict[str, BaseNode] | None = None, is_deterministic: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
name
|
Name of the component. Default value: None
|
|
version
|
Version of the component. Default value: None
|
|
description
|
Description of the component. Default value: None
|
|
tags
|
Tag dictionary. Tags can be added, removed, and updated. Default value: None
|
|
display_name
|
Display name of the component. Default value: None
|
|
inputs
|
Component inputs. Default value: None
|
|
outputs
|
Component outputs. Default value: None
|
|
jobs
|
Id to components dict inside the pipeline definition. Default value: None
|
|
is_deterministic
|
Whether the pipeline component is deterministic. Default value: None
|
Methods
| dump |
Dump the component content into a file in yaml format. |
dump
Dump the component content into a file in yaml format.
dump(dest: str | PathLike | IO, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
dest
Required
|
The destination to receive this component's content. Must be either a path to a local file, or an already-open file stream. If dest is a file path, a new file will be created, and an exception is raised if the file exists. If dest is an open file, the file will be written to directly, and an exception will be raised if the file is not writable. |
Attributes
base_path
creation_context
The creation context of the resource.
Returns
| Type | Description |
|---|---|
|
The creation metadata for the resource. |
display_name
id
inputs
is_deterministic
Whether the component is deterministic.
Returns
| Type | Description |
|---|---|
|
Whether the component is deterministic |