Hi.
When converting my solution model from Information-Architect to DMS
for excel_file in DEVELOPMENT_DIRECTORY.rglob("*.xlsx"):
data_model, issues = importers.ExcelImporter(excel_file).to_rules(errors="continue")
exporter = exporters.ExcelExporter(styling="maximal", output_role=RoleTypes.dms)
dms_file = excel_file.parent / f"{excel_file.stem}_dms.xlsx"
exporter.export_to_file(data_model, dms_file)
I get these warnings:
C:\path\.venv\Lib\site-packages\cognite\neat\rules\models\dms\_exporter.py:110: HasDataFilterOnViewWithReferencesWarning: (ViewId(space='sp_sandbox_models', external_id='Company', version='1'), [ViewId(space='sp_kra_enterprise_model', external_id='Company', version=None)])
views, node_types = self._create_views_with_node_types(view_properties_by_id)
C:\path\.venv\Lib\site-packages\cognite\neat\rules\models\dms\_exporter.py:110: HasDataFilterOnViewWithReferencesWarning: (ViewId(space='sp_sandbox_models', external_id='PriceArea', version='1'), [ViewId(space='sp_kra_enterprise_model', external_id='PriceArea', version=None)])
views, node_types = self._create_views_with_node_types(view_properties_by_id)
Should I change something in my data model to avoid this? Or can I just disregard the warning? The data model seems to be working fine, except for some issues in the Fusion UI.
(neat version 0.88.2)