oapi-sdk-python icon indicating copy to clipboard operation
oapi-sdk-python copied to clipboard

Response does not close after use

Open Zoupers opened this issue 10 months ago • 0 comments

https://github.com/larksuite/oapi-sdk-python/blob/4274991a0c112f5b8e5d99d798e3bcd5b2b748e3/src/larksuiteoapi/api/request/request.py#L280-L300

As above, there should have a corresponding close call at https://github.com/larksuite/oapi-sdk-python/blob/4274991a0c112f5b8e5d99d798e3bcd5b2b748e3/src/larksuiteoapi/api/request/request.py#L291.

This bug would cause exception if we have many requests in a short range of time.

Zoupers avatar Apr 18 '24 06:04 Zoupers