From 8888e451151cacd88196b5841f9aa07660b6317d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 26 Aug 2025 12:54:23 +0200 Subject: [PATCH] Run black --- src/ifcopenshell-python/ifcopenshell/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/__init__.py b/src/ifcopenshell-python/ifcopenshell/__init__.py index 5bb478268a..cc5b080d5a 100644 --- a/src/ifcopenshell-python/ifcopenshell/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/__init__.py @@ -305,6 +305,7 @@ def stream2(path: Union[Path, str]): if inst := streamer.read_instance_py(): yield inst + 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 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.finalize() + version_core = ifcopenshell_wrapper.version() __version__ = version = "0.0.0" get_log = ifcopenshell_wrapper.get_log