kfp

How to test kfp components with pytest

How to test kfp components with pytest Question: I’m trying to local test a kubeflow component from kfp.v2.ds1 (which works on a pipeline) using pytest, but struggling with the input/output arguments together with fixtures. Here is a code example to illustrate the issue: First, I created a fixture to mock a dataset. This fixture is …

Total answers: 2