MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / close

Method close

src/bcf/bcf/v2/bcfxml.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 self.close()
44
45 def close(self) -> None:
46 if self._zip_file:
47 self._zip_file.close()
48
49 def _load_zip_file(self) -> Optional[zipfile.ZipFile]:
50 return zipfile.ZipFile(self._filename) if self._filename else None

Callers 15

__exit__Method · 0.95
__del__Method · 0.95
build-all.pyFile · 0.45
stream_readerFunction · 0.45
__call__Method · 0.45
close_widgetMethod · 0.45
create_logfileFunction · 0.45
append_logfileFunction · 0.45
initialize_db_workMethod · 0.45
post_viewpoint_workMethod · 0.45

Calls

no outgoing calls

Tested by 11

test_save_keep_openFunction · 0.36
test_save_keep_openFunction · 0.36
_ifc_pathMethod · 0.36
_ifc_pathMethod · 0.36
_ifc_pathMethod · 0.36
_ifc_pathMethod · 0.36
__enter__Method · 0.36
clean_upMethod · 0.36