entity_instance: comparison operators to support non-entity types

This commit is contained in:
Andrej730
2026-07-22 12:22:45 +05:00
parent 6f643bad0c
commit e6a7f7513d
3 changed files with 74 additions and 56 deletions
@@ -93,11 +93,6 @@ except Exception:
from . import guid
from .ifcopenshell_wrapper import entity_instance, file
from .file import rocksdb_lazy_instance
# Hacks!
from .entity_instance import _patch_swig_comparisons
_patch_swig_comparisons()
del _patch_swig_comparisons
# End hacks!
from .sql import sqlite, sqlite_entity
get_log = ifcopenshell_wrapper.get_log