Conversation
|
Thank you for this! I'll have a look soon. |
|
Hey @aarcex3 - thank you again for this and apologies for the delayed response.
That sounds like a good idea. I'm also thinking whether it would be best for the
There are some tests for the |
I think we can try that |
|
I dunno what it should look like though. |
All good. I can have a look at that separately. It doesn't need to affect this PR. |
|
Hey @aarcex3 - let me know if there's anything I can help with on this one. Thank you! |
|
Hey, I thought you were gonna implement this yourself. I can try if you want though. |
|
I mean this.
|
If you want and can, go for it. 👍 |
|
Hey, I wont be able to work on this.
|
Summary
Added support for
aiohttpas api clientQuestion
Since the
aiohttp.ClientResponsehas different names for common attribute (status for status_code) and also they are async attributes (e.g response.json), maybe implement a generic Response and fill it up depending on the type of client?E.g here it will fail or give an error since aiohttp doesn't have a status_code attr, idem here for json.
Related Issue
#4
PD
I didn't implement tests since there aren't tests for the other clients