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

Some more typing for Request/Response classes #2205

Closed
wants to merge 2 commits into from

Conversation

davetapley
Copy link
Contributor

Summary of Changes

Just a few types.

Related Issues

#1820

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 99.94%. Comparing base (4910dd7) to head (b6f62c3).
Report is 43 commits behind head on master.

Files Patch % Lines
falcon/request.py 20.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##            master    #2205      +/-   ##
===========================================
- Coverage   100.00%   99.94%   -0.06%     
===========================================
  Files           62       62              
  Lines         6880     6887       +7     
  Branches      1099     1101       +2     
===========================================
+ Hits          6880     6883       +3     
- Misses           0        2       +2     
- Partials         0        2       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@CaselIT CaselIT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, sorry for the delay in the review. I've left some comment.

I can take it over if you prefer

@@ -454,6 +458,9 @@ class Request:
# Child classes may override this
context_type = structures.Context

if sys.version_info >= (3, 11):
stream: InputStream
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IO[bytest] imported from typing.

@vytas7
Copy link
Member

vytas7 commented Aug 23, 2024

Superseded by #2271. We will credit your work by Co-authored-by:.

@vytas7 vytas7 closed this Aug 23, 2024
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 this pull request may close these issues.

3 participants