mbeliaev/req types#537
Conversation
Codecov Report
@@ Coverage Diff @@
## master #537 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 2534 2561 +27
=========================================
+ Hits 2534 2561 +27
Continue to review full report at Codecov.
|
# Conflicts: # responses/__init__.py
|
@markstory also, can we ensure that #469 actually works and we do not get regression |
| def replace( | ||
| self, | ||
| method_or_response: Optional[Union[str, BaseResponse]] = None, | ||
| url: "Optional[Union[Pattern[str], str]]" = None, |
There was a problem hiding this comment.
Should we have type aliases for this and Optional[Union[str, BaseResponse]]? They are both used a few times.
There was a problem hiding this comment.
good idea, I added them
finalize inline types migration. Remove stub file and go with python 3 inline style
closes #552