-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
apiThis has to do with the Python API (view)This has to do with the Python API (view)featureNew featureNew featuregood first issueAn issue that isn't necessarily easy to implement, but not required to be an expert in view.pyAn issue that isn't necessarily easy to implement, but not required to be an expert in view.py
Milestone
Description
Feature description
View needs a simple way to return a redirect to the user. For example, FastAPI has RedirectResponse
.
Feature example API
from view import new_app, redirect
app = new_app()
@app.get("/index")
def index():
return redirect("/")
app.run()
Anything else?
No response
Metadata
Metadata
Assignees
Labels
apiThis has to do with the Python API (view)This has to do with the Python API (view)featureNew featureNew featuregood first issueAn issue that isn't necessarily easy to implement, but not required to be an expert in view.pyAn issue that isn't necessarily easy to implement, but not required to be an expert in view.py