Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
0.26.3
------

* Fixed the element type exposed by `CallList` so static type checkers infer
`Call` values when iterating, indexing, or filtering recorded calls. See #722
* Fixed `query_string_matcher` (and the query matching auto-applied to a
registered URL's own query string) discarding blank-valued query params
(``b=``), which caused requests with an extra or missing blank param to
Expand Down
2 changes: 1 addition & 1 deletion responses/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def wrapper(*args: Any, **kwargs: Any) -> Any: # type: ignore[misc]
return wrapper


class CallList(Sequence[Any], Sized):
class CallList(Sequence[Call], Sized):
def __init__(self) -> None:
self._calls: List[Call] = []

Expand Down
Loading