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

JSON Serialization + Prefab Pipelines #34

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

martintb
Copy link
Collaborator

@martintb martintb commented Mar 8, 2025

This PR brings the ability to serialize Pipelines and PipelineOps directly to JSON files, removing the problematic pickle dependency. With this ability to properly store these pipelines, we can also now store and serve pre-made (prefabricated) pipelines. This greatly increases usability for users of all skills because you don't have to start from scratch for each pipeline.

martintb added 8 commits March 4, 2025 19:45
- New _stored_args hidden attribute gathers the passed arguments at runtime
- Modifications to this argument dictionary are transparent to the user and happen automatically
- _stored_args used to create json reprsentations of PipelineOps and json serialization trivially created by iterating Pipeline
- print_code also updated to use _stored_args
@martintb
Copy link
Collaborator Author

martintb commented Mar 8, 2025

This resolves #32

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.

1 participant