mara-example-project-1
mara-example-project-1 copied to clipboard
flask mara_pipelines.ui.run_interactively does not work
In the Readme.md it is written that I can use flask mara_pipelines.ui.run_interactively
.
This does not work:
Hi @hz-lschick.
Is this still a problem?
@martin-loetzsch Yes. tested it again with the current version and checked the code but could not find the source of the issue
@hz-lschick Can you just run flask
Sometimes it spits out a better error message...
@jankatins Hmm, don't know what you mean.
I can run 'flask mara_pilelines.ui.run --help' without any issue. How do I just call 'flask'?
Ah. A while ago Flask changed how the names of these cli commands get derived from function names. So
flask mara_pipelines.ui.run_interactively
became
mara_pipelines.ui.run-interactively
You can see all available cli commands by just running flask
@hz-lschick just flask
(or flask --help
-> that should usually show you any import problems, e.g. a missing import for the package which holds the command = no command shows. Or no command at all = missing spec for the app/app.py file).
But I just saw that there is a minus-vs-underscore issue in your screenshot: it should be mara_pipelines.ui.run-interactively
(minus in the last part, underscore in the earlier parts). Could it be that?
Yes, with flask mara_pipelines.ui.run-interactively
it works just fine. The Readme should be fixed here
flask
works as well as it should: