Skip to content

Commit

Permalink
Update cognite/neat/_rules/transformers/_converters.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anders Albert <[email protected]>
  • Loading branch information
nikokaoja and doctrino authored Nov 12, 2024
1 parent a9120f9 commit 0afbfa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cognite/neat/_rules/transformers/_converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ def _to_enterprise(self, reference_model: DMSRules) -> JustRules[DMSRules]:
# Move connections from reference model to enterprise model
if self.move_connections:
enterprise_connections = self._move_connections(enterprise_model)
else:
enterprise_connections = SheetList[DMSProperty]()

# while overwriting containers and properties with new ones
enterprise_model.containers = enterprise_containers
Expand Down

0 comments on commit 0afbfa3

Please sign in to comment.