MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / unload

Method unload

docling/backend/html_backend.py:58–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 return False
57
58 def unload(self):
59 if isinstance(self.path_or_stream, BytesIO):
60 self.path_or_stream.close()
61
62 self.path_or_stream = None
63
64 @classmethod
65 def supported_formats(cls) -> Set[InputFormat]:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected