mirror of
https://github.com/arabianq/yndx-disk.git
synced 2026-04-28 06:31:23 +00:00
remove __del__() from AsyncDiskClient
This commit is contained in:
@@ -84,9 +84,6 @@ class AsyncDiskClient:
|
|||||||
loop = asyncio.new_event_loop()
|
loop = asyncio.new_event_loop()
|
||||||
loop.run_until_complete(self.session.close())
|
loop.run_until_complete(self.session.close())
|
||||||
|
|
||||||
def __del__(self) -> None:
|
|
||||||
self._cleanup()
|
|
||||||
|
|
||||||
async def _wait_for_operation_to_finish(self, operation_id: str) -> bool:
|
async def _wait_for_operation_to_finish(self, operation_id: str) -> bool:
|
||||||
"""
|
"""
|
||||||
Wait for an operation to finish.
|
Wait for an operation to finish.
|
||||||
|
|||||||
Reference in New Issue
Block a user