I just came across an error (or expected behavior?):
I have the Fuction with the docstring
def mocked_requests_get(*args: str, **kwargs: str) -> Response:
"""Mock the expected Response from the API based on the received url via args.
Returns
-------
Response
response object
"""
Hi,
I just came across an error (or expected behavior?):
I have the Fuction with the docstring
which leads to the Error:
Not sure if this should be the case usually I would not annotate args/kwargs as they are no specific function arguments. Or is my notion wrong here?
We are using numpy type docstrings in case this is relevant. Happy to provide more info if I forgot anything relevant.