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

Function open

src/ifcopenshell-python/ifcopenshell/__init__.py:133–135  ·  view source on GitHub ↗
(
    path: Union[os.PathLike, str], format: SupportedFormat = None, *, should_stream: Literal[False] = False
)

Source from the content-addressed store, hash-verified

131
132@overload
133def open(
134 path: Union[os.PathLike, str], format: SupportedFormat = None, *, should_stream: Literal[False] = False
135) -> Union[_file, sqlite]: ...
136@overload
137def open(path: Union[os.PathLike, str], format: SupportedFormat = None, *, should_stream: Literal[True]) -> _stream: ...
138@overload

Callers 15

log_internal_cpp_errorsFunction · 0.70
mainFunction · 0.70
draw.pyFile · 0.70
__init__Method · 0.70
test_allMethod · 0.50
get_ifc_filepathMethod · 0.50
__init__Method · 0.50
__init__Method · 0.50
fromFilePathMethod · 0.50
create_from_csvFunction · 0.50
cat.pyFile · 0.50
__init__.pyFile · 0.50

Calls 11

fileClass · 0.90
streamClass · 0.90
guess_formatFunction · 0.85
sqliteClass · 0.85
parse_ifcxmlMethod · 0.80
lowerMethod · 0.80
openMethod · 0.80
bypass_typeMethod · 0.80
extractMethod · 0.45
fileMethod · 0.45
initializeMethod · 0.45

Tested by 2

test_allMethod · 0.40
get_ifc_filepathMethod · 0.40