[sdk] Cannot pass a GCSPath output as an input to a python function component yaml spec #8936
Labels
area/sdk
kind/bug
lifecycle/stale
The issue / pull request is stale, any activities remove this label.
Environment
Steps to reproduce
I have a Docker container component with the following yaml specification:
and a python function component with the following definition:
These two components are linked in a pipeline as follows:
Expected result
The above code works fine if I call the Python-function component directly, however if I compile it to a yaml file using
create_component_from_func
I get the following error:TypeError: Input "model_path" with type "Artifact" cannot be paired with InputValuePlaceholder
I have tried in replace of the above type annotations:
Every possible combination has failed to work and I don't seem to be able to pass the training component GCSPath output to the next component. How is it possible to do this?
Unfortunately I need to rely on this component being saved as yaml so it can be used in another repo and so cannot simply import as a function.
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: