0.20.0
版本发布时间: 2022-09-16 17:30:49
lundberg/respx最新发布版本:0.20.2(2023-07-21 07:05:54)
0.20.0 (16th September 2022)
Changed
- Type
Router.__getitem__
to not return optional routes, thanks @flaeppe (#216) - Change
Call.response
to raise instead of returning optional response (#217) - Change
CallList.last
to raise instead of return optional call (#217) - Type
M()
to not return optional pattern, by introducing aNoop
pattern (#217) - Type
Route.pattern
to not be optional (#217)
Fixed
- Correct type hints for side effects (#217)
Added
- Runs
mypy
on both tests and respx (#217) - Added nox test session for python 3.11 (#217)
- Added
Call.has_response
helper, now that.response
raises (#217)