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

Make workflows and operations JSON serializable #26

Open
ihumphrey opened this issue Sep 4, 2020 · 0 comments
Open

Make workflows and operations JSON serializable #26

ihumphrey opened this issue Sep 4, 2020 · 0 comments
Assignees

Comments

@ihumphrey
Copy link
Contributor

ihumphrey commented Sep 4, 2020

Modify the __reduce__ methods of Operation and Workflow as shown below. Use json.dumps

OperationPlugin

  • don't serialize func
  • return name reference to operation plugin class (via entrypoint name)

Workflow

  • parse through the inbound and outbound links
  • replace operation obj refs with keys (ints) that can map back to operations in the workflow
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

No branches or pull requests

2 participants