cognite-neat 0.119.9__tar.gz → 0.121.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cognite-neat might be problematic. Click here for more details.
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/PKG-INFO +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/cognite/neat/__init__.py +3 -2
- cognite_neat-0.121.0/cognite/neat/_version.py +2 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/_api/data_modeling_loaders.py +5 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/_api/neat_instances.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/_api/schema.py +9 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/_api_client.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/data_classes/schema.py +4 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/testing.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_constants.py +27 -8
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/_tracking/base.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/_tracking/log.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/__init__.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_base.py +6 -6
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_base.py +23 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_classic.py +16 -12
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_files.py +10 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_relationships.py +5 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_sequences.py +7 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_timeseries.py +10 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_dict.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_dms.py +6 -6
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_dms_graph.py +15 -11
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_mock_graph_generator.py +10 -10
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_raw.py +3 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_rdf_file.py +10 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/loaders/_base.py +5 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/loaders/_rdf2dms.py +31 -18
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/queries/_select.py +3 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/queries/_update.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/transformers/_base.py +8 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/transformers/_classic_cdf.py +6 -6
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/transformers/_prune_graph.py +4 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/transformers/_rdfpath.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/transformers/_value_type.py +8 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/_base.py +12 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/_contextmanagers.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/_factory.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/errors/__init__.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/errors/_external.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/errors/_general.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/errors/_properties.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/errors/_resources.py +7 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/errors/_wrapper.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/warnings/__init__.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/warnings/_external.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/warnings/_general.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/warnings/_models.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/warnings/_properties.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/warnings/_resources.py +6 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/warnings/user_modeling.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/_shared.py +6 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/analysis/_base.py +15 -8
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/_base.py +7 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/_rules2dms.py +15 -9
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/_rules2excel.py +219 -163
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/_rules2instance_template.py +4 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/_rules2ontology.py +10 -10
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/_rules2yaml.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/_validation.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_base.py +5 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_dms2rules.py +20 -12
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_dtdl2rules/dtdl_converter.py +15 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_dtdl2rules/dtdl_importer.py +13 -9
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_dtdl2rules/spec.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_rdf/_base.py +12 -12
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_rdf/_imf2rules.py +5 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_rdf/_inference2rules.py +14 -14
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_rdf/_owl2rules.py +5 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_rdf/_shared.py +4 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_spreadsheet2rules.py +7 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_yaml2rules.py +5 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/__init__.py +5 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/_base_rules.py +9 -6
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/_types.py +5 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/data_types.py +9 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/dms/__init__.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/dms/_exporter.py +15 -8
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/dms/_rules.py +9 -9
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/dms/_rules_input.py +10 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/dms/_validation.py +14 -14
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/entities/_loaders.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/entities/_multi_value.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/entities/_single_value.py +3 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/information/_rules.py +11 -9
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/information/_rules_input.py +5 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/information/_validation.py +10 -10
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/mapping/_classic2core.py +5 -5
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/transformers/_base.py +4 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/transformers/_converters.py +52 -26
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/transformers/_mapping.py +15 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/transformers/_verification.py +7 -7
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_store/_graph_store.py +13 -10
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_store/_provenance.py +3 -3
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_store/_rules_store.py +19 -12
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_store/exceptions.py +4 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/auth.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/auxiliary.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/collection_.py +2 -2
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/graph_transformations_report.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/rdf_.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/reader/_base.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/spreadsheet.py +11 -4
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/text.py +1 -1
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/upload.py +3 -3
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_base.py +10 -10
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_collector.py +1 -1
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_drop.py +3 -3
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_explore.py +2 -2
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_fix.py +2 -2
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_inspect.py +7 -3
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_mapping.py +3 -3
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_prepare.py +8 -8
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_read.py +130 -16
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_set.py +8 -8
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_show.py +5 -5
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_state.py +8 -8
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_subset.py +7 -4
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_template.py +22 -14
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_to.py +12 -12
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/_wizard.py +1 -1
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/engine/_load.py +1 -1
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/exceptions.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/dev.py +11 -7
- cognite_neat-0.121.0/docs/reference/NeatSession/base.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/drop.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/fix.md +4 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/inspect.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/mapping.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/prepare.md +3 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/read.md +7 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/set.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/show.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/subset.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/template.md +1 -0
- cognite_neat-0.121.0/docs/reference/NeatSession/to.md +3 -0
- cognite_neat-0.121.0/docs/reference/issues/base.md +1 -0
- cognite_neat-0.121.0/docs/reference/issues/errors.md +1 -0
- cognite_neat-0.121.0/docs/reference/issues/user_model_warnings.md +2 -0
- cognite_neat-0.121.0/docs/reference/issues/warnings.md +2 -0
- cognite_neat-0.121.0/last_changelog_entry.md +5 -0
- cognite_neat-0.121.0/last_git_message.txt +18 -0
- cognite_neat-0.121.0/last_version.txt +1 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/pyproject.toml +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/create_classic_core_mapping_yaml.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/docs_generate_reference.py +2 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/manual_test_dms_importer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/migration.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/oxi_remote/README.md +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/conftest.py +9 -5
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/car.py +6 -6
- cognite_neat-0.121.0/tests/data/_instances/asset_centric_cdf/files.yaml +24 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/classic_windfarm.py +6 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/windturbine.py +5 -5
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/conftest.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_api/test_conversion.py +8 -5
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_api/test_validate_rules.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_graph/test_loaders/test_dms_loader.py +5 -5
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_neat_client/test_cdf_loaders.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_rules/test_exporters/test_dms_exporters.py +6 -6
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_data_model_prepare_fix.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_data_model_to.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_graph_flow.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_read.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_utils/test_reader.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_asset_extractor.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_dms_extractor.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_dms_graph_extractor.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_events_extractor.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_files_extractor.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_labels_extractor.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_raw_extractor.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_relationship_extractor.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_sequences_extractor.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_extractors/test_timeseries_extractor.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_graph_read.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_loaders/test_dms_loader.py +25 -13
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_loaders/test_rdf2dms.py +7 -7
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_provenance.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_asset_depth_transformer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_asset_event_connector_transformer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_asset_file_connector_transformer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_asset_relationship_connector_transformer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_asset_sequence_connector_transformer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_asset_ts_connector_transformer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_attach_property_from_target2source.py +6 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_make_connection_on_exact_match.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_prune_graph.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_graph/test_transformers/test_split_multi_value_property_transformer.py +6 -6
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_issues/test_formatters.py +6 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_issues/test_issue_behavior.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_issues/test_issues_metatests.py +6 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_neat_client/test_instances.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_neat_client/test_loaders.py +5 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_neat_client/test_schema.py +2 -2
- cognite_neat-0.121.0/tests/tests_unit/test_neat_package_metadata.py +131 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_analysis.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_exporters/test_exporters_meta.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_exporters/test_rules2dms.py +6 -6
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_exporters/test_rules2excel.py +35 -7
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_exporters/test_rules2ontology.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_exporters/test_rules2yaml.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/test_dms_importer.py +13 -7
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/test_dtdl_importer.py +13 -7
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/test_excel_importer.py +6 -6
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/test_imf_importer.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/test_inference_importer.py +12 -12
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/test_owl_importer.py +6 -6
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/test_subinference_importer.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_asset_rules.py +6 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_base_rules.py +5 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_data_types.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_dms_rules.py +17 -13
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_dms_schema.py +17 -7
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_entities.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_information_rules.py +13 -13
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_input_rules.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/test_wrapped_entities.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_transformers/test_converters.py +18 -10
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_transformers/test_mapping.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_transformers/test_transformer_meta.py +9 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_session/test_meta.py +1 -1
- cognite_neat-0.121.0/tests/tests_unit/test_session/test_read.py +97 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_session/test_to_yaml.py +3 -3
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_store/tests_rules_store.py +6 -6
- cognite_neat-0.121.0/tests/tests_unit/test_utils/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_utils/test_auxiliary.py +5 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_utils/test_cdf_classes.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_utils/test_reader.py +6 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_utils/test_text.py +1 -1
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_utils/test_utils.py +2 -2
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/utils.py +4 -4
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/uv.lock +1369 -1369
- cognite_neat-0.119.9/cognite/neat/_version.py +0 -2
- cognite_neat-0.119.9/docs/reference/NeatSession/base.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/drop.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/fix.md +0 -4
- cognite_neat-0.119.9/docs/reference/NeatSession/inspect.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/mapping.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/prepare.md +0 -3
- cognite_neat-0.119.9/docs/reference/NeatSession/read.md +0 -7
- cognite_neat-0.119.9/docs/reference/NeatSession/set.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/show.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/subset.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/template.md +0 -1
- cognite_neat-0.119.9/docs/reference/NeatSession/to.md +0 -3
- cognite_neat-0.119.9/docs/reference/issues/base.md +0 -1
- cognite_neat-0.119.9/docs/reference/issues/errors.md +0 -1
- cognite_neat-0.119.9/docs/reference/issues/user_model_warnings.md +0 -2
- cognite_neat-0.119.9/docs/reference/issues/warnings.md +0 -2
- cognite_neat-0.119.9/last_changelog_entry.md +0 -5
- cognite_neat-0.119.9/last_git_message.txt +0 -21
- cognite_neat-0.119.9/last_version.txt +0 -1
- cognite_neat-0.119.9/tests/data/_instances/asset_centric_cdf/files.yaml +0 -12
- cognite_neat-0.119.9/tests/tests_unit/test_neat_package_metadata.py +0 -19
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.coveragerc +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.github/CODEOWNERS +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.github/ISSUE_TEMPLATE/bug-report.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.github/pull_request_template.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.github/renovate.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.github/workflows/code-quality.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.github/workflows/release.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.gitignore +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.pre-commit-config.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/.readthedocs.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/CODE_OF_CONDUCT.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/CONTRIBUTING.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/LICENSE +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/README.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/cdf.toml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/codecov.yml +0 -0
- {cognite_neat-0.119.9/cognite/neat/_client/_api → cognite_neat-0.121.0/cognite/neat/core}/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat/_client/data_classes → cognite_neat-0.121.0/cognite/neat/core/_client/_api}/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat/_graph → cognite_neat-0.121.0/cognite/neat/core/_client/data_classes}/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/data_classes/data_modeling.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/data_classes/neat_sequence.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_config.py +0 -0
- {cognite_neat-0.119.9/cognite/neat/_graph/extractors/_classic_cdf → cognite_neat-0.121.0/cognite/neat/core/_graph}/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/_shared.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/_tracking/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/examples/Knowledge-Graph-Nordic44-dirty.xml +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/examples/Knowledge-Graph-Nordic44.xml +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/examples/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/examples/skos-capturing-sheet-wind-topics.xlsx +0 -0
- {cognite_neat-0.119.9/cognite/neat/_rules → cognite_neat-0.121.0/cognite/neat/core/_graph/extractors/_classic_cdf}/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_assets.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_data_sets.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_events.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/extractors/_classic_cdf/_labels.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/loaders/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/queries/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/queries/_base.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/queries/_queries.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_graph/transformers/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_issues/formatters.py +0 -0
- {cognite_neat-0.119.9/cognite/neat/_utils → cognite_neat-0.121.0/cognite/neat/core/_rules}/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/_constants.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/analysis/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/catalog/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/catalog/classic_model.xlsx +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/catalog/hello_world_pump.xlsx +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/catalog/info-rules-imf.xlsx +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/exporters/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_dtdl2rules/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_dtdl2rules/_unit_lookup.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/importers/_rdf/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/_base_input.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/entities/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/entities/_constants.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/entities/_types.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/entities/_wrapped.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/information/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/mapping/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/models/mapping/_classic2core.yaml +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_rules/transformers/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_shared.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_store/__init__.py +0 -0
- {cognite_neat-0.119.9/tests → cognite_neat-0.121.0/cognite/neat/core/_utils}/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/io_.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/reader/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/time_.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_utils/xml_.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/cognite/neat/py.typed +0 -0
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/__init__.py +0 -0
- /cognite_neat-0.119.9/cognite/neat/_alpha.py → /cognite_neat-0.121.0/cognite/neat/session/_experimental.py +0 -0
- {cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/session}/_state/README.md +0 -0
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/engine/__init__.py +0 -0
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/engine/_import.py +0 -0
- {cognite_neat-0.119.9/cognite/neat/_session → cognite_neat-0.121.0/cognite/neat/session}/engine/_interface.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/DataModelCDF.PNG +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/DataModelInstancesCDF.PNG +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/DataModelInstancesVizCDF.PNG +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/aml-dm-cdf.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/aml-dm.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/aml-instances-cdf.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/aml-instances-full.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_dms.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_dms_typed.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_populated.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_populated_with_typed.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/authorship.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/base-components.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/bid_capacity_data_model.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/change_validate_step.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/connecting_metadata_dm.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/connecting_metadata_populated.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/connecting_metadata_published_dm.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/container_spec.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/core_extension.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/core_extension_excel.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/core_extension_no_connection.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/core_extension_with_properties.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/data-exploration.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/data-model-nordic44.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/data-modeling-flow.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dexpi-dm-cdf.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dexpi-dm-viz.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dexpi-graph-viz.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dexpi-instance-cdf.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dexpi-transformed-graph-viz.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dm-classes.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dm-object-shapes.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dm-prefixes.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dm-source-to-solution-mapping.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dm2cdf-asset.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/dm2cdf-mapping.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/execution-history.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/export_dms_config.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/export_dms_executed.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/export_dms_workflow.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/features.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/graph-etl-flow.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/high-level-io.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/instances-nordic44.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/instances-sheet.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/key-aspects-of-neat.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/knowledge-graph-viz-filtering.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/knowledge-graph-viz.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/life_cycle_analitic_solution_export_dms.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/life_cycle_converter_model_analytic_solution_model.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/life_cycle_download_reference_model_analytic_soluteion_model.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/life_cycle_download_reference_model_analytic_solution_model_export.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/logo.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/metadata-sheet.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/multi-hop.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/neat-high-level.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/neat-two_flows.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/neat_shift_tab.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/neat_tab.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/prefixes-sheet.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/pump_hello_world_published.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf-in-nutshell.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf2cdf-graph-change.jpg +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf2cdf-graph-resurrect.jpg +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf2cdf-graph.jpg +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf2cdf-init-run-step1.jpg +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf2cdf-init-run-step2.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf2cdf-init-run.jpg +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/rdf2cdf-post-init.jpg +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/run_workflow.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/sheet2cdf-asset-hierarchy.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/sheet2cdf-running-workflow.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/sheet2cdf-transformation-rules-ui.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/sheet2cdf-upload-rules.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/sheet2cdf-workflow-steps.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/sheet2cdf-workflow.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/sheet2cdf-workflow.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/step-configurables.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/step-metrics.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/tutorial-notebooks-part-2_graph-capturing-sheet.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/validate_workflow.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/wf-ephemeral-mode.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/wf-overview.gif +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/wf-persistent-blocking-mode.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/wf-persistent-non-blocking.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/wf-start-mode-ui.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/wind_farm_classic_knowledge_graph.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/wind_farm_data_product_instances.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/work-in-progress.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/workflow-context.jpg +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/working_with_metadata_provenance.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/figs/working_with_metadata_published_dm.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/cdf-dms-architect-alice.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/dms-addition-svein-harald.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/dms-analytics-olav.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/dms-architect-rules-raw-filter-example.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/dms-architect-rules-template.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/dms-rebuild-olav.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/domain-expert-rules-template.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/expert-grid-emma.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/expert-wind-energy-jon.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/information-addition-svein-harald.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/information-analytics-olav-ref.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/information-analytics-olav.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/information-architect-david.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/rules/information-architect-rules-template.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-1-defining-data-model.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-1-download-rules-template.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-1-upload-gql-schema-to-cdf.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-2-graph-capturing-sheet.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-3-asset-hierarchy.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-3-decommissioning.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-3-relationships.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-3-resurrection.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/artifacts/videos/tutorial-4-asset-hierarchy.mp4 +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/data-modeling-principles.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/logical/overview.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/logical/properties.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/logical/reference.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/physical/enum.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/physical/overview.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/physical/properties.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/physical/reference.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/physical/views.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/rules.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/excel_data_modeling/units.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/gettingstarted/installation.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/gettingstarted/why-neat.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/index.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/reference/overview.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/figs/data-modeling-flow.png +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/files/wind_farm_prospecting_conceptual_data_model.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/files/wind_farm_prospecting_conceptual_data_model_expanded.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/files/wind_farm_prospecting_physical_data_model.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/from-conceptual-to-physical-via-CDM.ipynb +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_logical_wind_energy_WindFarmProspecting_v1.html +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_logical_wind_energy_WindFarmProspecting_v1_implements.html +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/data-modeling/physical-data-model.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/docs/tutorials/introduction/introduction.ipynb +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/mkdocs.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/clean_space.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/core_classic_mapping.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/dependency_profiler.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/docs_generate_unit.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/generate_steps_md.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/.gitignore +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/README.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/config.dev.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/neat_integration_runner/README.md +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/neat_integration_runner/auth/neat_cicd_testing.group.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/lift_pumps/classic/lift_pump_stations_root.Asset.csv +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/lift_pumps/data_sets/hierarchies.DataSet.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/lift_pumps/raw/collections_pump.Table.csv +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/lift_pumps/raw/collections_pump.Table.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/Measurement.Asset.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/Measurement.Label.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/MetMast.Asset.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/PowerGeneratingUnit.Label.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/Utsira.Asset.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-01.Asset.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-01_to_MetMast.Relationship.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-02.Asset.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-02_to_MetMast.Relationship.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/WindTurbine.Label.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/metMast.Label.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/planned_WT-01_2022-01-01.Event.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/classic/power_curve_manufacturer1.Sequence.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/data_sets/maintenance.DataSet.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/data_sets/source_ds.DataSet.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/data_sets/usecase_01.DataSet.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/files/WT-01_datasheet.FileMetadata.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/files/WT-01_datasheet.txt +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-01_forecast.TimeSeries.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-01_production.TimeSeries.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-02_forecast.TimeSeries.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-02_production.TimeSeries.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/oxi_remote/docker-compose.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/test_lookup_table.csv +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/scripts/windfarm_to_toolkit.py +0 -0
- {cognite_neat-0.119.9/tests/tests_end_to_end → cognite_neat-0.121.0/tests}/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/config.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/IMF_TempTransmitterComplete.ttl +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/aml-raw-graph.ttl +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/aml_example.aml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/dexpi-raw-graph.ttl +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/dexpi_example.xml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/iodd_Piab-piCOMPACT10X-20230509-IODD1.1.xml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_graph/low-quality-graph.ttl +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/asset_centric_cdf/assets.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/asset_centric_cdf/events.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/asset_centric_cdf/labels.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/asset_centric_cdf/relationships.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/asset_centric_cdf/sequence_rows.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/asset_centric_cdf/sequences.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_instances/asset_centric_cdf/timeseries.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/conceptual/broken_concepts.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/conceptual/info-arch-car-rules.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/conceptual/info_with_cdm_ref.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/conceptual/information-unknown-value-type.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/conceptual/only_concepts.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/conversion/single_concept.conceptual.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/conversion/single_concept.physical.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/cognite_core_v1.zip +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/TemperatureController.zip +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/BaseConsumer.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/BasePlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/BaseReceiver.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/CityPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/CoalPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/DeliverySubStation.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/DomesticConsumer.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/FarmConsumer.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/Floor.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/GasPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/GeneratorSubStation.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/HydroPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/IndustrialConsumer.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/IndustrialPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/NuclearPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/PowerLine.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/Room.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/SolarPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/Transformer.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/dtdl/energy-grid/WindPlant.json +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/referencing_core/MyDescribable.container.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/referencing_core/MyDescribable.view.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/non_neat/referencing_core/enterprise.datamodel.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/partial-model/complete.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/partial-model/part1.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/partial-model/part2.ttl +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/partial-model/part3.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/car_dms_rules.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/car_dms_rules_deprecated.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/dm_raw_filter.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/dm_view_space_different.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/dms-unknown-value-type.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/isa_plus_cdm.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/missing-in-model-value.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/mixed-up-version.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/pump_example_duplicated_resources.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/pump_example_with_missing_cells.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical/pump_example_with_missing_cells_raise_issues.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical_invalid/inconsistent_container_dms_rules.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical_invalid/invalid_metadata.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical_invalid/invalid_property_dms_rules.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical_invalid/missing_view_container_dms_rules.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical_invalid/too_many_containers_per_view.xlsx +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical_yamls/invalid_yaml.expected_issues.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/data/_schema/physical_yamls/invalid_yaml.yaml +0 -0
- {cognite_neat-0.119.9/tests/tests_integration → cognite_neat-0.121.0/tests/tests_end_to_end}/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_end_to_end/test_rules_flow/test_cdm_extension_verification.yaml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_end_to_end/test_rules_flow/test_excel_importer_to_yaml.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_end_to_end/test_rules_flow/test_ontology_importer_to_yaml.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_end_to_end/test_rules_flow/test_to_extension_transformer.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_end_to_end/test_rules_flow.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_api → cognite_neat-0.121.0/tests/tests_integration}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_graph → cognite_neat-0.121.0/tests/tests_integration/test_api}/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_client_available.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_graph/test_loaders → cognite_neat-0.121.0/tests/tests_integration/test_graph}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_neat_client → cognite_neat-0.121.0/tests/tests_integration/test_graph/test_loaders}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_rules → cognite_neat-0.121.0/tests/tests_integration/test_neat_client}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_rules/test_exporters → cognite_neat-0.121.0/tests/tests_integration/test_rules}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_rules/test_importers → cognite_neat-0.121.0/tests/tests_integration/test_rules/test_exporters}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_session → cognite_neat-0.121.0/tests/tests_integration/test_rules/test_importers}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_integration/test_utils → cognite_neat-0.121.0/tests/tests_integration/test_session}/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_create_enterprise.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_data_model_prepare_fix/test_prefix_dms_rules_entities.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_data_model_prepare_fix/test_prefix_info_rules_entities.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_data_model_prepare_fix/test_standardize_space_and_version.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_data_model_to/test_raw_filter.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_graph_flow/test_aml_to_dms.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_graph_flow/test_create_extension_template.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_graph_flow/test_dexpi_to_dms.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_graph_flow/test_snapshot_workflow_ids_to_python.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_graph_flow/test_snapshot_workflow_to_python.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_graph_flow/test_uplift_workflow_to_python.yml +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_integration/test_session/test_read/test_read_model_referencing_core.yml +0 -0
- {cognite_neat-0.119.9/tests/tests_unit → cognite_neat-0.121.0/tests/tests_integration/test_utils}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_graph → cognite_neat-0.121.0/tests/tests_unit}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_graph/test_extractors → cognite_neat-0.121.0/tests/tests_unit/test_graph}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_graph/test_loaders → cognite_neat-0.121.0/tests/tests_unit/test_graph/test_extractors}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_graph/test_transformers → cognite_neat-0.121.0/tests/tests_unit/test_graph/test_loaders}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_issues → cognite_neat-0.121.0/tests/tests_unit/test_graph/test_transformers}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_neat_client → cognite_neat-0.121.0/tests/tests_unit/test_issues}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_rules → cognite_neat-0.121.0/tests/tests_unit/test_neat_client}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_rules/test_exporters → cognite_neat-0.121.0/tests/tests_unit/test_rules}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_rules/test_importers → cognite_neat-0.121.0/tests/tests_unit/test_rules/test_exporters}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_rules/test_models → cognite_neat-0.121.0/tests/tests_unit/test_rules/test_importers}/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_importers/constants.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_rules/test_transformers → cognite_neat-0.121.0/tests/tests_unit/test_rules/test_models}/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_rules/test_models/utils.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_session → cognite_neat-0.121.0/tests/tests_unit/test_rules/test_transformers}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_store → cognite_neat-0.121.0/tests/tests_unit/test_session}/__init__.py +0 -0
- {cognite_neat-0.119.9/tests/tests_unit/test_utils → cognite_neat-0.121.0/tests/tests_unit/test_store}/__init__.py +0 -0
- {cognite_neat-0.119.9 → cognite_neat-0.121.0}/tests/tests_unit/test_store/tests_rules_store/test_import_export.yml +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
from .
|
|
2
|
-
|
|
1
|
+
from cognite.neat.core._utils.auth import get_cognite_client
|
|
2
|
+
|
|
3
3
|
from ._version import __version__
|
|
4
|
+
from .session import NeatSession
|
|
4
5
|
|
|
5
6
|
__all__ = ["NeatSession", "__version__", "get_cognite_client"]
|
|
@@ -52,13 +52,13 @@ from cognite.client.data_classes.data_modeling.views import (
|
|
|
52
52
|
from cognite.client.exceptions import CogniteAPIError
|
|
53
53
|
from cognite.client.utils.useful_types import SequenceNotStr
|
|
54
54
|
|
|
55
|
-
from cognite.neat._client.data_classes.data_modeling import Component
|
|
56
|
-
from cognite.neat._client.data_classes.schema import DMSSchema
|
|
57
|
-
from cognite.neat._issues.warnings import CDFMaxIterationsWarning
|
|
58
|
-
from cognite.neat._shared import T_ID
|
|
55
|
+
from cognite.neat.core._client.data_classes.data_modeling import Component
|
|
56
|
+
from cognite.neat.core._client.data_classes.schema import DMSSchema
|
|
57
|
+
from cognite.neat.core._issues.warnings import CDFMaxIterationsWarning
|
|
58
|
+
from cognite.neat.core._shared import T_ID
|
|
59
59
|
|
|
60
60
|
if TYPE_CHECKING:
|
|
61
|
-
from cognite.neat._client._api_client import NeatClient
|
|
61
|
+
from cognite.neat.core._client._api_client import NeatClient
|
|
62
62
|
|
|
63
63
|
T_WritableCogniteResourceList = TypeVar("T_WritableCogniteResourceList", bound=WriteableCogniteResourceList)
|
|
64
64
|
|
|
@@ -8,7 +8,7 @@ from cognite.client.exceptions import CogniteAPIError
|
|
|
8
8
|
from cognite.client.utils.useful_types import SequenceNotStr
|
|
9
9
|
|
|
10
10
|
if TYPE_CHECKING:
|
|
11
|
-
from cognite.neat._client._api_client import NeatClient
|
|
11
|
+
from cognite.neat.core._client._api_client import NeatClient
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class NeatInstancesAPI:
|
{cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/_api/schema.py
RENAMED
|
@@ -5,13 +5,17 @@ from typing import TYPE_CHECKING
|
|
|
5
5
|
|
|
6
6
|
from cognite.client import data_modeling as dm
|
|
7
7
|
|
|
8
|
-
from cognite.neat._client.data_classes.data_modeling import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
from cognite.neat.core._client.data_classes.data_modeling import (
|
|
9
|
+
ContainerApplyDict,
|
|
10
|
+
SpaceApplyDict,
|
|
11
|
+
ViewApplyDict,
|
|
12
|
+
)
|
|
13
|
+
from cognite.neat.core._client.data_classes.schema import DMSSchema
|
|
14
|
+
from cognite.neat.core._constants import is_hierarchy_property
|
|
15
|
+
from cognite.neat.core._issues.errors import NeatValueError
|
|
12
16
|
|
|
13
17
|
if TYPE_CHECKING:
|
|
14
|
-
from cognite.neat._client._api_client import NeatClient
|
|
18
|
+
from cognite.neat.core._client._api_client import NeatClient
|
|
15
19
|
|
|
16
20
|
|
|
17
21
|
class SchemaAPI:
|
{cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/_api_client.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from cognite.client import ClientConfig, CogniteClient
|
|
2
2
|
|
|
3
|
-
from cognite.neat._utils.auth import _CLIENT_NAME
|
|
3
|
+
from cognite.neat.core._utils.auth import _CLIENT_NAME
|
|
4
4
|
|
|
5
5
|
from ._api.data_modeling_loaders import DataModelLoaderAPI
|
|
6
6
|
from ._api.neat_instances import NeatInstancesAPI
|
|
@@ -20,21 +20,21 @@ from cognite.client.data_classes.data_modeling.views import (
|
|
|
20
20
|
ViewPropertyApply,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
from cognite.neat._client.data_classes.data_modeling import (
|
|
23
|
+
from cognite.neat.core._client.data_classes.data_modeling import (
|
|
24
24
|
CogniteResourceDict,
|
|
25
25
|
ContainerApplyDict,
|
|
26
26
|
NodeApplyDict,
|
|
27
27
|
SpaceApplyDict,
|
|
28
28
|
ViewApplyDict,
|
|
29
29
|
)
|
|
30
|
-
from cognite.neat._issues.errors import (
|
|
30
|
+
from cognite.neat.core._issues.errors import (
|
|
31
31
|
NeatYamlError,
|
|
32
32
|
)
|
|
33
|
-
from cognite.neat._issues.warnings import (
|
|
33
|
+
from cognite.neat.core._issues.warnings import (
|
|
34
34
|
FileTypeUnexpectedWarning,
|
|
35
35
|
ResourcesDuplicatedWarning,
|
|
36
36
|
)
|
|
37
|
-
from cognite.neat._utils.text import to_camel_case
|
|
37
|
+
from cognite.neat.core._utils.text import to_camel_case
|
|
38
38
|
|
|
39
39
|
if sys.version_info >= (3, 11):
|
|
40
40
|
from typing import Self
|
{cognite_neat-0.119.9/cognite/neat → cognite_neat-0.121.0/cognite/neat/core}/_client/testing.py
RENAMED
|
@@ -4,7 +4,7 @@ from typing import Any
|
|
|
4
4
|
|
|
5
5
|
from cognite.client.testing import CogniteClientMock
|
|
6
6
|
|
|
7
|
-
from cognite.neat._client._api_client import NeatClient
|
|
7
|
+
from cognite.neat.core._client._api_client import NeatClient
|
|
8
8
|
|
|
9
9
|
from ._api.data_modeling_loaders import DataModelLoaderAPI
|
|
10
10
|
from ._api.neat_instances import NeatInstancesAPI
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import re
|
|
2
2
|
from collections.abc import Mapping
|
|
3
3
|
from pathlib import Path
|
|
4
|
-
from typing import TYPE_CHECKING
|
|
4
|
+
from typing import TYPE_CHECKING, Literal
|
|
5
5
|
|
|
6
6
|
from cognite.client import data_modeling as dm
|
|
7
7
|
from cognite.client.data_classes.data_modeling.ids import DataModelId
|
|
@@ -9,9 +9,10 @@ from rdflib import DC, DCTERMS, FOAF, OWL, RDF, RDFS, SH, SKOS, XSD, Namespace,
|
|
|
9
9
|
from rdflib.namespace import DefinedNamespace
|
|
10
10
|
|
|
11
11
|
from cognite import neat
|
|
12
|
+
from cognite.neat.core._issues.errors._general import NeatValueError
|
|
12
13
|
|
|
13
14
|
if TYPE_CHECKING:
|
|
14
|
-
from cognite.neat._rules.models.dms import DMSProperty
|
|
15
|
+
from cognite.neat.core._rules.models.dms import DMSProperty
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
def _is_in_notebook() -> bool:
|
|
@@ -71,16 +72,16 @@ COGNITE_CONCEPTS = (
|
|
|
71
72
|
"CogniteActivity",
|
|
72
73
|
"CogniteTimeSeries",
|
|
73
74
|
"CogniteFile",
|
|
75
|
+
"CogniteDescribable",
|
|
76
|
+
"CogniteSourceable",
|
|
77
|
+
"CogniteSchedulable",
|
|
78
|
+
"CogniteVisualizable",
|
|
79
|
+
"CogniteSourceSystem",
|
|
74
80
|
"CogniteUnit",
|
|
75
81
|
"CogniteAssetClass",
|
|
76
82
|
"CogniteAssetType",
|
|
77
83
|
"CogniteEquipmentType",
|
|
78
84
|
"CogniteFileCategory",
|
|
79
|
-
"CogniteDescribable",
|
|
80
|
-
"CogniteSourceable",
|
|
81
|
-
"CogniteSourceSystem",
|
|
82
|
-
"CogniteSchedulable",
|
|
83
|
-
"CogniteVisualizable",
|
|
84
85
|
"CogniteAnnotation",
|
|
85
86
|
"CogniteDiagramAnnotation",
|
|
86
87
|
"CogniteCubeMap",
|
|
@@ -192,14 +193,32 @@ _ASSET_PATH_PROPERTY = {
|
|
|
192
193
|
"view_property": "path",
|
|
193
194
|
}
|
|
194
195
|
|
|
196
|
+
BASE_MODEL = Literal["CogniteCore"]
|
|
197
|
+
|
|
195
198
|
|
|
196
199
|
def get_asset_read_only_properties_with_connection() -> "list[DMSProperty]":
|
|
197
200
|
"""Gets the asset read-only properties with connection, i.e. Root and Path."""
|
|
198
|
-
from cognite.neat._rules.models.dms import DMSProperty
|
|
201
|
+
from cognite.neat.core._rules.models.dms import DMSProperty
|
|
199
202
|
|
|
200
203
|
return [DMSProperty.model_validate(item) for item in (_ASSET_ROOT_PROPERTY, _ASSET_PATH_PROPERTY)]
|
|
201
204
|
|
|
202
205
|
|
|
206
|
+
def get_base_concepts(
|
|
207
|
+
base_model: BASE_MODEL = "CogniteCore",
|
|
208
|
+
total_concepts: int | None = None,
|
|
209
|
+
) -> list[str]:
|
|
210
|
+
"""Gets the base concepts for a given base model represented in the short form.
|
|
211
|
+
Args:
|
|
212
|
+
base_model: The base model to get the concepts for.
|
|
213
|
+
total_concepts: The number of concepts to get. If None, all concepts are returned.
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
if base_model == "CogniteCore":
|
|
217
|
+
return [f"cdf_cdm:{concept}(version=v1)" for concept in COGNITE_CONCEPTS][:total_concepts]
|
|
218
|
+
else:
|
|
219
|
+
raise NeatValueError(f"Base model <{base_model}> is not supported")
|
|
220
|
+
|
|
221
|
+
|
|
203
222
|
READONLY_PROPERTIES_BY_CONTAINER: Mapping[dm.ContainerId, frozenset[str]] = {
|
|
204
223
|
dm.ContainerId("cdf_cdm", "CogniteAsset"): frozenset(
|
|
205
224
|
{"assetHierarchy_root", "assetHierarchy_path", "assetHierarchy_path_last_updated_time"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from cognite.neat.
|
|
1
|
+
from cognite.neat.session.engine._interface import Extractor as EngineExtractor
|
|
2
2
|
|
|
3
3
|
from ._base import BaseExtractor, KnowledgeGraphExtractor
|
|
4
4
|
from ._classic_cdf._assets import AssetsExtractor
|
|
@@ -4,13 +4,13 @@ from typing import TYPE_CHECKING
|
|
|
4
4
|
|
|
5
5
|
from rdflib import URIRef
|
|
6
6
|
|
|
7
|
-
from cognite.neat._constants import DEFAULT_NAMESPACE
|
|
8
|
-
from cognite.neat._rules.models import InformationRules
|
|
9
|
-
from cognite.neat._shared import Triple
|
|
10
|
-
from cognite.neat._utils.auxiliary import class_html_doc
|
|
7
|
+
from cognite.neat.core._constants import DEFAULT_NAMESPACE
|
|
8
|
+
from cognite.neat.core._rules.models import InformationRules
|
|
9
|
+
from cognite.neat.core._shared import Triple
|
|
10
|
+
from cognite.neat.core._utils.auxiliary import class_html_doc
|
|
11
11
|
|
|
12
12
|
if TYPE_CHECKING:
|
|
13
|
-
from cognite.neat._store._provenance import Agent as ProvenanceAgent
|
|
13
|
+
from cognite.neat.core._store._provenance import Agent as ProvenanceAgent
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class BaseExtractor:
|
|
@@ -53,6 +53,6 @@ class KnowledgeGraphExtractor(BaseExtractor):
|
|
|
53
53
|
@property
|
|
54
54
|
def agent(self) -> "ProvenanceAgent":
|
|
55
55
|
"""Provenance agent for the importer."""
|
|
56
|
-
from cognite.neat._store._provenance import Agent as ProvenanceAgent
|
|
56
|
+
from cognite.neat.core._store._provenance import Agent as ProvenanceAgent
|
|
57
57
|
|
|
58
58
|
return ProvenanceAgent(id_=DEFAULT_NAMESPACE[f"agent/{type(self).__name__}"])
|
|
@@ -17,13 +17,15 @@ from pydantic import AnyHttpUrl, ValidationError
|
|
|
17
17
|
from rdflib import RDF, XSD, Literal, Namespace, URIRef
|
|
18
18
|
from typing_extensions import Self
|
|
19
19
|
|
|
20
|
-
from cognite.neat._constants import DEFAULT_NAMESPACE
|
|
21
|
-
from cognite.neat._graph.extractors._base import BaseExtractor
|
|
22
|
-
from cognite.neat._issues.errors import NeatValueError
|
|
23
|
-
from cognite.neat._issues.warnings import CDFAuthWarning, NeatValueWarning
|
|
24
|
-
from cognite.neat._shared import Triple
|
|
25
|
-
from cognite.neat._utils.auxiliary import string_to_ideal_type
|
|
26
|
-
from cognite.neat._utils.collection_ import
|
|
20
|
+
from cognite.neat.core._constants import DEFAULT_NAMESPACE
|
|
21
|
+
from cognite.neat.core._graph.extractors._base import BaseExtractor
|
|
22
|
+
from cognite.neat.core._issues.errors import NeatValueError
|
|
23
|
+
from cognite.neat.core._issues.warnings import CDFAuthWarning, NeatValueWarning
|
|
24
|
+
from cognite.neat.core._shared import Triple
|
|
25
|
+
from cognite.neat.core._utils.auxiliary import string_to_ideal_type
|
|
26
|
+
from cognite.neat.core._utils.collection_ import (
|
|
27
|
+
iterate_progress_bar_if_above_config_threshold,
|
|
28
|
+
)
|
|
27
29
|
|
|
28
30
|
T_CogniteResource = TypeVar("T_CogniteResource", bound=WriteableCogniteResource)
|
|
29
31
|
|
|
@@ -76,6 +78,10 @@ class ClassicCDFBaseExtractor(BaseExtractor, ABC, Generic[T_CogniteResource]):
|
|
|
76
78
|
as_write (bool, optional): Whether to use the write/request format of the items. Defaults to False.
|
|
77
79
|
prefix (str, optional): A prefix to add to the rdf type. Defaults to None.
|
|
78
80
|
identifier (Literal["id", "externalId"], optional): The identifier to use. Defaults to "id".
|
|
81
|
+
skip_connections (bool, optional): Whether to skip connections. Defaults to False. This is used
|
|
82
|
+
when you extract other resources types than Assets. For example, if you extract TimeSeries and Files,
|
|
83
|
+
we skip the connections to Assets. This is to clearly separate contextualized and non-contextualized
|
|
84
|
+
extractions.
|
|
79
85
|
"""
|
|
80
86
|
|
|
81
87
|
_default_rdf_type: str
|
|
@@ -94,6 +100,7 @@ class ClassicCDFBaseExtractor(BaseExtractor, ABC, Generic[T_CogniteResource]):
|
|
|
94
100
|
as_write: bool = False,
|
|
95
101
|
prefix: str | None = None,
|
|
96
102
|
identifier: typing.Literal["id", "externalId"] = "id",
|
|
103
|
+
skip_connections: bool = False,
|
|
97
104
|
):
|
|
98
105
|
self.namespace = namespace or DEFAULT_NAMESPACE
|
|
99
106
|
self.items = items
|
|
@@ -105,6 +112,7 @@ class ClassicCDFBaseExtractor(BaseExtractor, ABC, Generic[T_CogniteResource]):
|
|
|
105
112
|
self.as_write = as_write
|
|
106
113
|
self.prefix = prefix
|
|
107
114
|
self.identifier = identifier
|
|
115
|
+
self.skip_connections = skip_connections
|
|
108
116
|
# If identifier=externalId, we need to keep track of the external ids
|
|
109
117
|
# and use them in linking of Files, Sequences, TimeSeries, and Events.
|
|
110
118
|
self.asset_external_ids_by_id: dict[int, str] = {}
|
|
@@ -270,6 +278,12 @@ class ClassicCDFBaseExtractor(BaseExtractor, ABC, Generic[T_CogniteResource]):
|
|
|
270
278
|
# Skip it
|
|
271
279
|
return None
|
|
272
280
|
elif key in {"assetId", "asset_id", "assetIds", "asset_ids", "rootId", "root_id"}:
|
|
281
|
+
if self.skip_connections:
|
|
282
|
+
warnings.warn(
|
|
283
|
+
NeatValueWarning(f"Skipping connection to asset {raw} in {self._default_rdf_type}"), stacklevel=2
|
|
284
|
+
)
|
|
285
|
+
return None
|
|
286
|
+
|
|
273
287
|
if self.identifier == "id":
|
|
274
288
|
return self.namespace[f"{InstanceIdPrefix.asset}{raw}"]
|
|
275
289
|
else:
|
|
@@ -322,6 +336,7 @@ class ClassicCDFBaseExtractor(BaseExtractor, ABC, Generic[T_CogniteResource]):
|
|
|
322
336
|
as_write: bool = False,
|
|
323
337
|
prefix: str | None = None,
|
|
324
338
|
identifier: typing.Literal["id", "externalId"] = "id",
|
|
339
|
+
skip_connections: bool = False,
|
|
325
340
|
) -> Self:
|
|
326
341
|
total, items = cls._handle_no_access(lambda: cls._from_dataset(client, data_set_external_id))
|
|
327
342
|
return cls(
|
|
@@ -335,6 +350,7 @@ class ClassicCDFBaseExtractor(BaseExtractor, ABC, Generic[T_CogniteResource]):
|
|
|
335
350
|
as_write,
|
|
336
351
|
prefix,
|
|
337
352
|
identifier,
|
|
353
|
+
skip_connections,
|
|
338
354
|
)
|
|
339
355
|
|
|
340
356
|
@classmethod
|
|
@@ -9,17 +9,21 @@ from cognite.client import CogniteClient
|
|
|
9
9
|
from cognite.client.exceptions import CogniteAPIError
|
|
10
10
|
from rdflib import Namespace, URIRef
|
|
11
11
|
|
|
12
|
-
from cognite.neat._constants import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
from cognite.neat.
|
|
18
|
-
from cognite.neat.
|
|
19
|
-
from cognite.neat.
|
|
20
|
-
from cognite.neat.
|
|
21
|
-
from cognite.neat.
|
|
22
|
-
from cognite.neat.
|
|
12
|
+
from cognite.neat.core._constants import (
|
|
13
|
+
CLASSIC_CDF_NAMESPACE,
|
|
14
|
+
DEFAULT_NAMESPACE,
|
|
15
|
+
get_default_prefixes_and_namespaces,
|
|
16
|
+
)
|
|
17
|
+
from cognite.neat.core._graph.extractors._base import KnowledgeGraphExtractor
|
|
18
|
+
from cognite.neat.core._issues.errors import NeatValueError, ResourceNotFoundError
|
|
19
|
+
from cognite.neat.core._issues.warnings import CDFAuthWarning, NeatValueWarning
|
|
20
|
+
from cognite.neat.core._rules._shared import ReadRules
|
|
21
|
+
from cognite.neat.core._rules.catalog import classic_model
|
|
22
|
+
from cognite.neat.core._rules.models import InformationInputRules, InformationRules
|
|
23
|
+
from cognite.neat.core._shared import Triple
|
|
24
|
+
from cognite.neat.core._utils.collection_ import chunker, iterate_progress_bar
|
|
25
|
+
from cognite.neat.core._utils.rdf_ import remove_namespace_from_uri
|
|
26
|
+
from cognite.neat.core._utils.text import to_snake_case
|
|
23
27
|
|
|
24
28
|
from ._assets import AssetsExtractor
|
|
25
29
|
from ._base import ClassicCDFBaseExtractor, InstanceIdPrefix
|
|
@@ -203,7 +207,7 @@ class ClassicGraphExtractor(KnowledgeGraphExtractor):
|
|
|
203
207
|
|
|
204
208
|
def get_information_rules(self) -> InformationRules:
|
|
205
209
|
# To avoid circular imports
|
|
206
|
-
from cognite.neat._rules.importers import ExcelImporter
|
|
210
|
+
from cognite.neat.core._rules.importers import ExcelImporter
|
|
207
211
|
|
|
208
212
|
unverified = cast(ReadRules[InformationInputRules], ExcelImporter(classic_model).to_rules())
|
|
209
213
|
if unverified.rules is None:
|
|
@@ -20,7 +20,7 @@ class FilesExtractor(ClassicCDFBaseExtractor[FileMetadata]):
|
|
|
20
20
|
data_set_external_id: str,
|
|
21
21
|
) -> tuple[int | None, Iterable[FileMetadata]]:
|
|
22
22
|
items = client.files(data_set_external_ids=data_set_external_id)
|
|
23
|
-
return None, items
|
|
23
|
+
return None, cls._filter_out_instance_id(items)
|
|
24
24
|
|
|
25
25
|
@classmethod
|
|
26
26
|
def _from_hierarchy(
|
|
@@ -30,9 +30,16 @@ class FilesExtractor(ClassicCDFBaseExtractor[FileMetadata]):
|
|
|
30
30
|
filter=FileMetadataFilter(asset_subtree_ids=[{"externalId": root_asset_external_id}])
|
|
31
31
|
)[0].count
|
|
32
32
|
items = client.files(asset_subtree_external_ids=root_asset_external_id)
|
|
33
|
-
return total, items
|
|
33
|
+
return total, cls._filter_out_instance_id(items)
|
|
34
34
|
|
|
35
35
|
@classmethod
|
|
36
36
|
def _from_file(cls, file_path: str | Path) -> tuple[int | None, Iterable[FileMetadata]]:
|
|
37
37
|
file_metadata = FileMetadataList.load(Path(file_path).read_text())
|
|
38
|
-
return len(file_metadata), file_metadata
|
|
38
|
+
return len(file_metadata), cls._filter_out_instance_id(file_metadata)
|
|
39
|
+
|
|
40
|
+
@classmethod
|
|
41
|
+
def _filter_out_instance_id(cls, items: Iterable[FileMetadata]) -> Iterable[FileMetadata]:
|
|
42
|
+
"""Filter out TimeSeries with InstanceId."""
|
|
43
|
+
# If the InstanceId is not None, it means that the TimeSeries is already connected to CogniteTimeSeries in DMS.
|
|
44
|
+
# We do not want to download it again.
|
|
45
|
+
return (item for item in items if item.instance_id is None)
|
|
@@ -9,9 +9,9 @@ from cognite.client import CogniteClient
|
|
|
9
9
|
from cognite.client.data_classes import Relationship, RelationshipList
|
|
10
10
|
from rdflib import Namespace, URIRef
|
|
11
11
|
|
|
12
|
-
from cognite.neat._issues.warnings import NeatValueWarning
|
|
13
|
-
from cognite.neat._shared import Triple
|
|
14
|
-
from cognite.neat._utils.auxiliary import create_sha256_hash
|
|
12
|
+
from cognite.neat.core._issues.warnings import NeatValueWarning
|
|
13
|
+
from cognite.neat.core._shared import Triple
|
|
14
|
+
from cognite.neat.core._utils.auxiliary import create_sha256_hash
|
|
15
15
|
|
|
16
16
|
from ._base import DEFAULT_SKIP_METADATA_VALUES, ClassicCDFBaseExtractor, InstanceIdPrefix, T_CogniteResource
|
|
17
17
|
|
|
@@ -34,6 +34,7 @@ class RelationshipsExtractor(ClassicCDFBaseExtractor[Relationship]):
|
|
|
34
34
|
as_write: bool = False,
|
|
35
35
|
prefix: str | None = None,
|
|
36
36
|
identifier: typing.Literal["id", "externalId"] = "id",
|
|
37
|
+
skip_connections: bool = False,
|
|
37
38
|
):
|
|
38
39
|
# This is used by the ClassicExtractor to log the target nodes, such
|
|
39
40
|
# that it can extract them.
|
|
@@ -53,6 +54,7 @@ class RelationshipsExtractor(ClassicCDFBaseExtractor[Relationship]):
|
|
|
53
54
|
as_write=as_write,
|
|
54
55
|
prefix=prefix,
|
|
55
56
|
identifier=identifier,
|
|
57
|
+
skip_connections=skip_connections,
|
|
56
58
|
)
|
|
57
59
|
self._uri_by_external_id_by_type: dict[InstanceIdPrefix, dict[str, URIRef]] = defaultdict(dict)
|
|
58
60
|
self._target_triples: list[tuple[URIRef, URIRef, str, str]] = []
|
|
@@ -10,8 +10,11 @@ from cognite.client.data_classes import Sequence, SequenceFilter
|
|
|
10
10
|
from rdflib import RDF, XSD, Literal, Namespace, URIRef
|
|
11
11
|
from typing_extensions import Self
|
|
12
12
|
|
|
13
|
-
from cognite.neat._client.data_classes.neat_sequence import
|
|
14
|
-
|
|
13
|
+
from cognite.neat.core._client.data_classes.neat_sequence import (
|
|
14
|
+
NeatSequence,
|
|
15
|
+
NeatSequenceList,
|
|
16
|
+
)
|
|
17
|
+
from cognite.neat.core._shared import Triple
|
|
15
18
|
|
|
16
19
|
from ._base import DEFAULT_SKIP_METADATA_VALUES, ClassicCDFBaseExtractor, InstanceIdPrefix
|
|
17
20
|
|
|
@@ -54,6 +57,7 @@ class SequencesExtractor(ClassicCDFBaseExtractor[NeatSequence]):
|
|
|
54
57
|
prefix: str | None = None,
|
|
55
58
|
identifier: typing.Literal["id", "externalId"] = "id",
|
|
56
59
|
unpack_columns: bool = False,
|
|
60
|
+
skip_connections: bool = False,
|
|
57
61
|
):
|
|
58
62
|
super().__init__(
|
|
59
63
|
items,
|
|
@@ -66,6 +70,7 @@ class SequencesExtractor(ClassicCDFBaseExtractor[NeatSequence]):
|
|
|
66
70
|
as_write,
|
|
67
71
|
prefix,
|
|
68
72
|
identifier,
|
|
73
|
+
skip_connections,
|
|
69
74
|
)
|
|
70
75
|
self.unpack_columns = unpack_columns
|
|
71
76
|
|
|
@@ -23,7 +23,7 @@ class TimeSeriesExtractor(ClassicCDFBaseExtractor[TimeSeries]):
|
|
|
23
23
|
filter=TimeSeriesFilter(data_set_ids=[{"externalId": data_set_external_id}])
|
|
24
24
|
)
|
|
25
25
|
items = client.time_series(data_set_external_ids=data_set_external_id)
|
|
26
|
-
return total, items
|
|
26
|
+
return total, cls._filter_out_instance_id(items)
|
|
27
27
|
|
|
28
28
|
@classmethod
|
|
29
29
|
def _from_hierarchy(
|
|
@@ -33,9 +33,16 @@ class TimeSeriesExtractor(ClassicCDFBaseExtractor[TimeSeries]):
|
|
|
33
33
|
filter=TimeSeriesFilter(asset_subtree_ids=[{"externalId": root_asset_external_id}])
|
|
34
34
|
)
|
|
35
35
|
items = client.time_series(asset_subtree_external_ids=root_asset_external_id)
|
|
36
|
-
return total, items
|
|
36
|
+
return total, cls._filter_out_instance_id(items)
|
|
37
37
|
|
|
38
38
|
@classmethod
|
|
39
39
|
def _from_file(cls, file_path: str | Path) -> tuple[int | None, Iterable[TimeSeries]]:
|
|
40
40
|
timeseries = TimeSeriesList.load(Path(file_path).read_text())
|
|
41
|
-
return len(timeseries), timeseries
|
|
41
|
+
return len(timeseries), cls._filter_out_instance_id(timeseries)
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def _filter_out_instance_id(cls, items: Iterable[TimeSeries]) -> Iterable[TimeSeries]:
|
|
45
|
+
"""Filter out TimeSeries with InstanceId."""
|
|
46
|
+
# If the InstanceId is not None, it means that the TimeSeries is already connected to CogniteTimeSeries in DMS.
|
|
47
|
+
# We do not want to download it again.
|
|
48
|
+
return (item for item in items if item.instance_id is None)
|
|
@@ -7,8 +7,8 @@ from cognite.client import data_modeling as dm
|
|
|
7
7
|
from cognite.client.data_classes.data_modeling.instances import Instance
|
|
8
8
|
from rdflib import XSD, Literal, Namespace, URIRef
|
|
9
9
|
|
|
10
|
-
from cognite.neat._shared import Triple
|
|
11
|
-
from cognite.neat._utils.auxiliary import string_to_ideal_type
|
|
10
|
+
from cognite.neat.core._shared import Triple
|
|
11
|
+
from cognite.neat.core._utils.auxiliary import string_to_ideal_type
|
|
12
12
|
|
|
13
13
|
from ._base import BaseExtractor
|
|
14
14
|
|
|
@@ -9,12 +9,12 @@ from cognite.client.data_classes.data_modeling.instances import Edge, Instance,
|
|
|
9
9
|
from cognite.client.utils.useful_types import SequenceNotStr
|
|
10
10
|
from rdflib import RDF, Literal, Namespace, URIRef
|
|
11
11
|
|
|
12
|
-
from cognite.neat._client import NeatClient
|
|
13
|
-
from cognite.neat._config import GLOBAL_CONFIG
|
|
14
|
-
from cognite.neat._constants import DEFAULT_SPACE_URI, is_readonly_property
|
|
15
|
-
from cognite.neat._issues.errors import ResourceRetrievalError
|
|
16
|
-
from cognite.neat._shared import Triple
|
|
17
|
-
from cognite.neat._utils.collection_ import iterate_progress_bar
|
|
12
|
+
from cognite.neat.core._client import NeatClient
|
|
13
|
+
from cognite.neat.core._config import GLOBAL_CONFIG
|
|
14
|
+
from cognite.neat.core._constants import DEFAULT_SPACE_URI, is_readonly_property
|
|
15
|
+
from cognite.neat.core._issues.errors import ResourceRetrievalError
|
|
16
|
+
from cognite.neat.core._shared import Triple
|
|
17
|
+
from cognite.neat.core._utils.collection_ import iterate_progress_bar
|
|
18
18
|
|
|
19
19
|
from ._base import BaseExtractor
|
|
20
20
|
from ._dict import DEFAULT_EMPTY_VALUES, DMSPropertyExtractor
|
|
@@ -5,17 +5,21 @@ from cognite.client.exceptions import CogniteAPIError
|
|
|
5
5
|
from cognite.client.utils.useful_types import SequenceNotStr
|
|
6
6
|
from rdflib import Namespace, URIRef
|
|
7
7
|
|
|
8
|
-
from cognite.neat._client import NeatClient
|
|
9
|
-
from cognite.neat._constants import COGNITE_SPACES, DEFAULT_NAMESPACE
|
|
10
|
-
from cognite.neat._issues import IssueList, NeatIssue, catch_warnings
|
|
11
|
-
from cognite.neat._issues.warnings import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
from cognite.neat._rules.
|
|
17
|
-
from cognite.neat._rules.
|
|
18
|
-
from cognite.neat.
|
|
8
|
+
from cognite.neat.core._client import NeatClient
|
|
9
|
+
from cognite.neat.core._constants import COGNITE_SPACES, DEFAULT_NAMESPACE
|
|
10
|
+
from cognite.neat.core._issues import IssueList, NeatIssue, catch_warnings
|
|
11
|
+
from cognite.neat.core._issues.warnings import (
|
|
12
|
+
CDFAuthWarning,
|
|
13
|
+
ResourceNotFoundWarning,
|
|
14
|
+
ResourceRetrievalWarning,
|
|
15
|
+
)
|
|
16
|
+
from cognite.neat.core._rules.importers import DMSImporter
|
|
17
|
+
from cognite.neat.core._rules.models import DMSRules, InformationRules
|
|
18
|
+
from cognite.neat.core._rules.models.data_types import Json
|
|
19
|
+
from cognite.neat.core._rules.models.entities import UnknownEntity
|
|
20
|
+
from cognite.neat.core._rules.models.information import InformationProperty
|
|
21
|
+
from cognite.neat.core._rules.transformers import DMSToInformation, VerifyDMSRules
|
|
22
|
+
from cognite.neat.core._shared import Triple
|
|
19
23
|
|
|
20
24
|
from ._base import KnowledgeGraphExtractor
|
|
21
25
|
from ._dms import DMSExtractor
|
|
@@ -11,15 +11,15 @@ import numpy
|
|
|
11
11
|
import pandas as pd
|
|
12
12
|
from rdflib import RDF, Literal, Namespace, URIRef
|
|
13
13
|
|
|
14
|
-
from cognite.neat._rules._constants import EntityTypes
|
|
15
|
-
from cognite.neat._rules.analysis import RulesAnalysis
|
|
16
|
-
from cognite.neat._rules.models import DMSRules, InformationRules
|
|
17
|
-
from cognite.neat._rules.models.data_types import DataType
|
|
18
|
-
from cognite.neat._rules.models.entities import ClassEntity
|
|
19
|
-
from cognite.neat._rules.models.information import InformationProperty
|
|
20
|
-
from cognite.neat._rules.transformers import SubsetInformationRules
|
|
21
|
-
from cognite.neat._shared import Triple
|
|
22
|
-
from cognite.neat._utils.rdf_ import remove_namespace_from_uri
|
|
14
|
+
from cognite.neat.core._rules._constants import EntityTypes
|
|
15
|
+
from cognite.neat.core._rules.analysis import RulesAnalysis
|
|
16
|
+
from cognite.neat.core._rules.models import DMSRules, InformationRules
|
|
17
|
+
from cognite.neat.core._rules.models.data_types import DataType
|
|
18
|
+
from cognite.neat.core._rules.models.entities import ClassEntity
|
|
19
|
+
from cognite.neat.core._rules.models.information import InformationProperty
|
|
20
|
+
from cognite.neat.core._rules.transformers import SubsetInformationRules
|
|
21
|
+
from cognite.neat.core._shared import Triple
|
|
22
|
+
from cognite.neat.core._utils.rdf_ import remove_namespace_from_uri
|
|
23
23
|
|
|
24
24
|
from ._base import BaseExtractor
|
|
25
25
|
|
|
@@ -45,7 +45,7 @@ class MockGraphGenerator(BaseExtractor):
|
|
|
45
45
|
):
|
|
46
46
|
if isinstance(rules, DMSRules):
|
|
47
47
|
# fixes potential issues with circular dependencies
|
|
48
|
-
from cognite.neat._rules.transformers import DMSToInformation
|
|
48
|
+
from cognite.neat.core._rules.transformers import DMSToInformation
|
|
49
49
|
|
|
50
50
|
self.rules = DMSToInformation().transform(rules)
|
|
51
51
|
elif isinstance(rules, InformationRules):
|
|
@@ -6,9 +6,9 @@ from cognite.client.data_classes import Row, RowList
|
|
|
6
6
|
from cognite.client.utils.useful_types import SequenceNotStr
|
|
7
7
|
from rdflib import RDF, Namespace, URIRef
|
|
8
8
|
|
|
9
|
-
from cognite.neat._client import NeatClient
|
|
10
|
-
from cognite.neat._constants import DEFAULT_RAW_URI
|
|
11
|
-
from cognite.neat._shared import Triple
|
|
9
|
+
from cognite.neat.core._client import NeatClient
|
|
10
|
+
from cognite.neat.core._constants import DEFAULT_RAW_URI
|
|
11
|
+
from cognite.neat.core._shared import Triple
|
|
12
12
|
|
|
13
13
|
from ._base import BaseExtractor
|
|
14
14
|
from ._dict import DEFAULT_EMPTY_VALUES, DictExtractor
|
|
@@ -7,13 +7,16 @@ from rdflib import URIRef
|
|
|
7
7
|
from rdflib.util import guess_format
|
|
8
8
|
from typing_extensions import Self
|
|
9
9
|
|
|
10
|
-
from cognite.neat._constants import DEFAULT_BASE_URI
|
|
11
|
-
from cognite.neat._graph._shared import RDFTypes
|
|
12
|
-
from cognite.neat._graph.extractors._base import BaseExtractor
|
|
13
|
-
from cognite.neat._issues._base import IssueList
|
|
14
|
-
from cognite.neat._issues.errors import
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
from cognite.neat.core._constants import DEFAULT_BASE_URI
|
|
11
|
+
from cognite.neat.core._graph._shared import RDFTypes
|
|
12
|
+
from cognite.neat.core._graph.extractors._base import BaseExtractor
|
|
13
|
+
from cognite.neat.core._issues._base import IssueList
|
|
14
|
+
from cognite.neat.core._issues.errors import (
|
|
15
|
+
FileNotFoundNeatError,
|
|
16
|
+
FileTypeUnexpectedError,
|
|
17
|
+
)
|
|
18
|
+
from cognite.neat.core._issues.errors._general import NeatValueError
|
|
19
|
+
from cognite.neat.core._shared import Triple
|
|
17
20
|
|
|
18
21
|
|
|
19
22
|
class RdfFileExtractor(BaseExtractor):
|