cleanup the od api interface

This commit is contained in:
robbe 2025-06-27 12:15:19 +02:00
parent 04a17f6ac8
commit 9eea3618d0
6 changed files with 69 additions and 47 deletions

View file

@ -52,7 +52,7 @@ def merge_models(state, mm, models: list[UUID]):
model = state.read_value(obj)
scd = SCD(merged, state)
created_obj = scd.create_model_ref(prefixed_obj_name, model)
merged_odapi._ODAPI__recompute_mappings() # dirty!!
merged_odapi.recompute_mappings() # dirty!!
else:
# create node or edge
if state.is_edge(obj):