684 incorrectly removed the @overload declarations for CallList.__getitem__ and responses.activate. The former was restored in #690, but the latter needs to be restored too, as shown by the example below.
test.py:10: error: Too few arguments [call-arg]
test.py:10: error: Incompatible types in assignment (expression has type "Callable[..., Any] | Any", variable has type "str") [assignment]
Found 2 errors in 1 file (checked 1 source file)
Describe the bug
684 incorrectly removed the
@overload
declarations forCallList.__getitem__
andresponses.activate
. The former was restored in #690, but the latter needs to be restored too, as shown by the example below.Additional context
No response
Version of
responses
0.24.0
Steps to Reproduce
Run mypy on this code:
Expected Result
Actual Result