`abort` typing doesn't accept Response as a valid parameter
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 206
- PR merge metrics
- No merged PRs in 30d
Description
Passing a Response object to abort is valid, the typing should be corrected here
Environment:
- Python version: N/A
- Quart version: 0.18.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/quart/helpers.py around line 392 and inspect the abort parameter annotation and nearby type definitions. Confirm that passing a Response is supported at runtime, then update the typing so Response is accepted and verify the relevant type-checking or test checks available in the repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100