Path to this page:
Subject: CVS commit: pkgsrc/www/py-respx
From: Adam Ciarcinski
Date: 2022-10-21 14:29:32
Message id: 20221021122932.B6C7AFA90@cvs.NetBSD.org
Log Message:
py-respx: updated to 0.20.0
0.20.0
Changed
- Type Router.__getitem__ to not return optional routes
- Change `Call.response` to raise instead of returning optional response
- Change `CallList.last` to raise instead of return optional call
- Type `M()` to not return optional pattern, by introducing a `Noop` pattern
- Type `Route.pattern` to not be optional
Fixed
- Correct type hints for side effects
Added
- Runs `mypy` on both tests and respx
- Added nox test session for python 3.11
- Added `Call.has_response` helper, now that `.response` raises
Files: