We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Embeding the generated dash app as a route of flask server.
# demo_flask_integrate.py from flask import Flask from oneface.dash_app import flask_route from oneface.core import one server = Flask("test_dash_app") @flask_route(server, "/add") @one def add(a: int, b: int) -> int: return a + b @flask_route(server, "/mul") @one def mul(a: int, b: int) -> int: return a * b server.run("127.0.0.1", 8088)
Run this will launch a flask server support run multiple dash app from different route.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Embeding the generated dash app as a route of flask server.
Run this will launch a flask server support run multiple dash app from different route.
References:
The text was updated successfully, but these errors were encountered: