1 year ago

#381145

test-img

Jérémy

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:

pipelines visualisation

I'm making use of Google Cloud Vertex AI Pipelines.

python

kubeflow

kubeflow-pipelines

google-cloud-vertex-ai

0 Answers

Your Answer

Accepted video resources