Close client

This commit is contained in:
shamoon
2025-09-11 13:49:06 -07:00
parent 26abcf5612
commit f400a8cb2f

View File

@@ -100,6 +100,7 @@ class RemoteDocumentParser(RasterisedDocumentParser):
): ):
f.write(chunk) f.write(chunk)
client.close()
return result.content return result.content
def parse(self, document_path: Path, mime_type, file_name=None): def parse(self, document_path: Path, mime_type, file_name=None):