-
Notifications
You must be signed in to change notification settings - Fork 65
feat(pyo3): implement flow spec pretty print and add verbose mode #442
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful! Thanks a lot!
Thanks for all the reviews from @badmonster0. We made a lot of changes since my first comment, so I will try to give a whole summary of them here.
So now this is what
![]() |
Following #427 and #404, this PR implements the flow spec pretty print in Rust and adds
--verbose
mode to enable more detailed output.Changes on Rust side
Display
trait.Changes on Python side
get_spec
from Rust side.rich.Tree
instead ofrich.Console
for clearer readability.Preview
python main.py cocoindex show DocsToKG
After adding
--verbose
flag, it will then produce a more detailed output with full operation specs, including all fields and JSON-like formatting, similar to preview in #404.Resolves #410.