Skip to content
New issue

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

abort typing doesn't accept Response as a valid parameter #200

Open
touilleMan opened this issue Oct 25, 2022 · 0 comments · May be fixed by #201
Open

abort typing doesn't accept Response as a valid parameter #200

touilleMan opened this issue Oct 25, 2022 · 0 comments · May be fixed by #201

Comments

@touilleMan
Copy link
Contributor

def abort(code: int, *args: Any, **kwargs: Any) -> NoReturn: # type: ignore[misc]

Passing a Response object to abort is valid, the typing should be corrected here

Environment:

  • Python version: N/A
  • Quart version: 0.18.3
@touilleMan touilleMan linked a pull request Oct 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant