We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c93d378 commit 2b9617aCopy full SHA for 2b9617a
armis_sdk/clients/collectors_client.py
@@ -71,6 +71,7 @@ async def main():
71
async with client.stream("GET", collector_image.url) as response:
72
response.raise_for_status()
73
total_size = int(response.headers.get("Content-Length", "0"))
74
+ # pylint: disable-next=contextmanager-generator-missing-cleanup
75
with self.open_file(destination) as file:
76
async for chunk in response.aiter_bytes():
77
file.write(chunk)
0 commit comments