Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: [VRD-894] New classes for PipelineStep, PipelineGraph, and RegisteredPipeline #4020

Merged
merged 125 commits into from
Aug 30, 2023

Conversation

ewagner-verta
Copy link
Contributor

@ewagner-verta ewagner-verta commented Aug 17, 2023

Impact and Context

All new functionality. This PR provides the base set of classes needed for working with Pipelines.

Public Docs Rendered

PipelineStep

image

PipelineGraph

image

RegisteredPipeline

image

Risks and Area of Effect

Low risk, as this does not change any existing functionality and does not yet add the Client class tools that will use these classes.

Testing

  • Unit test
  • Deployed to dev env
  • Other (explain)

Reverting

  • Contains Migration - Do Not Revert

@github-actions
Copy link

Common Code Coverage

Overall Project 15.14% 🍏

There is no coverage information present for the Files changed

@github-actions
Copy link

github-actions bot commented Aug 17, 2023

Backend Code Coverage

Overall Project 61.32% 🍏

There is no coverage information present for the Files changed

Copy link
Contributor

@liuverta liuverta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will check on tests later today

client/verta/tests/conftest.py Outdated Show resolved Hide resolved
client/verta/tests/unit_tests/conftest.py Show resolved Hide resolved
client/verta/tests/unit_tests/conftest.py Outdated Show resolved Hide resolved
client/verta/tests/unit_tests/conftest.py Show resolved Hide resolved
client/verta/tests/unit_tests/conftest.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_registered_pipeline.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_registered_pipeline.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_registered_pipeline.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_registered_pipeline.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_registered_pipeline.py Outdated Show resolved Hide resolved
client/verta/tests/unit_tests/conftest.py Outdated Show resolved Hide resolved
client/verta/tests/unit_tests/conftest.py Outdated Show resolved Hide resolved
client/verta/tests/unit_tests/conftest.py Outdated Show resolved Hide resolved
ewagner-verta and others added 25 commits August 22, 2023 10:43
client/verta/verta/pipeline/_pipeline_graph.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_pipeline_graph.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_pipeline_step.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_registered_pipeline.py Outdated Show resolved Hide resolved
client/verta/verta/pipeline/_pipeline_graph.py Outdated Show resolved Hide resolved
registered_model_version
)
self._predecessors = self.set_predecessors(predecessors)
self._registered_model: RegisteredModel = self._get_registered_model()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self._registered_model_version = self.set_registered_model_version(
    registered_model_version
)

already sets self._registered_model. So we're fetching the RM twice during __init__() (which also results in two got existing RegisteredModel print statements) which may be a little janky. But we can address this later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing this won't be a huge deal, but may be best left to another ticket

ewagner-verta and others added 15 commits August 29, 2023 20:44
@ewagner-verta ewagner-verta merged commit ec9ac77 into main Aug 30, 2023
1 check passed
@ewagner-verta ewagner-verta deleted the VRD-894_pipelines_CRUD branch August 30, 2023 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants