cognite-neat 0.122.0__tar.gz → 0.122.2__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.122.0 → cognite_neat-0.122.2}/PKG-INFO +4 -4
- cognite_neat-0.122.2/cognite/neat/_version.py +2 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_dms2data_model.py +2 -2
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/transformers/_converters.py +1 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/transformers/_mapping.py +1 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/transformers/_verification.py +1 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/loaders/__init__.py +2 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/loaders/_base.py +4 -10
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/loaders/_rdf2dms.py +25 -132
- cognite_neat-0.122.2/cognite/neat/core/_instances/loaders/_rdf_to_instance_space.py +249 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/queries/_select.py +12 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_base.py +2 -2
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_drop.py +1 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_fix.py +1 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_mapping.py +1 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_prepare.py +3 -3
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_read.py +10 -10
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_set.py +1 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_state.py +2 -2
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_subset.py +2 -2
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_template.py +3 -3
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_to.py +21 -14
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/exceptions.py +5 -2
- cognite_neat-0.122.2/last_changelog_entry.md +4 -0
- cognite_neat-0.122.2/last_git_message.txt +17 -0
- cognite_neat-0.122.2/last_version.txt +1 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/pyproject.toml +2 -2
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_data_model_to.py +3 -3
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_graph_flow.py +29 -5
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_loaders/test_dms_loader.py +8 -4
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_loaders/test_rdf2dms.py +7 -2
- cognite_neat-0.122.2/tests/tests_unit/test_graph/test_loaders/test_rdf_to_instance_space.py +133 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/test_inference_importer.py +4 -2
- cognite_neat-0.122.2/tests/tests_unit/test_store/test_select_queries.py +25 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/uv.lock +5 -5
- cognite_neat-0.122.0/cognite/neat/_version.py +0 -2
- cognite_neat-0.122.0/last_changelog_entry.md +0 -6
- cognite_neat-0.122.0/last_git_message.txt +0 -32
- cognite_neat-0.122.0/last_version.txt +0 -1
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.coveragerc +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.github/CODEOWNERS +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.github/ISSUE_TEMPLATE/bug-report.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.github/pull_request_template.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.github/renovate.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.github/workflows/code-quality.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.github/workflows/release.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.gitignore +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.pre-commit-config.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/.readthedocs.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/CODE_OF_CONDUCT.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/CONTRIBUTING.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/LICENSE +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/README.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cdf.toml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/codecov.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/_api/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/_api/data_modeling_loaders.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/_api/neat_instances.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/_api/schema.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/_api/statistics.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/_api_client.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/data_classes/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/data_classes/data_modeling.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/data_classes/neat_sequence.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/data_classes/schema.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/data_classes/statistics.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_client/testing.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_config.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_constants.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/_constants.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/_shared.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/analysis/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/analysis/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/catalog/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/catalog/classic_model.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/catalog/conceptual-imf-data-model.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/catalog/hello_world_pump.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/exporters/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/exporters/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/exporters/_data_model2dms.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/exporters/_data_model2excel.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/exporters/_data_model2instance_template.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/exporters/_data_model2ontology.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/exporters/_data_model2yaml.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_base_file_reader.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_dict2data_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_dtdl2data_model/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_dtdl2data_model/_unit_lookup.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_dtdl2data_model/dtdl_converter.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_dtdl2data_model/dtdl_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_dtdl2data_model/spec.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_rdf/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_rdf/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_rdf/_imf2data_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_rdf/_inference2rdata_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_rdf/_owl2data_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_rdf/_shared.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/importers/_spreadsheet2data_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/_base_unverified.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/_base_verified.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/_types.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/conceptual/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/conceptual/_unverified.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/conceptual/_validation.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/conceptual/_verified.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/data_types.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/entities/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/entities/_constants.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/entities/_loaders.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/entities/_multi_value.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/entities/_single_value.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/entities/_types.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/entities/_wrapped.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/mapping/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/mapping/_classic2core.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/mapping/_classic2core.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/physical/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/physical/_exporter.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/physical/_unverified.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/physical/_validation.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/models/physical/_verified.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/transformers/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/transformers/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/_shared.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/_tracking/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/_tracking/base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/_tracking/log.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/examples/Knowledge-Graph-Nordic44-dirty.xml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/examples/Knowledge-Graph-Nordic44.xml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/examples/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/examples/skos-capturing-sheet-wind-topics.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_assets.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_classic.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_data_sets.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_events.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_files.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_labels.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_relationships.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_sequences.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_classic_cdf/_timeseries.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_dict.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_dms.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_dms_graph.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_mock_graph_generator.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_raw.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/extractors/_rdf_file.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/queries/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/queries/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/queries/_queries.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/queries/_update.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/transformers/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/transformers/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/transformers/_classic_cdf.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/transformers/_prune_graph.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/transformers/_rdfpath.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/transformers/_value_type.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/_contextmanagers.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/_factory.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/errors/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/errors/_external.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/errors/_general.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/errors/_properties.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/errors/_resources.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/errors/_wrapper.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/formatters.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/warnings/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/warnings/_external.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/warnings/_general.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/warnings/_models.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/warnings/_properties.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/warnings/_resources.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_issues/warnings/user_modeling.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_shared.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_store/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_store/_data_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_store/_instance.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_store/_provenance.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_store/exceptions.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/auth.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/auxiliary.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/collection_.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/graph_transformations_report.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/io_.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/rdf_.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/reader/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/reader/_base.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/spreadsheet.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/text.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/time_.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/upload.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_utils/xml_.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/py.typed +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_collector.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_experimental.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_explore.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_inspect.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_show.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_state/README.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/_wizard.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/engine/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/engine/_import.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/engine/_interface.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/session/engine/_load.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/dev.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/DataModelCDF.PNG +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/DataModelInstancesCDF.PNG +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/DataModelInstancesVizCDF.PNG +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/aml-dm-cdf.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/aml-dm.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/aml-instances-cdf.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/aml-instances-full.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_dms.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_dms_typed.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_populated.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_populated_with_typed.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/authorship.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/base-components.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/bid_capacity_data_model.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/change_validate_step.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/connecting_metadata_dm.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/connecting_metadata_populated.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/connecting_metadata_published_dm.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/container_spec.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/core_extension.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/core_extension_excel.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/core_extension_no_connection.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/core_extension_with_properties.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/data-exploration.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/data-model-nordic44.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/data-modeling-flow.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dexpi-dm-cdf.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dexpi-dm-viz.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dexpi-graph-viz.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dexpi-instance-cdf.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dexpi-transformed-graph-viz.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dm-classes.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dm-object-shapes.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dm-prefixes.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dm-source-to-solution-mapping.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dm2cdf-asset.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/dm2cdf-mapping.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/execution-history.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/export_dms_config.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/export_dms_executed.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/export_dms_workflow.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/features.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/graph-etl-flow.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/high-level-io.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/instances-nordic44.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/instances-sheet.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/key-aspects-of-neat.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/knowledge-graph-viz-filtering.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/knowledge-graph-viz.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/life_cycle_analitic_solution_export_dms.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/life_cycle_converter_model_analytic_solution_model.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/life_cycle_download_reference_model_analytic_soluteion_model.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/life_cycle_download_reference_model_analytic_solution_model_export.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/logo.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/metadata-sheet.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/multi-hop.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/neat-high-level.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/neat-two_flows.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/neat_shift_tab.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/neat_tab.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/prefixes-sheet.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/pump_hello_world_published.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf-in-nutshell.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf2cdf-graph-change.jpg +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf2cdf-graph-resurrect.jpg +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf2cdf-graph.jpg +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf2cdf-init-run-step1.jpg +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf2cdf-init-run-step2.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf2cdf-init-run.jpg +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/rdf2cdf-post-init.jpg +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/run_workflow.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/sheet2cdf-asset-hierarchy.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/sheet2cdf-running-workflow.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/sheet2cdf-transformation-rules-ui.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/sheet2cdf-upload-rules.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/sheet2cdf-workflow-steps.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/sheet2cdf-workflow.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/sheet2cdf-workflow.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/step-configurables.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/step-metrics.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/tutorial-notebooks-part-2_graph-capturing-sheet.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/validate_workflow.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/wf-ephemeral-mode.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/wf-overview.gif +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/wf-persistent-blocking-mode.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/wf-persistent-non-blocking.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/wf-start-mode-ui.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/wind_farm_classic_knowledge_graph.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/wind_farm_data_product_instances.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/work-in-progress.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/workflow-context.jpg +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/working_with_metadata_provenance.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/figs/working_with_metadata_published_dm.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/cdf-dms-architect-alice.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/dms-addition-svein-harald.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/dms-analytics-olav.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/dms-architect-rules-raw-filter-example.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/dms-architect-rules-template.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/dms-rebuild-olav.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/domain-expert-rules-template.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/expert-grid-emma.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/expert-wind-energy-jon.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/information-addition-svein-harald.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/information-analytics-olav-ref.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/information-analytics-olav.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/information-architect-david.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/rules/information-architect-rules-template.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-1-defining-data-model.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-1-download-rules-template.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-1-upload-gql-schema-to-cdf.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-2-graph-capturing-sheet.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-3-asset-hierarchy.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-3-decommissioning.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-3-relationships.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-3-resurrection.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/artifacts/videos/tutorial-4-asset-hierarchy.mp4 +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/data-modeling-principles.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/conceptual/overview.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/conceptual/reference.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/data_model.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/physical/enum.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/physical/overview.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/physical/properties.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/physical/reference.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/physical/views.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/excel_data_modeling/units.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/gettingstarted/installation.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/gettingstarted/why-neat.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/index.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/base.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/drop.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/fix.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/inspect.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/mapping.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/prepare.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/read.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/set.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/show.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/subset.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/template.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/NeatSession/to.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/issues/base.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/issues/errors.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/issues/user_model_warnings.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/issues/warnings.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/reference/overview.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/cold_start.ipynb +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/figs/data-modeling-flow.png +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/files/wind_farm_prospecting_conceptual_data_model.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/files/wind_farm_prospecting_conceptual_data_model_expanded.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/files/wind_farm_prospecting_physical_data_model.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/from-conceptual-to-physical-via-CDM.ipynb +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_conceptual_wind_energy_WindFarmProspecting_v1.html +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_conceptual_wind_energy_WindFarmProspecting_v1_implements.html +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_physical_neat_playground_NeatHelloWorld_v1.html +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/my_first_model.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/data-modeling/physical-data-model.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/docs/tutorials/introduction/introduction.ipynb +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/mkdocs.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/clean_space.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/core_classic_mapping.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/create_classic_core_mapping_yaml.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/dependency_profiler.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/docs_generate_reference.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/docs_generate_unit.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/generate_steps_md.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/.gitignore +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/README.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/config.dev.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/neat_integration_runner/README.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/neat_integration_runner/auth/neat_cicd_testing.group.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/lift_pumps/classic/lift_pump_stations_root.Asset.csv +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/lift_pumps/data_sets/hierarchies.DataSet.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/lift_pumps/raw/collections_pump.Table.csv +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/lift_pumps/raw/collections_pump.Table.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/Measurement.Asset.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/Measurement.Label.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/MetMast.Asset.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/PowerGeneratingUnit.Label.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/Utsira.Asset.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-01.Asset.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-01_to_MetMast.Relationship.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-02.Asset.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-02_to_MetMast.Relationship.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/WindTurbine.Label.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/metMast.Label.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/planned_WT-01_2022-01-01.Event.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/classic/power_curve_manufacturer1.Sequence.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/data_sets/maintenance.DataSet.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/data_sets/source_ds.DataSet.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/data_sets/usecase_01.DataSet.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/files/WT-01_datasheet.FileMetadata.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/files/WT-01_datasheet.txt +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-01_forecast.TimeSeries.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-01_production.TimeSeries.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-02_forecast.TimeSeries.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-02_production.TimeSeries.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/manual_test_dms_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/migration.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/oxi_remote/README.md +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/oxi_remote/docker-compose.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/test_lookup_table.csv +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/scripts/windfarm_to_toolkit.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/config.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/conftest.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/IMF_TempTransmitterComplete.ttl +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/aml-raw-graph.ttl +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/aml_example.aml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/car.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/dexpi-raw-graph.ttl +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/dexpi_example.xml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/iodd_Piab-piCOMPACT10X-20230509-IODD1.1.xml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_graph/low-quality-graph.ttl +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/assets.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/events.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/files.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/labels.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/relationships.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/sequence_rows.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/sequences.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/asset_centric_cdf/timeseries.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_instances/classic_windfarm.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/conceptual/broken_concepts.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/conceptual/info-arch-car-rules.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/conceptual/info_with_cdm_ref.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/conceptual/information-unknown-value-type.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/conceptual/only_concepts.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/conversion/single_concept.conceptual.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/conversion/single_concept.physical.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/cognite_core_v1.zip +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/TemperatureController.zip +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/BaseConsumer.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/BasePlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/BaseReceiver.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/CityPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/CoalPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/DeliverySubStation.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/DomesticConsumer.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/FarmConsumer.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/Floor.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/GasPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/GeneratorSubStation.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/HydroPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/IndustrialConsumer.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/IndustrialPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/NuclearPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/PowerLine.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/Room.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/SolarPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/Transformer.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/dtdl/energy-grid/WindPlant.json +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/referencing_core/MyDescribable.container.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/referencing_core/MyDescribable.view.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/referencing_core/enterprise.datamodel.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/non_neat/windturbine.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/partial-model/complete.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/partial-model/part1.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/partial-model/part2.ttl +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/partial-model/part3.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/car_dms_rules.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/car_dms_rules_deprecated.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/dm_raw_filter.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/dm_view_space_different.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/dms-unknown-value-type.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/isa_plus_cdm.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/missing-in-model-value.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/mixed-up-version.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/pump_example_duplicated_resources.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/pump_example_with_missing_cells.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical/pump_example_with_missing_cells_raise_issues.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_invalid/inconsistent_container_dms_rules.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_invalid/invalid_metadata.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_invalid/invalid_property_dms_rules.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_invalid/missing_view_container_dms_rules.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_invalid/too_many_containers_per_view.xlsx +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_yamls/invalid_yaml.expected_issues.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_yamls/invalid_yaml.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_yamls/reverse_direct_relation_missing_target.expected_issues.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/data/_schema/physical_yamls/reverse_direct_relation_missing_target.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_end_to_end/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_end_to_end/test_rules_flow/test_cdm_extension_verification.yaml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_end_to_end/test_rules_flow/test_excel_importer_to_yaml.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_end_to_end/test_rules_flow/test_ontology_importer_to_yaml.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_end_to_end/test_rules_flow/test_to_extension_transformer.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_end_to_end/test_rules_flow.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/conftest.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_api/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_api/test_conversion.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_api/test_validate_rules.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_client_available.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_graph/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_graph/test_loaders/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_graph/test_loaders/test_dms_loader.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_neat_client/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_neat_client/test_cdf_loaders.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_neat_client/test_statistics.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_rules/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_rules/test_exporters/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_rules/test_exporters/test_dms_exporters.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_rules/test_importers/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_create_enterprise.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_data_model_prepare_fix/test_prefix_dms_rules_entities.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_data_model_prepare_fix/test_prefix_info_rules_entities.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_data_model_prepare_fix/test_standardize_space_and_version.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_data_model_prepare_fix.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_data_model_to/test_raw_filter.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_graph_flow/test_aml_to_dms.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_graph_flow/test_create_extension_template.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_graph_flow/test_dexpi_to_dms.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_graph_flow/test_snapshot_workflow_ids_to_python.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_graph_flow/test_snapshot_workflow_to_python.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_graph_flow/test_uplift_workflow_to_python.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_read/test_read_model_referencing_core.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_session/test_read.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_utils/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_integration/test_utils/test_reader.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_asset_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_dms_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_dms_graph_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_events_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_files_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_labels_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_raw_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_relationship_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_sequences_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_extractors/test_timeseries_extractor.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_graph_read.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_loaders/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_provenance.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_asset_depth_transformer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_asset_event_connector_transformer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_asset_file_connector_transformer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_asset_relationship_connector_transformer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_asset_sequence_connector_transformer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_asset_ts_connector_transformer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_attach_property_from_target2source.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_connection_to_literal.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_make_connection_on_exact_match.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_prune_graph.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_graph/test_transformers/test_split_multi_value_property_transformer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_issues/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_issues/test_formatters.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_issues/test_issue_behavior.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_issues/test_issues_metatests.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_neat_client/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_neat_client/test_instances.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_neat_client/test_loaders.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_neat_client/test_schema.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_neat_package_metadata.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_analysis.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_exporters/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_exporters/test_exporters_meta.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_exporters/test_rules2dms.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_exporters/test_rules2excel.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_exporters/test_rules2ontology.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_exporters/test_rules2yaml.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/constants.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/test_dms_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/test_dtdl_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/test_excel_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/test_imf_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/test_owl_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_importers/test_subinference_importer.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_asset_rules.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_base_rules.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_conceptual_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_data_types.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_dms_schema.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_entities.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_input_rules.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_physical_data_model.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/test_wrapped_entities.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_models/utils.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_transformers/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_transformers/test_converters.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_transformers/test_mapping.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_rules/test_transformers/test_transformer_meta.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_session/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_session/test_meta.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_session/test_read.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_session/test_to_yaml.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_store/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_store/tests_rules_store/test_import_export.yml +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_store/tests_rules_store.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_utils/__init__.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_utils/test_auxiliary.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_utils/test_cdf_classes.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_utils/test_rdf.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_utils/test_reader.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_utils/test_text.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/tests_unit/test_utils/test_utils.py +0 -0
- {cognite_neat-0.122.0 → cognite_neat-0.122.2}/tests/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cognite-neat
|
|
3
|
-
Version: 0.122.
|
|
3
|
+
Version: 0.122.2
|
|
4
4
|
Summary: Knowledge graph transformation
|
|
5
5
|
Project-URL: Documentation, https://cognite-neat.readthedocs-hosted.com/
|
|
6
6
|
Project-URL: Homepage, https://cognite-neat.readthedocs-hosted.com/
|
|
@@ -47,9 +47,9 @@ Requires-Dist: google-auth-oauthlib<2.0.0,>=1.0.0; extra == 'google'
|
|
|
47
47
|
Requires-Dist: gspread<6.0.0,>=5.0.0; extra == 'google'
|
|
48
48
|
Provides-Extra: lxml
|
|
49
49
|
Requires-Dist: lxml<6.0.0,>=5.3.0; extra == 'lxml'
|
|
50
|
-
Provides-Extra:
|
|
51
|
-
Requires-Dist: oxrdflib<0.5.0,>=0.4.0; extra == '
|
|
52
|
-
Requires-Dist: pyoxigraph<0.5.0,>=0.4.3; extra == '
|
|
50
|
+
Provides-Extra: oxi
|
|
51
|
+
Requires-Dist: oxrdflib<0.5.0,>=0.4.0; extra == 'oxi'
|
|
52
|
+
Requires-Dist: pyoxigraph<0.5.0,>=0.4.3; extra == 'oxi'
|
|
53
53
|
Description-Content-Type: text/markdown
|
|
54
54
|
|
|
55
55
|
# kNowlEdge grAph Transformer (NEAT)
|
|
@@ -269,14 +269,14 @@ class DMSImporter(BaseImporter[UnverifiedPhysicalDataModel]):
|
|
|
269
269
|
|
|
270
270
|
model = self.schema.data_model
|
|
271
271
|
|
|
272
|
-
user_data_model = self.
|
|
272
|
+
user_data_model = self._create_data_model_components(model, self.schema, self.metadata)
|
|
273
273
|
|
|
274
274
|
self.issue_list.trigger_warnings()
|
|
275
275
|
if self.issue_list.has_errors:
|
|
276
276
|
raise MultiValueError(self.issue_list.errors)
|
|
277
277
|
return ImportedDataModel(user_data_model, {})
|
|
278
278
|
|
|
279
|
-
def
|
|
279
|
+
def _create_data_model_components(
|
|
280
280
|
self,
|
|
281
281
|
data_model: dm.DataModelApply,
|
|
282
282
|
schema: DMSSchema,
|
|
@@ -2346,7 +2346,7 @@ class AddCogniteProperties(
|
|
|
2346
2346
|
) -> ImportedDataModel[UnverifiedConceptualDataModel]:
|
|
2347
2347
|
input_ = data_model.unverified_data_model
|
|
2348
2348
|
if input_ is None:
|
|
2349
|
-
raise NeatValueError("
|
|
2349
|
+
raise NeatValueError("Data model read failed. Cannot add cognite properties to None data_model.")
|
|
2350
2350
|
|
|
2351
2351
|
default_space = input_.metadata.space
|
|
2352
2352
|
default_version = input_.metadata.version
|
{cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_data_model/transformers/_mapping.py
RENAMED
|
@@ -29,7 +29,7 @@ from ._base import VerifiedDataModelTransformer
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
class MapOntoTransformers(VerifiedDataModelTransformer[PhysicalDataModel, PhysicalDataModel], ABC):
|
|
32
|
-
"""Base class for transformers that map one
|
|
32
|
+
"""Base class for transformers that map one data model onto another."""
|
|
33
33
|
|
|
34
34
|
...
|
|
35
35
|
|
|
@@ -54,7 +54,7 @@ class VerificationTransformer(DataModelTransformer[T_ImportedUnverifiedDataModel
|
|
|
54
54
|
elif issubclass(validation_cls, ConceptualValidation):
|
|
55
55
|
validation_issues = ConceptualValidation(verified_data_model, data_model.context).validate() # type: ignore[arg-type]
|
|
56
56
|
else:
|
|
57
|
-
raise NeatValueError("Unsupported
|
|
57
|
+
raise NeatValueError("Unsupported data model type")
|
|
58
58
|
issues.extend(validation_issues)
|
|
59
59
|
|
|
60
60
|
# Raise issues which is expected to be handled outside of this method
|
{cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/loaders/__init__.py
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
from ._base import BaseLoader, CDFLoader
|
|
2
2
|
from ._rdf2dms import DMSLoader
|
|
3
|
+
from ._rdf_to_instance_space import InstanceSpaceLoader
|
|
3
4
|
|
|
4
|
-
__all__ = ["BaseLoader", "CDFLoader", "DMSLoader"]
|
|
5
|
+
__all__ = ["BaseLoader", "CDFLoader", "DMSLoader", "InstanceSpaceLoader"]
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
def _repr_html_() -> str:
|
|
@@ -3,12 +3,11 @@ from collections.abc import Hashable, Iterable
|
|
|
3
3
|
from pathlib import Path
|
|
4
4
|
from typing import ClassVar, Generic, TypeVar
|
|
5
5
|
|
|
6
|
-
from cognite.client import CogniteClient
|
|
7
6
|
from cognite.client.data_classes.capabilities import Capability
|
|
8
7
|
|
|
8
|
+
from cognite.neat.core._client import NeatClient
|
|
9
9
|
from cognite.neat.core._issues import IssueList, NeatIssue
|
|
10
10
|
from cognite.neat.core._issues.errors import AuthorizationError
|
|
11
|
-
from cognite.neat.core._store import NeatInstanceStore
|
|
12
11
|
from cognite.neat.core._utils.auxiliary import class_html_doc
|
|
13
12
|
from cognite.neat.core._utils.upload import UploadResult, UploadResultList
|
|
14
13
|
|
|
@@ -29,9 +28,6 @@ class BaseLoader(ABC, Generic[T_Output]):
|
|
|
29
28
|
_new_line = "\n"
|
|
30
29
|
_encoding = "utf-8"
|
|
31
30
|
|
|
32
|
-
def __init__(self, instance_store: NeatInstanceStore):
|
|
33
|
-
self.instance_store = instance_store
|
|
34
|
-
|
|
35
31
|
@abstractmethod
|
|
36
32
|
def write_to_file(self, filepath: Path) -> None:
|
|
37
33
|
raise NotImplementedError
|
|
@@ -59,9 +55,7 @@ class BaseLoader(ABC, Generic[T_Output]):
|
|
|
59
55
|
class CDFLoader(BaseLoader[T_Output]):
|
|
60
56
|
_UPLOAD_BATCH_SIZE: ClassVar[int] = 1000
|
|
61
57
|
|
|
62
|
-
def load_into_cdf(
|
|
63
|
-
self, client: CogniteClient, dry_run: bool = False, check_client: bool = True
|
|
64
|
-
) -> UploadResultList:
|
|
58
|
+
def load_into_cdf(self, client: NeatClient, dry_run: bool = False, check_client: bool = True) -> UploadResultList:
|
|
65
59
|
upload_result_by_name: dict[str, UploadResult] = {}
|
|
66
60
|
for upload_result in self.load_into_cdf_iterable(client, dry_run, check_client):
|
|
67
61
|
if last_result := upload_result_by_name.get(upload_result.name):
|
|
@@ -72,7 +66,7 @@ class CDFLoader(BaseLoader[T_Output]):
|
|
|
72
66
|
return UploadResultList(upload_result_by_name.values())
|
|
73
67
|
|
|
74
68
|
def load_into_cdf_iterable(
|
|
75
|
-
self, client:
|
|
69
|
+
self, client: NeatClient, dry_run: bool = False, check_client: bool = True
|
|
76
70
|
) -> Iterable[UploadResult]:
|
|
77
71
|
if check_client:
|
|
78
72
|
missing_capabilities = client.iam.verify_capabilities(self._get_required_capabilities())
|
|
@@ -113,7 +107,7 @@ class CDFLoader(BaseLoader[T_Output]):
|
|
|
113
107
|
@abstractmethod
|
|
114
108
|
def _upload_to_cdf(
|
|
115
109
|
self,
|
|
116
|
-
client:
|
|
110
|
+
client: NeatClient,
|
|
117
111
|
items: list[T_Output],
|
|
118
112
|
dry_run: bool,
|
|
119
113
|
read_issues: IssueList,
|
{cognite_neat-0.122.0 → cognite_neat-0.122.2}/cognite/neat/core/_instances/loaders/_rdf2dms.py
RENAMED
|
@@ -6,7 +6,7 @@ from collections import defaultdict
|
|
|
6
6
|
from collections.abc import Iterable, Sequence
|
|
7
7
|
from dataclasses import dataclass
|
|
8
8
|
from pathlib import Path
|
|
9
|
-
from typing import Any, Literal, cast, get_args
|
|
9
|
+
from typing import Any, Literal, cast, get_args
|
|
10
10
|
|
|
11
11
|
import yaml
|
|
12
12
|
from cognite.client import CogniteClient
|
|
@@ -22,6 +22,7 @@ from rdflib import RDF, URIRef
|
|
|
22
22
|
from cognite.neat.core._client import NeatClient
|
|
23
23
|
from cognite.neat.core._client._api_client import SchemaAPI
|
|
24
24
|
from cognite.neat.core._constants import (
|
|
25
|
+
COGNITE_SPACES,
|
|
25
26
|
DMS_DIRECT_RELATION_LIST_DEFAULT_LIMIT,
|
|
26
27
|
is_readonly_property,
|
|
27
28
|
)
|
|
@@ -38,13 +39,11 @@ from cognite.neat.core._data_model.models.data_types import (
|
|
|
38
39
|
)
|
|
39
40
|
from cognite.neat.core._issues import IssueList, NeatError, NeatIssue, catch_issues
|
|
40
41
|
from cognite.neat.core._issues.errors import (
|
|
41
|
-
AuthorizationError,
|
|
42
42
|
ResourceCreationError,
|
|
43
43
|
ResourceDuplicatedError,
|
|
44
44
|
ResourceNotFoundError,
|
|
45
45
|
)
|
|
46
46
|
from cognite.neat.core._issues.warnings import (
|
|
47
|
-
NeatValueWarning,
|
|
48
47
|
PropertyDirectRelationLimitWarning,
|
|
49
48
|
PropertyMultipleValueWarning,
|
|
50
49
|
PropertyTypeNotSupportedWarning,
|
|
@@ -57,11 +56,8 @@ from cognite.neat.core._utils.collection_ import (
|
|
|
57
56
|
iterate_progress_bar_if_above_config_threshold,
|
|
58
57
|
)
|
|
59
58
|
from cognite.neat.core._utils.rdf_ import (
|
|
60
|
-
namespace_as_space,
|
|
61
59
|
remove_namespace_from_uri,
|
|
62
|
-
split_uri,
|
|
63
60
|
)
|
|
64
|
-
from cognite.neat.core._utils.text import NamingStandardization
|
|
65
61
|
from cognite.neat.core._utils.upload import UploadResult
|
|
66
62
|
|
|
67
63
|
from ._base import _END_OF_CLASS, _START_OF_CLASS, CDFLoader
|
|
@@ -103,14 +99,10 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
103
99
|
conceptual_data_model (ConceptualDataModel): Conceptual data model,
|
|
104
100
|
used to look+up the instances in the store.
|
|
105
101
|
instance_store (NeatInstanceStore): The instance store to load the instances from.
|
|
106
|
-
instance_space (str): The instance space to load the data into.
|
|
107
102
|
create_issues (Sequence[NeatIssue] | None): A list of issues that occurred during reading. Defaults to None.
|
|
108
103
|
client (NeatClient | None): This is used to lookup containers such that the loader
|
|
109
104
|
creates instances in accordance with required constraints. Defaults to None.
|
|
110
105
|
unquote_external_ids (bool): If True, the loader will unquote external ids before creating the instances.
|
|
111
|
-
neat_prefix_by_predicate_uri (dict[URIRef, str] | None): A dictionary that maps a predicate URIRef to a
|
|
112
|
-
prefix that Neat added to the object upon extraction. This is used to remove the prefix from the
|
|
113
|
-
object before creating the instance.
|
|
114
106
|
"""
|
|
115
107
|
|
|
116
108
|
def __init__(
|
|
@@ -118,24 +110,17 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
118
110
|
physical_data_model: PhysicalDataModel,
|
|
119
111
|
conceptual_data_model: ConceptualDataModel,
|
|
120
112
|
instance_store: NeatInstanceStore,
|
|
121
|
-
|
|
122
|
-
space_property: str | None = None,
|
|
123
|
-
use_source_space: bool = False,
|
|
113
|
+
space_by_instance_uri: dict[URIRef, str],
|
|
124
114
|
client: NeatClient | None = None,
|
|
125
115
|
create_issues: Sequence[NeatIssue] | None = None,
|
|
126
116
|
unquote_external_ids: bool = False,
|
|
127
|
-
neat_prefix_by_predicate_uri: dict[URIRef, str] | None = None,
|
|
128
117
|
neat_prefix_by_type_uri: dict[URIRef, str] | None = None,
|
|
129
118
|
):
|
|
130
|
-
|
|
119
|
+
self.instance_store = instance_store
|
|
131
120
|
self.physical_data_model = physical_data_model
|
|
132
121
|
self.conceptual_data_model = conceptual_data_model
|
|
133
|
-
self.neat_prefix_by_predicate_uri = neat_prefix_by_predicate_uri or {}
|
|
134
122
|
self.neat_prefix_by_type_uri = neat_prefix_by_type_uri or {}
|
|
135
|
-
self.
|
|
136
|
-
self._space_property = space_property
|
|
137
|
-
self._use_source_space = use_source_space
|
|
138
|
-
self._space_by_instance_uri: dict[URIRef, str] = defaultdict(lambda: instance_space)
|
|
123
|
+
self._space_by_instance_uri = space_by_instance_uri
|
|
139
124
|
self._external_id_by_uri: dict[URIRef, str] = {}
|
|
140
125
|
self._issues = IssueList(create_issues or [])
|
|
141
126
|
self._client = client
|
|
@@ -171,16 +156,6 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
171
156
|
return
|
|
172
157
|
view_iterations, issues = self._create_view_iterations()
|
|
173
158
|
yield from issues
|
|
174
|
-
if self._space_property:
|
|
175
|
-
yield from self._lookup_space_by_uri(view_iterations, stop_on_exception)
|
|
176
|
-
|
|
177
|
-
if self._client:
|
|
178
|
-
space_creation = self._create_instance_space_if_not_exists()
|
|
179
|
-
yield from space_creation.warnings
|
|
180
|
-
if space_creation.has_errors and stop_on_exception:
|
|
181
|
-
raise space_creation.as_exception()
|
|
182
|
-
yield from space_creation.errors
|
|
183
|
-
|
|
184
159
|
if self.neat_prefix_by_type_uri:
|
|
185
160
|
self._lookup_identifier_by_uri()
|
|
186
161
|
|
|
@@ -279,46 +254,6 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
279
254
|
view_iterations[view_id] = _ViewIterator(view_id, count, query)
|
|
280
255
|
return view_iterations
|
|
281
256
|
|
|
282
|
-
def _lookup_space_by_uri(self, view_iterations: list[_ViewIterator], stop_on_exception: bool = False) -> IssueList:
|
|
283
|
-
issues = IssueList()
|
|
284
|
-
if self._space_property is None:
|
|
285
|
-
return issues
|
|
286
|
-
total = sum(it.instance_count for it in view_iterations)
|
|
287
|
-
properties_by_uriref = self.instance_store.queries.select.properties()
|
|
288
|
-
space_property_uri = next((k for k, v in properties_by_uriref.items() if v == self._space_property), None)
|
|
289
|
-
if space_property_uri is None:
|
|
290
|
-
error: ResourceNotFoundError[str, str] = ResourceNotFoundError(
|
|
291
|
-
self._space_property,
|
|
292
|
-
"property",
|
|
293
|
-
more=f"Could not find the {self._space_property} in the graph.",
|
|
294
|
-
)
|
|
295
|
-
if stop_on_exception:
|
|
296
|
-
raise error
|
|
297
|
-
issues.append(error)
|
|
298
|
-
return issues
|
|
299
|
-
|
|
300
|
-
instance_iterable = self.instance_store.queries.select.list_instances_ids_by_space(space_property_uri)
|
|
301
|
-
instance_iterable = iterate_progress_bar_if_above_config_threshold(
|
|
302
|
-
instance_iterable, total, f"Looking up spaces for {total} instances..."
|
|
303
|
-
)
|
|
304
|
-
neat_prefix = self.neat_prefix_by_predicate_uri.get(space_property_uri)
|
|
305
|
-
warned_spaces: set[str] = set()
|
|
306
|
-
for instance, space in instance_iterable:
|
|
307
|
-
if neat_prefix:
|
|
308
|
-
space = space.removeprefix(neat_prefix)
|
|
309
|
-
|
|
310
|
-
clean_space = NamingStandardization.standardize_space_str(space)
|
|
311
|
-
if clean_space != space and space not in warned_spaces:
|
|
312
|
-
issues.append(
|
|
313
|
-
NeatValueWarning(
|
|
314
|
-
f"Invalid space in property {self._space_property}: {space}. Fixed to {clean_space}"
|
|
315
|
-
)
|
|
316
|
-
)
|
|
317
|
-
warned_spaces.add(space)
|
|
318
|
-
|
|
319
|
-
self._space_by_instance_uri[instance] = clean_space
|
|
320
|
-
return issues
|
|
321
|
-
|
|
322
257
|
def _lookup_identifier_by_uri(self) -> None:
|
|
323
258
|
if not self.neat_prefix_by_type_uri:
|
|
324
259
|
return
|
|
@@ -342,20 +277,6 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
342
277
|
if len(uris) == 1:
|
|
343
278
|
self._external_id_by_uri[uris[0]] = identifier
|
|
344
279
|
|
|
345
|
-
def _create_instance_space_if_not_exists(self) -> IssueList:
|
|
346
|
-
issues = IssueList()
|
|
347
|
-
if not self._client:
|
|
348
|
-
return issues
|
|
349
|
-
|
|
350
|
-
instance_spaces = set(self._space_by_instance_uri.values()) - {self._instance_space}
|
|
351
|
-
existing_spaces = {space.space for space in self._client.data_modeling.spaces.retrieve(list(instance_spaces))}
|
|
352
|
-
if missing_spaces := (instance_spaces - existing_spaces):
|
|
353
|
-
try:
|
|
354
|
-
self._client.data_modeling.spaces.apply([dm.SpaceApply(space=space) for space in missing_spaces])
|
|
355
|
-
except CogniteAPIError as e:
|
|
356
|
-
issues.append(AuthorizationError(f"Creating {len(missing_spaces)} instance spaces.", str(e)))
|
|
357
|
-
return issues
|
|
358
|
-
|
|
359
280
|
def _create_projection(self, view: dm.View) -> tuple[_Projection, IssueList]:
|
|
360
281
|
issues = IssueList()
|
|
361
282
|
field_definitions: dict[str, tuple[type, Any]] = {}
|
|
@@ -472,12 +393,10 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
472
393
|
)
|
|
473
394
|
value = value[:limit]
|
|
474
395
|
|
|
475
|
-
ids = (self._create_instance_id(v
|
|
396
|
+
ids = (self._create_instance_id(v) for v in value)
|
|
476
397
|
return [id_.dump(camel_case=True, include_instance_type=False) for id_ in ids]
|
|
477
398
|
elif value:
|
|
478
|
-
return self._create_instance_id(value[0],
|
|
479
|
-
camel_case=True, include_instance_type=False
|
|
480
|
-
)
|
|
399
|
+
return self._create_instance_id(value[0]).dump(camel_case=True, include_instance_type=False)
|
|
481
400
|
return {}
|
|
482
401
|
|
|
483
402
|
validators["parse_direct_relation"] = field_validator(*direct_relation_by_property.keys(), mode="before")( # type: ignore[assignment]
|
|
@@ -517,7 +436,7 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
517
436
|
projection: _Projection,
|
|
518
437
|
stop_on_exception: Literal[True, False] = False,
|
|
519
438
|
) -> Iterable[dm.InstanceApply | NeatIssue]:
|
|
520
|
-
instance_id = self._create_instance_id(instance_uri
|
|
439
|
+
instance_id = self._create_instance_id(instance_uri)
|
|
521
440
|
if not isinstance(instance_id, InstanceId):
|
|
522
441
|
yield instance_id
|
|
523
442
|
return
|
|
@@ -566,8 +485,8 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
566
485
|
return
|
|
567
486
|
|
|
568
487
|
if start_node and end_node:
|
|
569
|
-
start = self._create_instance_id(start_node
|
|
570
|
-
end = self._create_instance_id(end_node
|
|
488
|
+
start = self._create_instance_id(start_node)
|
|
489
|
+
end = self._create_instance_id(end_node)
|
|
571
490
|
if isinstance(start, NeatError):
|
|
572
491
|
yield start
|
|
573
492
|
if isinstance(end, NeatError):
|
|
@@ -585,10 +504,15 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
585
504
|
yield dm.NodeApply(
|
|
586
505
|
space=space,
|
|
587
506
|
external_id=external_id,
|
|
588
|
-
|
|
507
|
+
# Currently there are no node types for schemas in cognite schema spaces
|
|
508
|
+
type=(
|
|
509
|
+
(projection.view_id.space, projection.view_id.external_id)
|
|
510
|
+
if projection.view_id.space not in COGNITE_SPACES
|
|
511
|
+
else None
|
|
512
|
+
),
|
|
589
513
|
sources=sources,
|
|
590
514
|
)
|
|
591
|
-
yield from self._create_edges_without_properties(space, external_id, properties, projection
|
|
515
|
+
yield from self._create_edges_without_properties(space, external_id, properties, projection)
|
|
592
516
|
|
|
593
517
|
def _create_edges_without_properties(
|
|
594
518
|
self,
|
|
@@ -596,7 +520,6 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
596
520
|
identifier: str,
|
|
597
521
|
properties: dict[str | InstanceType, list[str] | list[URIRef]],
|
|
598
522
|
projection: _Projection,
|
|
599
|
-
stop_on_exception: Literal[True, False],
|
|
600
523
|
) -> Iterable[dm.EdgeApply | NeatIssue]:
|
|
601
524
|
for predicate, values in properties.items():
|
|
602
525
|
if predicate in projection.edge_by_type:
|
|
@@ -614,10 +537,7 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
614
537
|
yield error
|
|
615
538
|
continue
|
|
616
539
|
for target in values:
|
|
617
|
-
target_id = self._create_instance_id(
|
|
618
|
-
if not isinstance(target_id, InstanceId):
|
|
619
|
-
yield target_id
|
|
620
|
-
continue
|
|
540
|
+
target_id = self._create_instance_id(cast(URIRef, target))
|
|
621
541
|
if isinstance(target, URIRef):
|
|
622
542
|
target = remove_namespace_from_uri(target)
|
|
623
543
|
external_id = f"{identifier}.{prop_id}.{target}"
|
|
@@ -650,43 +570,16 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
650
570
|
return start_node, end_node # type: ignore[return-value]
|
|
651
571
|
return None, None
|
|
652
572
|
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
@overload
|
|
659
|
-
def _create_instance_id(
|
|
660
|
-
self, uri: URIRef, instance_type: str, stop_on_exception: Literal[True] = True
|
|
661
|
-
) -> InstanceId: ...
|
|
662
|
-
|
|
663
|
-
def _create_instance_id(
|
|
664
|
-
self, uri: URIRef, instance_type: str, stop_on_exception: bool = False
|
|
665
|
-
) -> InstanceId | NeatError:
|
|
666
|
-
space: str | None = None
|
|
667
|
-
external_id: str | None = None
|
|
668
|
-
error: NeatError | None = None
|
|
669
|
-
if self._use_source_space:
|
|
670
|
-
namespace, external_id = split_uri(uri)
|
|
671
|
-
space = namespace_as_space(namespace)
|
|
672
|
-
if space is None:
|
|
673
|
-
error = ResourceCreationError(uri, instance_type, f"Could not find space for {uri!s}.")
|
|
573
|
+
def _create_instance_id(self, uri: URIRef) -> InstanceId:
|
|
574
|
+
space = self._space_by_instance_uri[uri]
|
|
575
|
+
if uri in self._external_id_by_uri:
|
|
576
|
+
external_id = self._external_id_by_uri[uri]
|
|
674
577
|
else:
|
|
675
|
-
|
|
676
|
-
if uri in self._external_id_by_uri:
|
|
677
|
-
external_id = self._external_id_by_uri[uri]
|
|
678
|
-
else:
|
|
679
|
-
external_id = remove_namespace_from_uri(uri)
|
|
578
|
+
external_id = remove_namespace_from_uri(uri)
|
|
680
579
|
|
|
681
580
|
if external_id and self._unquote_external_ids:
|
|
682
581
|
external_id = urllib.parse.unquote(external_id)
|
|
683
|
-
|
|
684
|
-
return InstanceId(space, external_id)
|
|
685
|
-
if error is None:
|
|
686
|
-
raise ValueError(f"Bug in neat. Failed to create instance ID and determine error for {uri!r}")
|
|
687
|
-
if stop_on_exception:
|
|
688
|
-
raise error
|
|
689
|
-
return error
|
|
582
|
+
return InstanceId(space, external_id)
|
|
690
583
|
|
|
691
584
|
def _get_required_capabilities(self) -> list[Capability]:
|
|
692
585
|
return [
|
|
@@ -696,7 +589,7 @@ class DMSLoader(CDFLoader[dm.InstanceApply]):
|
|
|
696
589
|
DataModelInstancesAcl.Action.Write_Properties,
|
|
697
590
|
DataModelInstancesAcl.Action.Read,
|
|
698
591
|
],
|
|
699
|
-
scope=DataModelInstancesAcl.Scope.SpaceID(
|
|
592
|
+
scope=DataModelInstancesAcl.Scope.SpaceID(sorted(set(self._space_by_instance_uri.values()))),
|
|
700
593
|
)
|
|
701
594
|
]
|
|
702
595
|
|