Skip to content

Provide bindings that allow workflows to be executed from inside a Python script #189

Description

@mxgrey

We're currently working on allowing users to run Python scripts as node operations, but with pyo3 bindings it should be feasible to do the reverse as well: Have a Python script run a crossflow executor and send requests to run workflows.

One way this could work is to providing Python bindings for the DiagramElementRegistry so users can populate the registry with Python-based node builders, perhaps even section builders. Then they could pass in a JSON diagram to build into a workflow, and then send requests for that workflow.

With this it would be possible for the main application logic to be written in Python, and then crossflow can be used by the Python application to execute workflow requests as needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions