You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Romain Dorgueil edited this page Oct 28, 2017
·
2 revisions
Status:
draft
There currently can be a lot of problems related to python packaging and imports, due to the fact that we do not guide the users through the journey of creating a regular python package.
Directions
Be as similar as possible as python standard behaviours.
The tutorial should be more explicit, and more step by step
first steps should use only one file, with a warning that says that you can't have local imports
more advanced steps should guide the user through the journey of creating a python package, OR integrating this file to its own python package.
TLDR: User is told to use __main__ block in its file if he wanna run the transformations. Everything is explicit, and as a "nice random behaviour", all commands work this exact same way.
Changes
No detection of graph object anymore.
bonobo run/runc/inspect/... would temporarily substitute the bonobo.run callable with something that use their own logic, and the graph used will be the one passed to bonobo.run(...).