Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upexample in docs for grouping has no output #240
Comments
|
Can you provide an example of a failing command? (Edit: Sorry, you did. I just missed it.) If you run
you should see
Is that not working for you, or is it something else? |
|
Oh, is it That command doesn't output anything, because it neither prints nor returns anything. We should update the docs so that it does something... Edit: Yes, I see you did say that was your issue. Hope I've cleared it up now. Sorry for the misleading docs. |
|
@dbieber Thanks for the quick response! So calling |
|
It does. Both ingestion.run() and digestion.run() both get called (because Pipeline().run() is called). Just nothing is displayed, since Pipeline().run() doesn't return anything (and nothing prints along the way). If Pipeline().run() returned something, it would be displayed. |
|
Ahh, okay I missed that those classes are returning and not printing - my bad - yep that makes sense. Modified the example to just print and its working - derp on my part:
|
Hello, following the docs here: https://github.com/google/python-fire/blob/master/docs/guide.md#grouping-commands
I am unable to get this to run when calling
It currently returns no output.
If I run either of the
digestion runoringestion runcommands they work flawlessly just not the grouped commandHeres the code: