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
async def handle_generate_draft_request(application_id: UUID) -> HTTPResponse:
If i do not declare a request parameter in the route handler, the server throws 500.
request
This works:
async def handle_generate_draft_request(request: Request, application_id: UUID) -> HTTPResponse:
As does this:
async def handle_generate_draft_request(_, application_id: UUID) -> HTTPResponse:
async def handle_generate_draft_request(application_id: UUID) -> HTTPResponse: pass
I am able to not declare the request object. Inspection should suffice to determine this.
Sanic CLI
Linux
latest
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Describe the bug
If i do not declare a
request
parameter in the route handler, the server throws 500.This works:
As does this:
Code snippet
async def handle_generate_draft_request(application_id: UUID) -> HTTPResponse:
pass
Expected Behavior
I am able to not declare the request object. Inspection should suffice to determine this.
How do you run Sanic?
Sanic CLI
Operating System
Linux
Sanic Version
latest
Additional context
No response
The text was updated successfully, but these errors were encountered: