payload is type dict
Closed this issue · 1 comments
shaytelnyx commented
The 'payload' attribute is type 'Dict'. The response from a REST API is not a Dict, it is a JSON object. JSON != Dict. For example, a list such as the empty list '[]' is a valid JSON response body, which would not work with aioresponses. Please remove this type constraint
shaytelnyx commented
nvm it works with lists my bad