mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 13:04:49 +00:00
Run black
This commit is contained in:
@@ -305,6 +305,7 @@ def stream2(path: Union[Path, str]):
|
|||||||
if inst := streamer.read_instance_py():
|
if inst := streamer.read_instance_py():
|
||||||
yield inst
|
yield inst
|
||||||
|
|
||||||
|
|
||||||
def convert_path_to_rocksdb(ifcspf_path: Union[Path, str], rocksdb_path: Union[Path, str]):
|
def convert_path_to_rocksdb(ifcspf_path: Union[Path, str], rocksdb_path: Union[Path, str]):
|
||||||
"""Converts an IFC-SPF file on disk to the IfcOpenShell-specific
|
"""Converts an IFC-SPF file on disk to the IfcOpenShell-specific
|
||||||
RocksDB encoding. RocksDB is an embedded key-value store that allows
|
RocksDB encoding. RocksDB is an embedded key-value store that allows
|
||||||
@@ -317,6 +318,7 @@ def convert_path_to_rocksdb(ifcspf_path: Union[Path, str], rocksdb_path: Union[P
|
|||||||
ser = ifcopenshell_wrapper.RocksDbSerializer(str(ifcspf_path), str(rocksdb_path), True)
|
ser = ifcopenshell_wrapper.RocksDbSerializer(str(ifcspf_path), str(rocksdb_path), True)
|
||||||
ser.finalize()
|
ser.finalize()
|
||||||
|
|
||||||
|
|
||||||
version_core = ifcopenshell_wrapper.version()
|
version_core = ifcopenshell_wrapper.version()
|
||||||
__version__ = version = "0.0.0"
|
__version__ = version = "0.0.0"
|
||||||
get_log = ifcopenshell_wrapper.get_log
|
get_log = ifcopenshell_wrapper.get_log
|
||||||
|
|||||||
Reference in New Issue
Block a user