valohai / valohai-utils

Python helper library for Valohai
MIT License
2 stars 2 forks source link

Add support for defining pipelines via papi integration (fixes #26) #40

Closed JuhaKiili closed 3 years ago

JuhaKiili commented 3 years ago

Integrating valohai-papi into valohai-utils.

Technically we could integrate valohai-papi directly into valohai-cli, but I feel like all the Python to YAML shenanigans should live in the valohai-utils. As a bonus, the user now needs to import from one place only (import valohai).

The integration happens through single method get_pipeline_from_source() and the rest of the PR is testing.