github lundberg/respx 0.20.0
Version 0.20.0

latest releases: 0.21.1, 0.21.0, 0.20.2...
2 years ago

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 a Noop 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)

Don't miss a new respx release

NewReleases is sending notifications on new releases.