Add experimental Python bindings for crossflow workflows#190
Add experimental Python bindings for crossflow workflows#190ArizmendiWan wants to merge 4 commits intoopen-rmf:mainfrom
Conversation
79b7f0b to
77ad4fe
Compare
Signed-off-by: ArizmendiWan <2311602492@qq.com>
Signed-off-by: ArizmendiWan <2311602492@qq.com>
Signed-off-by: ArizmendiWan <2311602492@qq.com>
77ad4fe to
f80e4be
Compare
Signed-off-by: ArizmendiWan <2311602492@qq.com>
f80e4be to
8056382
Compare
|
Thanks for working on this ticket, @ArizmendiWan. I'm currently working on support for Python-script operations where the user puts Python code directly into their workflow diagram to be executed as node operations. There are handful of challenges that I'm still working out for this feature, including:
I think this PR will serve as a useful reference for how to make the diagram element registry accessible to Python, but I'd like to settle the above two points first. I expect to have that done in the next two weeks, or by the end of the month at worst. I think the outcome of those features will have a strong influence on this one, especially the buffer support for Python operations. |
|
Thanks for the context. That makes sense if buffer support and interpreter-environment design are still still being worked out. I’m happy to leave this PR up as reference material for now, or close it if you’d prefer to avoid overlap while that work is underway. |
This PR is an initial implementation for #189. It adds experimental Python bindings that allow a Python script to create a Crossflow executor, register Python callback nodes, inspect available metadata, and run JSON-defined workflows.
Current changes include:
crossflow-pythonPyO3 package exposing anExecutorAPImaturinand a small runnable exampleGenAI Use
Generated-by:
OpenAI Codex Version 26.313.41514 (1043)