'Set artifact name when using kfp dsl.importer
When importing an artifact using the kfp dsl.importer() function, the imported artifact gets the default (display) name artifact. I would like to give it a custom name to make the pipeline and lineage tracking more clear. I checked the documentation, but I can't seem to find a way to change the name of the artifact that the dsl.importer() function produces.
Example code dsl.importer():
load_dataset_step = dsl.importer(
artifact_uri=input_data_uri,
artifact_class=dsl.Dataset,
reimport=False
).set_display_name("Load Dataset")
Visualisation of the dsl.importer() step:
I'm making use of Google Cloud Vertex AI Pipelines.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

