mystic-ai / pipeline

Pipeline is an open source python SDK for building AI/ML workflows
https://www.mystic.ai
Apache License 2.0
117 stars 21 forks source link

`Run` is imported from `pipeline.cloud.schemas.runs` when it does not exist #456

Open hakujitsu opened 1 month ago

hakujitsu commented 1 month ago

Version: 2.1.6 Encountered the following error when importing the run_pipeline method from pipeline.cloud.asyncio.pipelines

File "/Users/hakujitsu/Code/imgen/packages/imgen/.venv/lib/python3.10/site-packages/pipeline/cloud/asyncio/pipelines.py", line 7, in <module>
    from pipeline.cloud.schemas.runs import Run, RunCreate, RunState
ImportError: cannot import name 'Run' from 'pipeline.cloud.schemas.runs' (/Users/hakujitsu/Code/imgen/packages/imgen/.venv/lib/python3.10/site-packages/pipeline/cloud/schemas/runs.py)

Tracing through the code in the repo, I believe that Run does not exist in pipeline.cloud.schemas.runs, and has since been replaced by ClusterRunResult.