Closed deyjoy closed 4 months ago
Thanks for the PR, @deyjoy. Typing for Requests is already available in typeshed as stubs. We likely won't be adding inline typing to Requests in the near future.
Thank you for the update, @nateprewitt. I understand that inline typing won't be added as typings are already available in typeshed stubs. I appreciate the feedback and the chance to contribute. I will look for other areas where I can assist. If there are any specific needs or suggestions, please let me know. Thanks again for the opportunity!
Summary
This pull request adds type hints to the
models.py
file in therequests
library. The goal is to improve code readability and maintainability by specifying the expected types for function arguments and return values.Changes
models.py
.Checklist
Testing
All existing tests were run to ensure that adding type hints did not introduce any breaking changes. The test results are as follows:
Warnings
The following warnings were noted during testing:
These warnings do not impact the functionality of this PR but should be addressed in future updates.