cognite-neat 0.123.32__tar.gz → 0.123.34__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.123.34/.gitignore +182 -0
- cognite_neat-0.123.34/PKG-INFO +145 -0
- cognite_neat-0.123.34/cognite/neat/__init__.py +6 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/_constants.py +3 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/_identifiers.py +61 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/models/dms/_space.py +44 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/models/entities/__init__.py +46 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/models/entities/_base.py +100 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/models/entities/_data_types.py +144 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/models/entities/_identifiers.py +61 -0
- cognite_neat-0.123.34/cognite/neat/_data_model/models/entities/_parser.py +194 -0
- cognite_neat-0.123.34/cognite/neat/_utils/auxiliary.py +39 -0
- cognite_neat-0.123.34/cognite/neat/_utils/http_client/__init__.py +45 -0
- cognite_neat-0.123.34/cognite/neat/_utils/http_client/_client.py +284 -0
- cognite_neat-0.123.34/cognite/neat/_utils/http_client/_config.py +19 -0
- cognite_neat-0.123.34/cognite/neat/_utils/http_client/_data_classes.py +389 -0
- cognite_neat-0.123.34/cognite/neat/_utils/http_client/_tracker.py +31 -0
- cognite_neat-0.123.34/cognite/neat/_utils/useful_types.py +7 -0
- cognite_neat-0.123.34/cognite/neat/_version.py +2 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_client/_api/data_modeling_loaders.py +1032 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_client/_api/neat_instances.py +101 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_client/_api/schema.py +158 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_client/_api/statistics.py +91 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_client/_api_client.py +21 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_client/data_classes/schema.py +540 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_client/testing.py +39 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_constants.py +276 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/_shared.py +59 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/analysis/_base.py +578 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/exporters/_base.py +67 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/exporters/_data_model2dms.py +428 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/exporters/_data_model2excel.py +612 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/exporters/_data_model2instance_template.py +158 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/exporters/_data_model2ontology.py +636 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/exporters/_data_model2yaml.py +84 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_base.py +64 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_base_file_reader.py +56 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_dict2data_model.py +131 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_dms2data_model.py +704 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_graph2data_model.py +299 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_rdf/_base.py +161 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_rdf/_inference2rdata_model.py +618 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_rdf/_owl2data_model.py +124 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_rdf/_shared.py +255 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/importers/_spreadsheet2data_model.py +344 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/__init__.py +38 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/_base_verified.py +449 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/_import_contexts.py +82 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/_types.py +171 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/conceptual/_unverified.py +193 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/conceptual/_validation.py +308 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/conceptual/_verified.py +327 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/data_types.py +422 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/entities/_loaders.py +155 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/entities/_multi_value.py +83 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/entities/_restrictions.py +230 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/entities/_single_value.py +662 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/mapping/_classic2core.py +39 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/physical/__init__.py +40 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/physical/_exporter.py +657 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/physical/_unverified.py +508 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/physical/_validation.py +883 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/models/physical/_verified.py +596 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/transformers/_base.py +79 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/transformers/_converters.py +2478 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/transformers/_mapping.py +390 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/transformers/_union_conceptual.py +208 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_data_model/transformers/_verification.py +120 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/_tracking/base.py +30 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/_tracking/log.py +27 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/__init__.py +76 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_base.py +58 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_classic_cdf/_base.py +443 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_classic_cdf/_classic.py +479 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_classic_cdf/_relationships.py +122 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_classic_cdf/_sequences.py +280 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_dict.py +102 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_dms.py +315 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_dms_graph.py +238 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_mock_graph_generator.py +404 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_raw.py +67 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/extractors/_rdf_file.py +80 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/loaders/_base.py +116 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/loaders/_rdf2dms.py +649 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/loaders/_rdf_to_instance_space.py +249 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/queries/_select.py +452 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/queries/_update.py +37 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/transformers/_base.py +133 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/transformers/_classic_cdf.py +589 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/transformers/_prune_graph.py +315 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/transformers/_rdfpath.py +84 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_instances/transformers/_value_type.py +366 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/_base.py +348 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/_contextmanagers.py +50 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/_factory.py +69 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/errors/__init__.py +90 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/errors/_external.py +91 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/errors/_general.py +51 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/errors/_properties.py +80 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/errors/_resources.py +116 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/errors/_wrapper.py +93 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/warnings/__init__.py +99 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/warnings/_external.py +56 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/warnings/_general.py +46 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/warnings/_models.py +165 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/warnings/_properties.py +108 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/warnings/_resources.py +110 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_issues/warnings/user_modeling.py +125 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_store/_data_model.py +487 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_store/_instance.py +452 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_store/_provenance.py +217 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_store/exceptions.py +59 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/auth.py +364 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/auxiliary.py +169 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/collection_.py +66 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/graph_transformations_report.py +36 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/rdf_.py +336 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/reader/_base.py +194 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/spreadsheet.py +168 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/text.py +277 -0
- cognite_neat-0.123.34/cognite/neat/v0/core/_utils/upload.py +134 -0
- cognite_neat-0.123.34/cognite/neat/v0/plugins/_issues.py +35 -0
- cognite_neat-0.123.34/cognite/neat/v0/plugins/_manager.py +103 -0
- cognite_neat-0.123.34/cognite/neat/v0/plugins/data_model/importers/_base.py +28 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_base.py +330 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_collector.py +131 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_drop.py +103 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_explore.py +39 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_fix.py +28 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_inspect.py +285 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_mapping.py +71 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_plugin.py +67 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_prepare.py +286 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_read.py +910 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_set.py +101 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_show.py +298 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_state.py +161 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_subset.py +88 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_template.py +208 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_to.py +454 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/_wizard.py +44 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/engine/_load.py +131 -0
- cognite_neat-0.123.34/cognite/neat/v0/session/exceptions.py +103 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/base.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/drop.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/fix.md +4 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/inspect.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/mapping.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/prepare.md +3 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/read.md +7 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/set.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/show.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/subset.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/template.md +1 -0
- cognite_neat-0.123.34/docs/reference/NeatSession/to.md +3 -0
- cognite_neat-0.123.34/docs/reference/issues/base.md +1 -0
- cognite_neat-0.123.34/docs/reference/issues/errors.md +1 -0
- cognite_neat-0.123.34/docs/reference/issues/user_model_warnings.md +2 -0
- cognite_neat-0.123.34/docs/reference/issues/warnings.md +2 -0
- cognite_neat-0.123.34/docs/tutorials/data-modeling/cold_start.ipynb +483 -0
- cognite_neat-0.123.34/docs/tutorials/data-modeling/from-conceptual-to-physical-via-CDM.ipynb +1022 -0
- cognite_neat-0.123.34/last_changelog_entry.md +3 -0
- cognite_neat-0.123.34/last_git_message.txt +30 -0
- cognite_neat-0.123.34/last_version.txt +1 -0
- cognite_neat-0.123.34/pyproject.toml +149 -0
- cognite_neat-0.123.34/scripts/create_classic_core_mapping_yaml.py +25 -0
- cognite_neat-0.123.34/scripts/docs_generate_reference.py +109 -0
- cognite_neat-0.123.34/scripts/manual_test_dms_importer.py +133 -0
- cognite_neat-0.123.34/scripts/migration.py +258 -0
- cognite_neat-0.123.34/scripts/oxi_remote/README.md +43 -0
- cognite_neat-0.123.34/scripts/windfarm_to_toolkit.py +52 -0
- cognite_neat-0.123.34/tests/tests_data_model/test_models/test_entities/test_base_entities.py +129 -0
- cognite_neat-0.123.34/tests/tests_data_model/test_models/test_entities/test_data_type.py +20 -0
- cognite_neat-0.123.34/tests/tests_unit/test_data_model/test_models/test_entities/test_identifiers.py +179 -0
- cognite_neat-0.123.34/tests/tests_unit_v1/test_data_model/test_models/test_entities/test_parser.py +197 -0
- cognite_neat-0.123.34/tests/tests_unit_v1/test_utils/test_http_client.py +598 -0
- cognite_neat-0.123.34/tests/v0/config.py +7 -0
- cognite_neat-0.123.34/tests/v0/conftest.py +69 -0
- cognite_neat-0.123.34/tests/v0/tests_end_to_end/test_rules_flow.py +70 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/conftest.py +31 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_api/test_conversion.py +40 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_api/test_validate_rules.py +42 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_client_available.py +7 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_graph/test_loaders/test_dms_loader.py +108 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_neat_client/test_cdf_loaders.py +213 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_neat_client/test_statistics.py +32 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_rules/test_exporters/test_dms_exporters.py +231 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_session/test_data_model_prepare_fix.py +85 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_session/test_data_model_to.py +182 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_session/test_graph_flow.py +348 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_session/test_read.py +100 -0
- cognite_neat-0.123.34/tests/v0/tests_integration/test_utils/test_reader.py +52 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_asset_extractor.py +49 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_dms_extractor.py +118 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_dms_graph_extractor.py +64 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_events_extractor.py +20 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_files_extractor.py +18 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_labels_extractor.py +18 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_raw_extractor.py +27 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_relationship_extractor.py +22 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_sequences_extractor.py +109 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors/test_timeseries_extractor.py +20 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_graph_read.py +22 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_loaders/test_dms_loader.py +223 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_loaders/test_rdf2dms.py +107 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_loaders/test_rdf_to_instance_space.py +133 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_provenance.py +8 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_asset_depth_transformer.py +65 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_asset_event_connector_transformer.py +56 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_asset_file_connector_transformer.py +55 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_asset_relationship_connector_transformer.py +63 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_asset_sequence_connector_transformer.py +55 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_asset_ts_connector_transformer.py +53 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_attach_property_from_target2source.py +369 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_connection_to_literal.py +37 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_make_connection_on_exact_match.py +33 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_prune_graph.py +87 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers/test_split_multi_value_property_transformer.py +17 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_issues/test_formatters.py +42 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_issues/test_issue_behavior.py +57 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_issues/test_issues_metatests.py +144 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_neat_client/test_instances.py +56 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_neat_client/test_loaders.py +144 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_neat_client/test_schema.py +28 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_neat_package_metadata.py +131 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_plugins.py +158 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_analysis.py +73 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_exporters/test_exporters_meta.py +36 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_exporters/test_rules2dms.py +143 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_exporters/test_rules2excel.py +125 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_exporters/test_rules2ontology.py +28 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_exporters/test_rules2yaml.py +25 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_importers/test_dms_importer.py +356 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_importers/test_excel_importer.py +269 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_importers/test_graph_data_model_importer.py +126 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_importers/test_inference_importer.py +191 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_importers/test_owl_importer.py +86 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_importers/test_subinference_importer.py +33 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_asset_rules.py +207 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_base_rules.py +42 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_conceptual_model.py +614 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_data_types.py +121 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_dms_schema.py +494 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_entities.py +361 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_input_rules.py +104 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_physical_data_model.py +1851 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_restrictions.py +217 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models/test_wrapped_entities.py +176 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_transformers/test_converters.py +190 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_transformers/test_mapping.py +69 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_transformers/test_transformer_meta.py +74 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_transformers/test_union_conceptual.py +261 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_session/test_flows.py +73 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_session/test_meta.py +41 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_session/test_read.py +97 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_session/test_to_yaml.py +25 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_store/__init__.py +0 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_store/test_select_queries.py +25 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_store/tests_rules_store.py +88 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_utils/__init__.py +0 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_utils/test_auxiliary.py +69 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_utils/test_cdf_classes.py +56 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_utils/test_rdf.py +92 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_utils/test_reader.py +61 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_utils/test_text.py +51 -0
- cognite_neat-0.123.34/tests/v0/tests_unit/test_utils/test_utils.py +85 -0
- cognite_neat-0.123.34/tests/v0/utils.py +187 -0
- cognite_neat-0.123.34/uv.lock +4007 -0
- cognite_neat-0.123.32/.gitignore +0 -183
- cognite_neat-0.123.32/PKG-INFO +0 -144
- cognite_neat-0.123.32/cognite/neat/__init__.py +0 -6
- cognite_neat-0.123.32/cognite/neat/_data_model/models/dms/_space.py +0 -44
- cognite_neat-0.123.32/cognite/neat/_utils/auxiliary.py +0 -32
- cognite_neat-0.123.32/cognite/neat/_version.py +0 -2
- cognite_neat-0.123.32/cognite/neat/core/_client/_api/data_modeling_loaders.py +0 -1032
- cognite_neat-0.123.32/cognite/neat/core/_client/_api/neat_instances.py +0 -101
- cognite_neat-0.123.32/cognite/neat/core/_client/_api/schema.py +0 -158
- cognite_neat-0.123.32/cognite/neat/core/_client/_api/statistics.py +0 -91
- cognite_neat-0.123.32/cognite/neat/core/_client/_api_client.py +0 -21
- cognite_neat-0.123.32/cognite/neat/core/_client/data_classes/schema.py +0 -540
- cognite_neat-0.123.32/cognite/neat/core/_client/testing.py +0 -39
- cognite_neat-0.123.32/cognite/neat/core/_constants.py +0 -276
- cognite_neat-0.123.32/cognite/neat/core/_data_model/_shared.py +0 -59
- cognite_neat-0.123.32/cognite/neat/core/_data_model/analysis/_base.py +0 -578
- cognite_neat-0.123.32/cognite/neat/core/_data_model/exporters/_base.py +0 -67
- cognite_neat-0.123.32/cognite/neat/core/_data_model/exporters/_data_model2dms.py +0 -428
- cognite_neat-0.123.32/cognite/neat/core/_data_model/exporters/_data_model2excel.py +0 -612
- cognite_neat-0.123.32/cognite/neat/core/_data_model/exporters/_data_model2instance_template.py +0 -158
- cognite_neat-0.123.32/cognite/neat/core/_data_model/exporters/_data_model2ontology.py +0 -636
- cognite_neat-0.123.32/cognite/neat/core/_data_model/exporters/_data_model2yaml.py +0 -84
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_base.py +0 -64
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_base_file_reader.py +0 -56
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_dict2data_model.py +0 -131
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_dms2data_model.py +0 -704
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_graph2data_model.py +0 -299
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_rdf/_base.py +0 -161
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_rdf/_inference2rdata_model.py +0 -618
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_rdf/_owl2data_model.py +0 -124
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_rdf/_shared.py +0 -255
- cognite_neat-0.123.32/cognite/neat/core/_data_model/importers/_spreadsheet2data_model.py +0 -344
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/__init__.py +0 -38
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/_base_verified.py +0 -449
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/_import_contexts.py +0 -82
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/_types.py +0 -171
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/conceptual/_unverified.py +0 -193
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/conceptual/_validation.py +0 -308
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/conceptual/_verified.py +0 -327
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/data_types.py +0 -422
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/entities/_loaders.py +0 -155
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/entities/_multi_value.py +0 -83
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/entities/_restrictions.py +0 -230
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/entities/_single_value.py +0 -662
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/mapping/_classic2core.py +0 -39
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/physical/__init__.py +0 -40
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/physical/_exporter.py +0 -657
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/physical/_unverified.py +0 -508
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/physical/_validation.py +0 -883
- cognite_neat-0.123.32/cognite/neat/core/_data_model/models/physical/_verified.py +0 -596
- cognite_neat-0.123.32/cognite/neat/core/_data_model/transformers/_base.py +0 -79
- cognite_neat-0.123.32/cognite/neat/core/_data_model/transformers/_converters.py +0 -2478
- cognite_neat-0.123.32/cognite/neat/core/_data_model/transformers/_mapping.py +0 -390
- cognite_neat-0.123.32/cognite/neat/core/_data_model/transformers/_union_conceptual.py +0 -208
- cognite_neat-0.123.32/cognite/neat/core/_data_model/transformers/_verification.py +0 -120
- cognite_neat-0.123.32/cognite/neat/core/_instances/_tracking/base.py +0 -30
- cognite_neat-0.123.32/cognite/neat/core/_instances/_tracking/log.py +0 -27
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/__init__.py +0 -76
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_base.py +0 -58
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_classic_cdf/_base.py +0 -443
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_classic_cdf/_classic.py +0 -479
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_classic_cdf/_relationships.py +0 -122
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_classic_cdf/_sequences.py +0 -280
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_dict.py +0 -102
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_dms.py +0 -315
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_dms_graph.py +0 -238
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_mock_graph_generator.py +0 -404
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_raw.py +0 -67
- cognite_neat-0.123.32/cognite/neat/core/_instances/extractors/_rdf_file.py +0 -80
- cognite_neat-0.123.32/cognite/neat/core/_instances/loaders/_base.py +0 -116
- cognite_neat-0.123.32/cognite/neat/core/_instances/loaders/_rdf2dms.py +0 -649
- cognite_neat-0.123.32/cognite/neat/core/_instances/loaders/_rdf_to_instance_space.py +0 -249
- cognite_neat-0.123.32/cognite/neat/core/_instances/queries/_select.py +0 -452
- cognite_neat-0.123.32/cognite/neat/core/_instances/queries/_update.py +0 -37
- cognite_neat-0.123.32/cognite/neat/core/_instances/transformers/_base.py +0 -133
- cognite_neat-0.123.32/cognite/neat/core/_instances/transformers/_classic_cdf.py +0 -589
- cognite_neat-0.123.32/cognite/neat/core/_instances/transformers/_prune_graph.py +0 -315
- cognite_neat-0.123.32/cognite/neat/core/_instances/transformers/_rdfpath.py +0 -84
- cognite_neat-0.123.32/cognite/neat/core/_instances/transformers/_value_type.py +0 -366
- cognite_neat-0.123.32/cognite/neat/core/_issues/_base.py +0 -348
- cognite_neat-0.123.32/cognite/neat/core/_issues/_contextmanagers.py +0 -50
- cognite_neat-0.123.32/cognite/neat/core/_issues/_factory.py +0 -69
- cognite_neat-0.123.32/cognite/neat/core/_issues/errors/__init__.py +0 -90
- cognite_neat-0.123.32/cognite/neat/core/_issues/errors/_external.py +0 -91
- cognite_neat-0.123.32/cognite/neat/core/_issues/errors/_general.py +0 -51
- cognite_neat-0.123.32/cognite/neat/core/_issues/errors/_properties.py +0 -80
- cognite_neat-0.123.32/cognite/neat/core/_issues/errors/_resources.py +0 -116
- cognite_neat-0.123.32/cognite/neat/core/_issues/errors/_wrapper.py +0 -93
- cognite_neat-0.123.32/cognite/neat/core/_issues/warnings/__init__.py +0 -99
- cognite_neat-0.123.32/cognite/neat/core/_issues/warnings/_external.py +0 -56
- cognite_neat-0.123.32/cognite/neat/core/_issues/warnings/_general.py +0 -46
- cognite_neat-0.123.32/cognite/neat/core/_issues/warnings/_models.py +0 -165
- cognite_neat-0.123.32/cognite/neat/core/_issues/warnings/_properties.py +0 -108
- cognite_neat-0.123.32/cognite/neat/core/_issues/warnings/_resources.py +0 -110
- cognite_neat-0.123.32/cognite/neat/core/_issues/warnings/user_modeling.py +0 -125
- cognite_neat-0.123.32/cognite/neat/core/_store/_data_model.py +0 -487
- cognite_neat-0.123.32/cognite/neat/core/_store/_instance.py +0 -452
- cognite_neat-0.123.32/cognite/neat/core/_store/_provenance.py +0 -217
- cognite_neat-0.123.32/cognite/neat/core/_store/exceptions.py +0 -59
- cognite_neat-0.123.32/cognite/neat/core/_utils/auth.py +0 -364
- cognite_neat-0.123.32/cognite/neat/core/_utils/auxiliary.py +0 -169
- cognite_neat-0.123.32/cognite/neat/core/_utils/collection_.py +0 -66
- cognite_neat-0.123.32/cognite/neat/core/_utils/graph_transformations_report.py +0 -36
- cognite_neat-0.123.32/cognite/neat/core/_utils/rdf_.py +0 -336
- cognite_neat-0.123.32/cognite/neat/core/_utils/reader/_base.py +0 -194
- cognite_neat-0.123.32/cognite/neat/core/_utils/spreadsheet.py +0 -168
- cognite_neat-0.123.32/cognite/neat/core/_utils/text.py +0 -277
- cognite_neat-0.123.32/cognite/neat/core/_utils/upload.py +0 -134
- cognite_neat-0.123.32/cognite/neat/data_model/models/entities/__init__.py +0 -9
- cognite_neat-0.123.32/cognite/neat/data_model/models/entities/_identifiers.py +0 -61
- cognite_neat-0.123.32/cognite/neat/plugins/_issues.py +0 -35
- cognite_neat-0.123.32/cognite/neat/plugins/_manager.py +0 -103
- cognite_neat-0.123.32/cognite/neat/plugins/data_model/importers/_base.py +0 -28
- cognite_neat-0.123.32/cognite/neat/session/_base.py +0 -330
- cognite_neat-0.123.32/cognite/neat/session/_collector.py +0 -131
- cognite_neat-0.123.32/cognite/neat/session/_drop.py +0 -103
- cognite_neat-0.123.32/cognite/neat/session/_explore.py +0 -39
- cognite_neat-0.123.32/cognite/neat/session/_fix.py +0 -28
- cognite_neat-0.123.32/cognite/neat/session/_inspect.py +0 -285
- cognite_neat-0.123.32/cognite/neat/session/_mapping.py +0 -71
- cognite_neat-0.123.32/cognite/neat/session/_plugin.py +0 -67
- cognite_neat-0.123.32/cognite/neat/session/_prepare.py +0 -286
- cognite_neat-0.123.32/cognite/neat/session/_read.py +0 -910
- cognite_neat-0.123.32/cognite/neat/session/_set.py +0 -101
- cognite_neat-0.123.32/cognite/neat/session/_show.py +0 -298
- cognite_neat-0.123.32/cognite/neat/session/_state.py +0 -161
- cognite_neat-0.123.32/cognite/neat/session/_subset.py +0 -88
- cognite_neat-0.123.32/cognite/neat/session/_template.py +0 -208
- cognite_neat-0.123.32/cognite/neat/session/_to.py +0 -454
- cognite_neat-0.123.32/cognite/neat/session/_wizard.py +0 -44
- cognite_neat-0.123.32/cognite/neat/session/engine/_load.py +0 -131
- cognite_neat-0.123.32/cognite/neat/session/exceptions.py +0 -103
- cognite_neat-0.123.32/docs/reference/NeatSession/base.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/drop.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/fix.md +0 -4
- cognite_neat-0.123.32/docs/reference/NeatSession/inspect.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/mapping.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/prepare.md +0 -3
- cognite_neat-0.123.32/docs/reference/NeatSession/read.md +0 -7
- cognite_neat-0.123.32/docs/reference/NeatSession/set.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/show.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/subset.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/template.md +0 -1
- cognite_neat-0.123.32/docs/reference/NeatSession/to.md +0 -3
- cognite_neat-0.123.32/docs/reference/issues/base.md +0 -1
- cognite_neat-0.123.32/docs/reference/issues/errors.md +0 -1
- cognite_neat-0.123.32/docs/reference/issues/user_model_warnings.md +0 -2
- cognite_neat-0.123.32/docs/reference/issues/warnings.md +0 -2
- cognite_neat-0.123.32/docs/tutorials/data-modeling/cold_start.ipynb +0 -483
- cognite_neat-0.123.32/docs/tutorials/data-modeling/from-conceptual-to-physical-via-CDM.ipynb +0 -1022
- cognite_neat-0.123.32/last_changelog_entry.md +0 -5
- cognite_neat-0.123.32/last_git_message.txt +0 -20
- cognite_neat-0.123.32/last_version.txt +0 -1
- cognite_neat-0.123.32/pyproject.toml +0 -147
- cognite_neat-0.123.32/scripts/create_classic_core_mapping_yaml.py +0 -25
- cognite_neat-0.123.32/scripts/docs_generate_reference.py +0 -109
- cognite_neat-0.123.32/scripts/manual_test_dms_importer.py +0 -133
- cognite_neat-0.123.32/scripts/migration.py +0 -258
- cognite_neat-0.123.32/scripts/oxi_remote/README.md +0 -43
- cognite_neat-0.123.32/scripts/windfarm_to_toolkit.py +0 -52
- cognite_neat-0.123.32/tests/config.py +0 -7
- cognite_neat-0.123.32/tests/conftest.py +0 -69
- cognite_neat-0.123.32/tests/data/__init__.py +0 -122
- cognite_neat-0.123.32/tests/data/_graph/aml-raw-graph.ttl +0 -35147
- cognite_neat-0.123.32/tests/data/_graph/aml_example.aml +0 -88653
- cognite_neat-0.123.32/tests/data/_graph/car.py +0 -284
- cognite_neat-0.123.32/tests/data/_graph/dexpi-raw-graph.ttl +0 -7106
- cognite_neat-0.123.32/tests/data/_graph/dexpi_example.xml +0 -4931
- cognite_neat-0.123.32/tests/data/_graph/iodd_Piab-piCOMPACT10X-20230509-IODD1.1.xml +0 -887
- cognite_neat-0.123.32/tests/data/_graph/low-quality-graph.ttl +0 -30
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/assets.yaml +0 -93
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/events.yaml +0 -20
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/files.yaml +0 -24
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/labels.yaml +0 -36
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/relationships.yaml +0 -46
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/sequence_rows.yaml +0 -72
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/sequences.yaml +0 -58
- cognite_neat-0.123.32/tests/data/_instances/asset_centric_cdf/timeseries.yaml +0 -25
- cognite_neat-0.123.32/tests/data/_instances/classic_windfarm.py +0 -368
- cognite_neat-0.123.32/tests/data/_schema/conceptual/broken_concepts.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/conceptual/dangling-properties.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/conceptual/info-arch-car-rules.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/conceptual/info_with_cdm_ref.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/conceptual/information-unknown-value-type.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/conceptual/only_concepts.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/conceptual/ontology.ttl +0 -111
- cognite_neat-0.123.32/tests/data/_schema/conversion/single_concept.conceptual.yaml +0 -42
- cognite_neat-0.123.32/tests/data/_schema/conversion/single_concept.physical.yaml +0 -36
- cognite_neat-0.123.32/tests/data/_schema/non_neat/cognite_core_v1.zip +0 -0
- cognite_neat-0.123.32/tests/data/_schema/non_neat/referencing_core/MyDescribable.container.yaml +0 -15
- cognite_neat-0.123.32/tests/data/_schema/non_neat/referencing_core/MyDescribable.view.yaml +0 -15
- cognite_neat-0.123.32/tests/data/_schema/non_neat/referencing_core/enterprise.datamodel.yaml +0 -14
- cognite_neat-0.123.32/tests/data/_schema/non_neat/windturbine.py +0 -245
- cognite_neat-0.123.32/tests/data/_schema/partial-model/complete.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/partial-model/part1.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/partial-model/part2.ttl +0 -97
- cognite_neat-0.123.32/tests/data/_schema/partial-model/part3.yaml +0 -251
- cognite_neat-0.123.32/tests/data/_schema/physical/car_dms_rules.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/car_dms_rules_deprecated.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/dm_raw_filter.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/dm_view_space_different.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/dms-unknown-value-type.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/isa_plus_cdm.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/missing-in-model-value.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/mixed-up-version.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/physical_singleton_issue.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/pump_example_duplicated_resources.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/pump_example_with_missing_cells.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/pump_example_with_missing_cells_raise_issues.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/1.Production.container.yaml +0 -38
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/10.SimNode.container.yaml +0 -22
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/12.SimSubNode.container.yaml +0 -22
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/13.SimEdge.container.yaml +0 -38
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/14.Property.container.yaml +0 -67
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/15.Coordinate.container.yaml +0 -41
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/16.Coordinates.container.yaml +0 -49
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/17.ModelExecutionEnvironment.view.yaml +0 -25
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/18.Coordinate.view.yaml +0 -35
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/19.Coordinates.view.yaml +0 -42
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/2.SimulationModel.container.yaml +0 -44
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/20.SimEdge.view.yaml +0 -47
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/21.ProductionTimeseries.view.yaml +0 -23
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/22.SimNode.view.yaml +0 -39
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/23.Production.view.yaml +0 -58
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/24.SimSubNode.view.yaml +0 -23
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/25.SimulationResultFile.view.yaml +0 -23
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/26.InputProperty.view.yaml +0 -17
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/28.OutputProperty.view.yaml +0 -17
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/29.Property.view.yaml +0 -69
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/3.strongly-coupled-model.datamodel.yaml +0 -178
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/30.SimulationModel.view.yaml +0 -81
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/31.SimNodeAndEdge.view.yaml +0 -88
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/5.my.space.yaml +0 -3
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/6.ModelExecutionEnvironment.container.yaml +0 -32
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/7.ProductionTimeseries.container.yaml +0 -22
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/8.SimNodeAndEdge.container.yaml +0 -48
- cognite_neat-0.123.32/tests/data/_schema/physical/strongly_connected_model/data_models/9.SimulationResultFile.container.yaml +0 -22
- cognite_neat-0.123.32/tests/data/_schema/physical_invalid/inconsistent_container_dms_rules.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical_invalid/invalid_metadata.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical_invalid/invalid_property_dms_rules.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical_invalid/missing_view_container_dms_rules.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical_invalid/too_many_containers_per_view.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical_invalid/views_without_properties.xlsx +0 -0
- cognite_neat-0.123.32/tests/data/_schema/physical_yamls/invalid_indices.expected_issues.yaml +0 -77
- cognite_neat-0.123.32/tests/data/_schema/physical_yamls/invalid_indices.yaml +0 -92
- cognite_neat-0.123.32/tests/data/_schema/physical_yamls/invalid_yaml.expected_issues.yaml +0 -4
- cognite_neat-0.123.32/tests/data/_schema/physical_yamls/invalid_yaml.yaml +0 -8
- cognite_neat-0.123.32/tests/data/_schema/physical_yamls/multiple_indices_on_property.yaml +0 -27
- cognite_neat-0.123.32/tests/data/_schema/physical_yamls/reverse_direct_relation_missing_target.expected_issues.yaml +0 -10
- cognite_neat-0.123.32/tests/data/_schema/physical_yamls/reverse_direct_relation_missing_target.yaml +0 -59
- cognite_neat-0.123.32/tests/tests_end_to_end/test_rules_flow.py +0 -70
- cognite_neat-0.123.32/tests/tests_integration/conftest.py +0 -31
- cognite_neat-0.123.32/tests/tests_integration/test_api/test_conversion.py +0 -40
- cognite_neat-0.123.32/tests/tests_integration/test_api/test_validate_rules.py +0 -42
- cognite_neat-0.123.32/tests/tests_integration/test_client_available.py +0 -8
- cognite_neat-0.123.32/tests/tests_integration/test_graph/test_loaders/test_dms_loader.py +0 -108
- cognite_neat-0.123.32/tests/tests_integration/test_neat_client/test_cdf_loaders.py +0 -213
- cognite_neat-0.123.32/tests/tests_integration/test_neat_client/test_statistics.py +0 -32
- cognite_neat-0.123.32/tests/tests_integration/test_rules/test_exporters/test_dms_exporters.py +0 -231
- cognite_neat-0.123.32/tests/tests_integration/test_session/test_data_model_prepare_fix.py +0 -85
- cognite_neat-0.123.32/tests/tests_integration/test_session/test_data_model_to.py +0 -182
- cognite_neat-0.123.32/tests/tests_integration/test_session/test_graph_flow.py +0 -348
- cognite_neat-0.123.32/tests/tests_integration/test_session/test_read.py +0 -100
- cognite_neat-0.123.32/tests/tests_integration/test_utils/test_reader.py +0 -52
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_asset_extractor.py +0 -49
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_dms_extractor.py +0 -118
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_dms_graph_extractor.py +0 -64
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_events_extractor.py +0 -20
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_files_extractor.py +0 -18
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_labels_extractor.py +0 -18
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_raw_extractor.py +0 -27
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_relationship_extractor.py +0 -22
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_sequences_extractor.py +0 -109
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors/test_timeseries_extractor.py +0 -20
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_graph_read.py +0 -22
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_loaders/test_dms_loader.py +0 -223
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_loaders/test_rdf2dms.py +0 -107
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_loaders/test_rdf_to_instance_space.py +0 -133
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_provenance.py +0 -8
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_asset_depth_transformer.py +0 -65
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_asset_event_connector_transformer.py +0 -56
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_asset_file_connector_transformer.py +0 -55
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_asset_relationship_connector_transformer.py +0 -63
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_asset_sequence_connector_transformer.py +0 -55
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_asset_ts_connector_transformer.py +0 -53
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_attach_property_from_target2source.py +0 -369
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_connection_to_literal.py +0 -37
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_make_connection_on_exact_match.py +0 -33
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_prune_graph.py +0 -87
- cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers/test_split_multi_value_property_transformer.py +0 -17
- cognite_neat-0.123.32/tests/tests_unit/test_issues/test_formatters.py +0 -42
- cognite_neat-0.123.32/tests/tests_unit/test_issues/test_issue_behavior.py +0 -57
- cognite_neat-0.123.32/tests/tests_unit/test_issues/test_issues_metatests.py +0 -144
- cognite_neat-0.123.32/tests/tests_unit/test_neat_client/test_instances.py +0 -56
- cognite_neat-0.123.32/tests/tests_unit/test_neat_client/test_loaders.py +0 -144
- cognite_neat-0.123.32/tests/tests_unit/test_neat_client/test_schema.py +0 -28
- cognite_neat-0.123.32/tests/tests_unit/test_neat_package_metadata.py +0 -131
- cognite_neat-0.123.32/tests/tests_unit/test_plugins.py +0 -158
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_analysis.py +0 -73
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_exporters/test_exporters_meta.py +0 -36
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_exporters/test_rules2dms.py +0 -143
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_exporters/test_rules2excel.py +0 -125
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_exporters/test_rules2ontology.py +0 -28
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_exporters/test_rules2yaml.py +0 -25
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_importers/test_dms_importer.py +0 -356
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_importers/test_excel_importer.py +0 -269
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_importers/test_graph_data_model_importer.py +0 -126
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_importers/test_inference_importer.py +0 -191
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_importers/test_owl_importer.py +0 -86
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_importers/test_subinference_importer.py +0 -33
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_asset_rules.py +0 -207
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_base_rules.py +0 -42
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_conceptual_model.py +0 -614
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_data_types.py +0 -121
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_dms_schema.py +0 -494
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_entities.py +0 -361
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_identifiers.py +0 -179
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_input_rules.py +0 -104
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_physical_data_model.py +0 -1851
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_restrictions.py +0 -217
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models/test_wrapped_entities.py +0 -176
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_transformers/test_converters.py +0 -190
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_transformers/test_mapping.py +0 -69
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_transformers/test_transformer_meta.py +0 -74
- cognite_neat-0.123.32/tests/tests_unit/test_rules/test_transformers/test_union_conceptual.py +0 -261
- cognite_neat-0.123.32/tests/tests_unit/test_session/test_flows.py +0 -73
- cognite_neat-0.123.32/tests/tests_unit/test_session/test_meta.py +0 -41
- cognite_neat-0.123.32/tests/tests_unit/test_session/test_read.py +0 -97
- cognite_neat-0.123.32/tests/tests_unit/test_session/test_to_yaml.py +0 -25
- cognite_neat-0.123.32/tests/tests_unit/test_store/test_select_queries.py +0 -25
- cognite_neat-0.123.32/tests/tests_unit/test_store/tests_rules_store.py +0 -88
- cognite_neat-0.123.32/tests/tests_unit/test_utils/test_auxiliary.py +0 -69
- cognite_neat-0.123.32/tests/tests_unit/test_utils/test_cdf_classes.py +0 -56
- cognite_neat-0.123.32/tests/tests_unit/test_utils/test_rdf.py +0 -92
- cognite_neat-0.123.32/tests/tests_unit/test_utils/test_reader.py +0 -61
- cognite_neat-0.123.32/tests/tests_unit/test_utils/test_text.py +0 -51
- cognite_neat-0.123.32/tests/tests_unit/test_utils/test_utils.py +0 -85
- cognite_neat-0.123.32/tests/utils.py +0 -187
- cognite_neat-0.123.32/uv.lock +0 -3991
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.coveragerc +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.gemini/styleguide.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.github/CODEOWNERS +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.github/ISSUE_TEMPLATE/bug-report.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.github/pull_request_template.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.github/renovate.json +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.github/workflows/code-quality.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.github/workflows/release.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.pre-commit-config.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/.readthedocs.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/CODE_OF_CONDUCT.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/CONTRIBUTING.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/LICENSE +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/README.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/cdf.toml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/codecov.yml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/cognite/neat/_data_model/__init__.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/cognite/neat/_data_model/models/__init__.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/cognite/neat/_data_model/models/dms/__init__.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/cognite/neat/_data_model/models/dms/_base.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/cognite/neat/_data_model/models/dms/_constants.py +0 -0
- {cognite_neat-0.123.32/cognite/neat/data_model → cognite_neat-0.123.34/cognite/neat/_data_model}/models/entities/_constants.py +0 -0
- {cognite_neat-0.123.32/cognite/neat/_data_model/models/entities → cognite_neat-0.123.34/cognite/neat/_utils}/__init__.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/cognite/neat/py.typed +0 -0
- {cognite_neat-0.123.32/cognite/neat/_utils → cognite_neat-0.123.34/cognite/neat/v0}/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_client/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_client/_api/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_client/data_classes/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_client/data_classes/data_modeling.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_client/data_classes/neat_sequence.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_client/data_classes/statistics.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_config.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/_constants.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/analysis/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/catalog/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/catalog/classic_model.xlsx +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/catalog/conceptual-imf-data-model.xlsx +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/catalog/hello_world_pump.xlsx +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/exporters/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/importers/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/importers/_rdf/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/_base_unverified.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/conceptual/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/entities/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/entities/_constants.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/entities/_types.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/entities/_wrapped.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/mapping/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/models/mapping/_classic2core.yaml +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_data_model/transformers/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/_shared.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/_tracking/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/examples/Knowledge-Graph-Nordic44-dirty.xml +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/examples/Knowledge-Graph-Nordic44.xml +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/examples/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/examples/skos-capturing-sheet-wind-topics.xlsx +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/extractors/_classic_cdf/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/extractors/_classic_cdf/_assets.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/extractors/_classic_cdf/_data_sets.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/extractors/_classic_cdf/_events.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/extractors/_classic_cdf/_files.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/extractors/_classic_cdf/_labels.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/extractors/_classic_cdf/_timeseries.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/loaders/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/queries/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/queries/_base.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/queries/_queries.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_instances/transformers/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_issues/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_issues/formatters.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_shared.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_store/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_utils/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_utils/io_.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_utils/reader/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_utils/tarjan.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_utils/time_.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/core/_utils/xml_.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/plugins/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0/plugins}/data_model/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/plugins/data_model/importers/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/session/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/session/_experimental.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/session/_state/README.md +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/session/engine/__init__.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/session/engine/_import.py +0 -0
- {cognite_neat-0.123.32/cognite/neat → cognite_neat-0.123.34/cognite/neat/v0}/session/engine/_interface.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/dev.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/DataModelCDF.PNG +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/DataModelInstancesCDF.PNG +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/DataModelInstancesVizCDF.PNG +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/aml-dm-cdf.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/aml-dm.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/aml-instances-cdf.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/aml-instances-full.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_dms.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_dms_typed.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_populated.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/asset_hierarchy_lift_pump_stations_populated_with_typed.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/authorship.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/base-components.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/bid_capacity_data_model.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/change_validate_step.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/connecting_metadata_dm.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/connecting_metadata_populated.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/connecting_metadata_published_dm.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/container_spec.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/core_extension.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/core_extension_excel.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/core_extension_no_connection.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/core_extension_with_properties.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/data-exploration.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/data-model-nordic44.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/data-modeling-flow.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dexpi-dm-cdf.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dexpi-dm-viz.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dexpi-graph-viz.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dexpi-instance-cdf.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dexpi-transformed-graph-viz.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dm-classes.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dm-object-shapes.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dm-prefixes.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dm-source-to-solution-mapping.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dm2cdf-asset.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/dm2cdf-mapping.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/execution-history.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/export_dms_config.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/export_dms_executed.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/export_dms_workflow.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/features.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/graph-etl-flow.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/high-level-io.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/instances-nordic44.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/instances-sheet.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/key-aspects-of-neat.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/knowledge-graph-viz-filtering.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/knowledge-graph-viz.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/life_cycle_analitic_solution_export_dms.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/life_cycle_converter_model_analytic_solution_model.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/life_cycle_download_reference_model_analytic_soluteion_model.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/life_cycle_download_reference_model_analytic_solution_model_export.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/logo.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/metadata-sheet.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/multi-hop.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/neat-high-level.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/neat-two_flows.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/neat_shift_tab.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/neat_tab.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/prefixes-sheet.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/pump_hello_world_published.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf-in-nutshell.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf2cdf-graph-change.jpg +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf2cdf-graph-resurrect.jpg +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf2cdf-graph.jpg +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf2cdf-init-run-step1.jpg +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf2cdf-init-run-step2.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf2cdf-init-run.jpg +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/rdf2cdf-post-init.jpg +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/run_workflow.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/sheet2cdf-asset-hierarchy.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/sheet2cdf-running-workflow.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/sheet2cdf-transformation-rules-ui.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/sheet2cdf-upload-rules.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/sheet2cdf-workflow-steps.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/sheet2cdf-workflow.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/sheet2cdf-workflow.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/step-configurables.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/step-metrics.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/tutorial-notebooks-part-2_graph-capturing-sheet.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/validate_workflow.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/wf-ephemeral-mode.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/wf-overview.gif +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/wf-persistent-blocking-mode.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/wf-persistent-non-blocking.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/wf-start-mode-ui.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/wind_farm_classic_knowledge_graph.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/wind_farm_data_product_instances.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/work-in-progress.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/workflow-context.jpg +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/working_with_metadata_provenance.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/figs/working_with_metadata_published_dm.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/cdf-dms-architect-alice.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/dms-addition-svein-harald.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/dms-analytics-olav.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/dms-architect-rules-raw-filter-example.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/dms-architect-rules-template.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/dms-rebuild-olav.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/domain-expert-rules-template.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/expert-grid-emma.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/expert-wind-energy-jon.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/information-addition-svein-harald.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/information-analytics-olav-ref.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/information-analytics-olav.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/information-architect-david.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/rules/information-architect-rules-template.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-1-defining-data-model.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-1-download-rules-template.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-1-upload-gql-schema-to-cdf.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-2-graph-capturing-sheet.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-3-asset-hierarchy.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-3-decommissioning.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-3-relationships.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-3-resurrection.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/artifacts/videos/tutorial-4-asset-hierarchy.mp4 +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/data-modeling-principles.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/conceptual/overview.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/conceptual/reference.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/data_model.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/physical/enum.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/physical/overview.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/physical/properties.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/physical/reference.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/physical/views.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/excel_data_modeling/units.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/gettingstarted/installation.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/gettingstarted/why-neat.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/index.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/reference/overview.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/figs/data-modeling-flow.png +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/files/wind_farm_prospecting_conceptual_data_model.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/files/wind_farm_prospecting_conceptual_data_model_expanded.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/files/wind_farm_prospecting_physical_data_model.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_conceptual_wind_energy_WindFarmProspecting_v1.html +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_conceptual_wind_energy_WindFarmProspecting_v1_implements.html +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/http_purl.org_cognite_neat_data-model_verified_physical_neat_playground_NeatHelloWorld_v1.html +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/my_first_model.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/data-modeling/physical-data-model.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/docs/tutorials/introduction/introduction.ipynb +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/mkdocs.yml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/clean_space.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/core_classic_mapping.xlsx +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/dependency_profiler.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/docs_generate_unit.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/generate_steps_md.py +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/.gitignore +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/README.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/config.dev.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/neat_integration_runner/README.md +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/neat_integration_runner/auth/neat_cicd_testing.group.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/lift_pumps/classic/lift_pump_stations_root.Asset.csv +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/lift_pumps/data_sets/hierarchies.DataSet.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/lift_pumps/raw/collections_pump.Table.csv +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/lift_pumps/raw/collections_pump.Table.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/Measurement.Asset.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/Measurement.Label.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/MetMast.Asset.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/PowerGeneratingUnit.Label.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/Utsira.Asset.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-01.Asset.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-01_to_MetMast.Relationship.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-02.Asset.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/WT-02_to_MetMast.Relationship.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/WindTurbine.Label.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/metMast.Label.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/planned_WT-01_2022-01-01.Event.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/classic/power_curve_manufacturer1.Sequence.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/data_sets/maintenance.DataSet.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/data_sets/source_ds.DataSet.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/data_sets/usecase_01.DataSet.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/files/WT-01_datasheet.FileMetadata.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/files/WT-01_datasheet.txt +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-01_forecast.TimeSeries.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-01_production.TimeSeries.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-02_forecast.TimeSeries.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/integration_runner/modules/test_data/windfarm/timeseries/WT-02_production.TimeSeries.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/oxi_remote/docker-compose.yaml +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/scripts/test_lookup_table.csv +0 -0
- {cognite_neat-0.123.32 → cognite_neat-0.123.34}/test-pyodide.js +0 -0
- {cognite_neat-0.123.32/cognite/neat/plugins/data_model → cognite_neat-0.123.34/tests}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/tests_data_model}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_end_to_end → cognite_neat-0.123.34/tests/tests_data_model/test_models}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration → cognite_neat-0.123.34/tests/tests_data_model/test_models/test_entities}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_api → cognite_neat-0.123.34/tests/tests_unit}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_graph → cognite_neat-0.123.34/tests/tests_unit/test_data_model}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_graph/test_loaders → cognite_neat-0.123.34/tests/tests_unit/test_data_model/test_models}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_neat_client → cognite_neat-0.123.34/tests/tests_unit/test_data_model/test_models/test_dms}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1 → cognite_neat-0.123.34/tests/tests_unit}/test_data_model/test_models/test_dms/test_resources.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_rules → cognite_neat-0.123.34/tests/tests_unit/test_data_model/test_models/test_entities}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_rules/test_exporters → cognite_neat-0.123.34/tests/tests_unit/test_utils}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1 → cognite_neat-0.123.34/tests/tests_unit}/test_utils/test_auxiliary.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_rules/test_importers → cognite_neat-0.123.34/tests/v0/tests_end_to_end}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_end_to_end/test_rules_flow/test_cdm_extension_verification.yaml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_end_to_end/test_rules_flow/test_excel_importer_to_yaml.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_end_to_end/test_rules_flow/test_excel_importer_to_yaml_new_endpoint.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_end_to_end/test_rules_flow/test_ontology_importer_to_yaml.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_end_to_end/test_rules_flow/test_to_extension_transformer.yml +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_session → cognite_neat-0.123.34/tests/v0/tests_integration}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_integration/test_utils → cognite_neat-0.123.34/tests/v0/tests_integration/test_api}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit → cognite_neat-0.123.34/tests/v0/tests_integration/test_graph}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_graph → cognite_neat-0.123.34/tests/v0/tests_integration/test_graph/test_loaders}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_graph/test_extractors → cognite_neat-0.123.34/tests/v0/tests_integration/test_neat_client}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_graph/test_loaders → cognite_neat-0.123.34/tests/v0/tests_integration/test_rules}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_graph/test_transformers → cognite_neat-0.123.34/tests/v0/tests_integration/test_rules/test_exporters}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_issues → cognite_neat-0.123.34/tests/v0/tests_integration/test_rules/test_importers}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_neat_client → cognite_neat-0.123.34/tests/v0/tests_integration/test_session}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_create_enterprise.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_data_model_prepare_fix/test_prefix_dms_rules_entities.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_data_model_prepare_fix/test_prefix_info_rules_entities.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_data_model_prepare_fix/test_standardize_space_and_version.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_data_model_to/test_raw_filter.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_graph_flow/test_aml_to_dms.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_graph_flow/test_create_extension_template.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_graph_flow/test_dexpi_to_dms.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_graph_flow/test_snapshot_workflow_ids_to_python.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_graph_flow/test_snapshot_workflow_to_python.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_graph_flow/test_uplift_workflow_to_python.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_read/test_read_cdm.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_integration/test_session/test_read/test_read_model_referencing_core.yml +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_rules → cognite_neat-0.123.34/tests/v0/tests_integration/test_utils}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_rules/test_exporters → cognite_neat-0.123.34/tests/v0/tests_unit}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_rules/test_importers → cognite_neat-0.123.34/tests/v0/tests_unit/test_graph}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_rules/test_models → cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_extractors}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_rules/test_transformers → cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_loaders}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_session → cognite_neat-0.123.34/tests/v0/tests_unit/test_graph/test_transformers}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_store → cognite_neat-0.123.34/tests/v0/tests_unit/test_issues}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit/test_utils → cognite_neat-0.123.34/tests/v0/tests_unit/test_neat_client}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1 → cognite_neat-0.123.34/tests/v0/tests_unit/test_rules}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1/test_data_model → cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_exporters}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1/test_data_model/test_models → cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_importers}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_unit/test_rules/test_importers/constants.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1/test_data_model/test_models/test_dms → cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_models}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_unit/test_rules/test_models/utils.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1/test_data_model/test_models/test_entities → cognite_neat-0.123.34/tests/v0/tests_unit/test_rules/test_transformers}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests/tests_unit_v1/test_utils → cognite_neat-0.123.34/tests/v0/tests_unit/test_session}/__init__.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_unit/test_session/test_plugin.py +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_unit/test_store/tests_rules_store/test_import_export.yml +0 -0
- {cognite_neat-0.123.32/tests → cognite_neat-0.123.34/tests/v0}/tests_unit/test_utils/test_tarjan.py +0 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
.idea/
|
|
7
|
+
config.yaml
|
|
8
|
+
real_data/
|
|
9
|
+
data/
|
|
10
|
+
dev-data/
|
|
11
|
+
dev-data-*/
|
|
12
|
+
|
|
13
|
+
!cognite/neat/workflows/examples/config.yaml
|
|
14
|
+
|
|
15
|
+
requirements.txt
|
|
16
|
+
|
|
17
|
+
# C extensions
|
|
18
|
+
*.so
|
|
19
|
+
|
|
20
|
+
# Distribution / packaging
|
|
21
|
+
.Python
|
|
22
|
+
develop-eggs/
|
|
23
|
+
dist/
|
|
24
|
+
downloads/
|
|
25
|
+
eggs/
|
|
26
|
+
.eggs/
|
|
27
|
+
lib/
|
|
28
|
+
lib64/
|
|
29
|
+
parts/
|
|
30
|
+
sdist/
|
|
31
|
+
var/
|
|
32
|
+
wheels/
|
|
33
|
+
pip-wheel-metadata/
|
|
34
|
+
share/python-wheels/
|
|
35
|
+
*.egg-info/
|
|
36
|
+
.installed.cfg
|
|
37
|
+
*.egg
|
|
38
|
+
MANIFEST
|
|
39
|
+
!cognite/neat/workflows/steps/lib
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# PyInstaller
|
|
43
|
+
# Usually these files are written by a python script from a template
|
|
44
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
45
|
+
*.manifest
|
|
46
|
+
*.spec
|
|
47
|
+
|
|
48
|
+
# Installer logs
|
|
49
|
+
pip-log.txt
|
|
50
|
+
pip-delete-this-directory.txt
|
|
51
|
+
|
|
52
|
+
# Unit test / coverage reports
|
|
53
|
+
htmlcov/
|
|
54
|
+
.tox/
|
|
55
|
+
.nox/
|
|
56
|
+
.coverage
|
|
57
|
+
.coverage.*
|
|
58
|
+
.cache
|
|
59
|
+
nosetests.xml
|
|
60
|
+
coverage.xml
|
|
61
|
+
*.cover
|
|
62
|
+
*.py,cover
|
|
63
|
+
.hypothesis/
|
|
64
|
+
.pytest_cache/
|
|
65
|
+
!tests/data
|
|
66
|
+
# Translations
|
|
67
|
+
*.mo
|
|
68
|
+
*.pot
|
|
69
|
+
|
|
70
|
+
# Django stuff:
|
|
71
|
+
*.log
|
|
72
|
+
local_settings.py
|
|
73
|
+
db.sqlite3
|
|
74
|
+
db.sqlite3-journal
|
|
75
|
+
|
|
76
|
+
# Flask stuff:
|
|
77
|
+
instance/
|
|
78
|
+
.webassets-cache
|
|
79
|
+
|
|
80
|
+
# Scrapy stuff:
|
|
81
|
+
.scrapy
|
|
82
|
+
|
|
83
|
+
# Sphinx documentation
|
|
84
|
+
docs/_build/
|
|
85
|
+
|
|
86
|
+
# PyBuilder
|
|
87
|
+
target/
|
|
88
|
+
|
|
89
|
+
# Jupyter Notebook
|
|
90
|
+
.ipynb_checkpoints
|
|
91
|
+
|
|
92
|
+
# IPython
|
|
93
|
+
profile_default/
|
|
94
|
+
ipython_config.py
|
|
95
|
+
|
|
96
|
+
# pyenv
|
|
97
|
+
.python-version
|
|
98
|
+
|
|
99
|
+
# pipenv
|
|
100
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
101
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
102
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
103
|
+
# install all needed dependencies.
|
|
104
|
+
#Pipfile.lock
|
|
105
|
+
|
|
106
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
107
|
+
__pypackages__/
|
|
108
|
+
|
|
109
|
+
# Celery stuff
|
|
110
|
+
celerybeat-schedule
|
|
111
|
+
celerybeat.pid
|
|
112
|
+
|
|
113
|
+
# SageMath parsed files
|
|
114
|
+
*.sage.py
|
|
115
|
+
|
|
116
|
+
# Environments
|
|
117
|
+
.env
|
|
118
|
+
.venv
|
|
119
|
+
env/
|
|
120
|
+
venv/
|
|
121
|
+
ENV/
|
|
122
|
+
env.bak/
|
|
123
|
+
venv.bak/
|
|
124
|
+
|
|
125
|
+
# Spyder project settings
|
|
126
|
+
.spyderproject
|
|
127
|
+
.spyproject
|
|
128
|
+
|
|
129
|
+
# Rope project settings
|
|
130
|
+
.ropeproject
|
|
131
|
+
|
|
132
|
+
# mkdocs documentation
|
|
133
|
+
/site
|
|
134
|
+
|
|
135
|
+
# mypy
|
|
136
|
+
.mypy_cache/
|
|
137
|
+
.dmypy.json
|
|
138
|
+
dmypy.json
|
|
139
|
+
|
|
140
|
+
# Pyre type checker
|
|
141
|
+
.pyre/
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
# mypy
|
|
145
|
+
.mypy_cache/
|
|
146
|
+
data/.DS_Store
|
|
147
|
+
.vscode/settings.json
|
|
148
|
+
.DS_Store
|
|
149
|
+
.vscode/
|
|
150
|
+
.DS_Store
|
|
151
|
+
default.profraw
|
|
152
|
+
|
|
153
|
+
# private data
|
|
154
|
+
data/cim-export
|
|
155
|
+
data/temp
|
|
156
|
+
|
|
157
|
+
docker/vol_data/*
|
|
158
|
+
docker/vol_shared/*
|
|
159
|
+
|
|
160
|
+
cognite/neat/ui/neat-app/node_modules
|
|
161
|
+
!cognite/neat/ui/neat-app/build
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
# local notebooks
|
|
165
|
+
local/
|
|
166
|
+
playground/
|
|
167
|
+
|
|
168
|
+
tests/data/report.txt
|
|
169
|
+
tests/data/transformation_rules.xlsx
|
|
170
|
+
docs/tutorial/notebooks/power-grid-graph-capture.xls
|
|
171
|
+
tests/data/970_0ca0c919-046a-4940-b191-f5cc4d0e6513.json
|
|
172
|
+
build/*
|
|
173
|
+
scripts/tmp/*
|
|
174
|
+
scripts/config_manual_test.yaml
|
|
175
|
+
real_cases/
|
|
176
|
+
*.env
|
|
177
|
+
|
|
178
|
+
# Excel chache files
|
|
179
|
+
~*.xlsx
|
|
180
|
+
docs/**/*.aml
|
|
181
|
+
docs/**/*.xml
|
|
182
|
+
tmp/
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cognite-neat
|
|
3
|
+
Version: 0.123.34
|
|
4
|
+
Summary: Knowledge graph transformation
|
|
5
|
+
Project-URL: Documentation, https://cognite-neat.readthedocs-hosted.com/
|
|
6
|
+
Project-URL: Homepage, https://cognite-neat.readthedocs-hosted.com/
|
|
7
|
+
Project-URL: GitHub, https://github.com/cognitedata/neat
|
|
8
|
+
Project-URL: Changelog, https://github.com/cognitedata/neat/releases
|
|
9
|
+
Author-email: Nikola Vasiljevic <nikola.vasiljevic@cognite.com>, Anders Albert <anders.albert@cognite.com>, Rogerio Júnior <rogerio.junior@cognite.com>
|
|
10
|
+
License-Expression: Apache-2.0
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Requires-Dist: backports-strenum<2.0.0,>=1.2; python_version < '3.11'
|
|
14
|
+
Requires-Dist: cognite-sdk<8.0.0,>=7.83.0
|
|
15
|
+
Requires-Dist: elementpath<5.0.0,>=4.0.0
|
|
16
|
+
Requires-Dist: exceptiongroup<2.0.0,>=1.1.3; python_version < '3.11'
|
|
17
|
+
Requires-Dist: httpx>=0.28.1
|
|
18
|
+
Requires-Dist: jsonpath-python<2.0.0,>=1.0.6
|
|
19
|
+
Requires-Dist: mixpanel<5.0.0,>=4.10.1
|
|
20
|
+
Requires-Dist: networkx<4.0.0,>=3.4.2
|
|
21
|
+
Requires-Dist: openpyxl<4.0.0,>=3.0.10
|
|
22
|
+
Requires-Dist: packaging>=22.0
|
|
23
|
+
Requires-Dist: pandas<3.0.0,>=1.5.3
|
|
24
|
+
Requires-Dist: pydantic<3.0.0,>=2.0.0
|
|
25
|
+
Requires-Dist: pyvis<1.0.0,>=0.3.2
|
|
26
|
+
Requires-Dist: pyyaml<7.0.0,>=6.0.1
|
|
27
|
+
Requires-Dist: rdflib<8.0.0,>=7.0.0
|
|
28
|
+
Requires-Dist: requests<3.0.0,>=2.28.1
|
|
29
|
+
Requires-Dist: rich[jupyter]<14.0.0,>=13.7.1
|
|
30
|
+
Requires-Dist: tomli<3.0.0,>=2.0.1; python_version < '3.11'
|
|
31
|
+
Requires-Dist: typing-extensions<5.0.0,>=4.8.0; python_version < '3.11'
|
|
32
|
+
Requires-Dist: urllib3<3.0.0,>=1.26.15
|
|
33
|
+
Provides-Extra: docs
|
|
34
|
+
Requires-Dist: mistune==3.0.2; extra == 'docs'
|
|
35
|
+
Requires-Dist: mkdocs-autorefs<1.0.0,>=0.5.0; extra == 'docs'
|
|
36
|
+
Requires-Dist: mkdocs-git-authors-plugin<1.0.0,>=0.9.4; extra == 'docs'
|
|
37
|
+
Requires-Dist: mkdocs-git-revision-date-localized-plugin; extra == 'docs'
|
|
38
|
+
Requires-Dist: mkdocs-gitbook<1.0.0,>=0.0.1; extra == 'docs'
|
|
39
|
+
Requires-Dist: mkdocs-glightbox<1.0.0,>=0.4.0; extra == 'docs'
|
|
40
|
+
Requires-Dist: mkdocs-jupyter<1.0.0,>=0.25.1; extra == 'docs'
|
|
41
|
+
Requires-Dist: mkdocs-material-extensions<2.0.0,>=1.3.1; extra == 'docs'
|
|
42
|
+
Requires-Dist: mkdocs<2.0.0,>=1.4.0; extra == 'docs'
|
|
43
|
+
Requires-Dist: mkdocstrings[python]<1.0.0,>=0.25.2; extra == 'docs'
|
|
44
|
+
Requires-Dist: pymdown-extensions<11.0.0,>=10.14.3; extra == 'docs'
|
|
45
|
+
Provides-Extra: google
|
|
46
|
+
Requires-Dist: google-api-python-client<3.0.0,>=2.70.0; extra == 'google'
|
|
47
|
+
Requires-Dist: google-auth-oauthlib<2.0.0,>=1.0.0; extra == 'google'
|
|
48
|
+
Requires-Dist: gspread<6.0.0,>=5.0.0; extra == 'google'
|
|
49
|
+
Provides-Extra: lxml
|
|
50
|
+
Requires-Dist: lxml<6.0.0,>=5.3.0; extra == 'lxml'
|
|
51
|
+
Provides-Extra: oxi
|
|
52
|
+
Requires-Dist: oxrdflib<0.5.0,>=0.4.0; extra == 'oxi'
|
|
53
|
+
Requires-Dist: pyoxigraph<0.5.0,>=0.4.3; extra == 'oxi'
|
|
54
|
+
Description-Content-Type: text/markdown
|
|
55
|
+
|
|
56
|
+
# kNowlEdge grAph Transformer (NEAT)
|
|
57
|
+
|
|
58
|
+
[](https://github.com/cognitedata/neat/actions/workflows/release.yaml)
|
|
59
|
+
[](https://cognite-neat.readthedocs-hosted.com/en/latest/?badge=latest)
|
|
60
|
+
[](https://github.com/cognitedata/neat)
|
|
61
|
+
[](https://pypi.org/project/cognite-neat/)
|
|
62
|
+
[](https://pypistats.org/packages/cognite-neat)
|
|
63
|
+
[](https://hub.docker.com/r/cognite/neat)
|
|
64
|
+
[](https://github.com/cognitedata/neat/blob/master/LICENSE)
|
|
65
|
+
[](https://github.com/ambv/black)
|
|
66
|
+
[](https://github.com/astral-sh/ruff)
|
|
67
|
+
[](http://mypy-lang.org)
|
|
68
|
+
|
|
69
|
+
NEAT is a domain expert centric and developer friendly solution for rapid:
|
|
70
|
+
|
|
71
|
+
- data modeling
|
|
72
|
+
- extraction, transformation and loading of instances
|
|
73
|
+
- and ingestion of the models and instances (i.e. knowledge graphs) into [Cognite Data Fusion](https://www.cognite.com/en/product/cognite_data_fusion_industrial_dataops_platform)
|
|
74
|
+
|
|
75
|
+
NEAT is using open and globally recognized standards maintained by the [World Wide Web Consortium (W3C)](https://www.w3.org/RDF/).
|
|
76
|
+
NEAT represents an essential tool for creation of standardized, machine-actionable, linked and semantic (meta)data.
|
|
77
|
+
|
|
78
|
+
> NEAT is a funny acronym derived from k**N**owl**Ed**ge gr**A**ph **T**ransformer produced using [ACRONIMIFY](https://acronymify.com/NEAT/?q=knowledge+graph+transformer).
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## History
|
|
82
|
+
|
|
83
|
+
NEAT emerged from years of experience in semantic tooling and knowledge graph development. The foundation was laid in 2020 with [sheet2rdf](https://github.com/nikokaoja/sheet2rdf), an Excel-based tool that trained data stewards to build domain-specific knowledge graphs and supported CI/CD processes in the Dutch Covid program and european wind energy community.
|
|
84
|
+
|
|
85
|
+
By mid of 2022, sheet2rdf was used in several POCs in Cognite. As Cognite's Data Modeling Service (DMS) development progressed, the need for simplified data modeling experience led to demonstration of proto-NEAT, known as [sheet2fdm](https://github.com/cognitedata/sheet2fdm), an extension of sheet2rdf, enabling semantic data model definitions in OWL, SHACL, Python and GraphQL (see e.g., [wind energy data model](https://cognitedata.github.io/wind-energy-data-model/)) using a simplified version of sheet2rdf Excel template.
|
|
86
|
+
|
|
87
|
+
Presented in various forums in 2022, this approach paved the way for NEAT’s formal development in November 2022 to enable cost-saving and empowerment of Cognite customers to self-sufficiently maintain and onboard knowledge graphs to Cognite Data Fusion.
|
|
88
|
+
|
|
89
|
+
## Authorship
|
|
90
|
+
|
|
91
|
+
### Authors
|
|
92
|
+
The plot below shows the NEAT authorship from the start until present day.
|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
|
|
96
|
+
#### Current authors
|
|
97
|
+
- [Nikola Vasiljević](www.linkedin.com/in/thisisnikola)
|
|
98
|
+
- [Anders Albert](https://www.linkedin.com/in/anders-albert-00790483/)
|
|
99
|
+
- [Rogerio Júnior](https://www.linkedin.com/in/rogerio-saboia-j%C3%BAnior-087118a7/)
|
|
100
|
+
|
|
101
|
+
#### Former authors
|
|
102
|
+
- [Aleksandrs Livincovs](https://www.linkedin.com/in/aleksandrslivincovs/)
|
|
103
|
+
- [Julia Graham](https://www.linkedin.com/in/julia-graham-959a78a7/)
|
|
104
|
+
|
|
105
|
+
### Contributors
|
|
106
|
+
We are very grateful for the contributions made by:
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
- [Marie Solvik Lepoutre](https://www.linkedin.com/in/mslepoutre/), who improved RDF triples projections to Cognite Data Fusion
|
|
110
|
+
- [Bård Henning Tvedt](https://www.linkedin.com/in/bhtvedt/), who implemented IMF importer
|
|
111
|
+
- [Hassan Gomaa](https://www.linkedin.com/in/dr-hassan-gomaa-232638121/), who extended the DEXPI extractor
|
|
112
|
+
- [Kristina Tomičić](https://www.linkedin.com/in/kristina-tomicic-6bb443108/), who implemented Data Model and Instances visualization
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
## Sponsors
|
|
116
|
+
NEAT is developed and maintained by Cognite. We are grateful for the past support of our sponsors, who funded us to develop NEAT and to make it open source.
|
|
117
|
+
|
|
118
|
+
- [Statnett](https://www.statnett.no/) - the MIMIR team ([Ola Hagen Øyan](https://www.linkedin.com/in/ola-%C3%B8yan-b0205b19/), [Olav Westeng Alstad](https://www.linkedin.com/in/olav-w-alstad-52329191/),[Andreas Kimsås](https://www.linkedin.com/in/andreas-kims%C3%A5s-964a0b2/) and [Anders Willersrud](https://www.linkedin.com/in/anders-willersrud-13a20220/)) – who supported the development of NEAT from end of 2022 to mid of 2023 and its integration with Statnett's infrastructure, where NEAT was battle-tested as a tool for non-sematic experts to define data models and transform large knowledge graphs representing the entire Norwegian power grid system. Without Statnett's support NEAT would not exist in the first place, and would not be open-source.
|
|
119
|
+
- [Aker Solutions](https://www.akersolutions.com/) – the IMod Team (currently lead by [Maria Kenderkova](https://www.linkedin.com/in/maria-kenderkova/)), who funded development of NEAT from mid of 2023 till end of 2024 (multi-level and role-based data modeling, support for ontologies, IMF, DEXPI, AML,...) , as well who were early adopters and embraced NEAT and who were patient with us when things did not work so well. Aker Solutions was instrumental to elevating NEAT to a product level, and who selflessly advocate for NEAT globally.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## Installation
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
pip install cognite-neat
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Usage
|
|
129
|
+
|
|
130
|
+
The user interface for `NEAT` is a notebook-based environment. Once you have set up your notebook
|
|
131
|
+
environment, you start by creating a `CogniteClient` and instantiate a `NeatSession` object.
|
|
132
|
+
|
|
133
|
+
```python
|
|
134
|
+
from cognite.neat import NeatSession, get_cognite_client
|
|
135
|
+
|
|
136
|
+
client = get_cognite_client(".env")
|
|
137
|
+
|
|
138
|
+
neat = NeatSession(client)
|
|
139
|
+
|
|
140
|
+
neat.read.cdf.data_model(("my_space", "MyDataModel", "v1"))
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Documentation
|
|
144
|
+
|
|
145
|
+
For more information, see the [documentation](https://cognite-neat.readthedocs-hosted.com/en/latest/)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
from pydantic import HttpUrl, RootModel, ValidationError
|
|
2
|
+
|
|
3
|
+
from cognite.neat.v0.core._utils.auxiliary import local_import
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class URI(RootModel[str]):
|
|
7
|
+
def __init__(self, value: str):
|
|
8
|
+
try:
|
|
9
|
+
# Use Pydantic's AnyUrl to validate the URI
|
|
10
|
+
_ = HttpUrl(value)
|
|
11
|
+
except ValidationError as e:
|
|
12
|
+
raise ValueError(f"Invalid URI: {value}") from e
|
|
13
|
+
super().__init__(value)
|
|
14
|
+
|
|
15
|
+
def __str__(self) -> str:
|
|
16
|
+
return self.root
|
|
17
|
+
|
|
18
|
+
def __repr__(self) -> str:
|
|
19
|
+
return f"URI({self.root!r})"
|
|
20
|
+
|
|
21
|
+
def as_rdflib_uriref(self): # type: ignore[no-untyped-def]
|
|
22
|
+
# rdflib is an optional dependency, so import here
|
|
23
|
+
local_import("rdflib", "rdflib")
|
|
24
|
+
from rdflib import URIRef
|
|
25
|
+
|
|
26
|
+
return URIRef(self.root)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class NameSpace(RootModel[str]):
|
|
30
|
+
def __init__(self, value: str):
|
|
31
|
+
try:
|
|
32
|
+
# Use Pydantic's AnyUrl to validate the URI
|
|
33
|
+
_ = HttpUrl(value)
|
|
34
|
+
except ValidationError as e:
|
|
35
|
+
raise ValueError(f"Invalid Namespace: {value}") from e
|
|
36
|
+
super().__init__(value)
|
|
37
|
+
|
|
38
|
+
def __str__(self) -> str:
|
|
39
|
+
return self.root
|
|
40
|
+
|
|
41
|
+
def __repr__(self) -> str:
|
|
42
|
+
return f"NameSpace({self.root!r})"
|
|
43
|
+
|
|
44
|
+
def term(self, name: str) -> URI:
|
|
45
|
+
# need to handle slices explicitly because of __getitem__ override
|
|
46
|
+
return URI(self.root + (name if isinstance(name, str) else ""))
|
|
47
|
+
|
|
48
|
+
def __getitem__(self, key: str) -> URI: # type: ignore[override]
|
|
49
|
+
return self.term(key)
|
|
50
|
+
|
|
51
|
+
def __getattr__(self, name: str) -> URI:
|
|
52
|
+
if name.startswith("__"): # ignore any special Python names!
|
|
53
|
+
raise AttributeError
|
|
54
|
+
return self.term(name)
|
|
55
|
+
|
|
56
|
+
def as_rdflib_namespace(self): # type: ignore[no-untyped-def]
|
|
57
|
+
# rdflib is an optional dependency, so import here
|
|
58
|
+
local_import("rdflib", "rdflib")
|
|
59
|
+
from rdflib import Namespace
|
|
60
|
+
|
|
61
|
+
return Namespace(self.root)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from abc import ABC
|
|
2
|
+
|
|
3
|
+
from pydantic import Field, field_validator
|
|
4
|
+
|
|
5
|
+
from cognite.neat.v0.core._utils.text import humanize_collection
|
|
6
|
+
|
|
7
|
+
from ._base import WriteableResource
|
|
8
|
+
from ._constants import FORBIDDEN_SPACES, SPACE_FORMAT_PATTERN
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Space(WriteableResource["SpaceRequest"], ABC):
|
|
12
|
+
space: str = Field(
|
|
13
|
+
description="The Space identifier (id).",
|
|
14
|
+
min_length=1,
|
|
15
|
+
max_length=43,
|
|
16
|
+
pattern=SPACE_FORMAT_PATTERN,
|
|
17
|
+
)
|
|
18
|
+
name: str | None = Field(None, description="Name of the space.", max_length=1024)
|
|
19
|
+
description: str | None = Field(None, description="The description of the space.", max_length=255)
|
|
20
|
+
|
|
21
|
+
@field_validator("space")
|
|
22
|
+
def check_forbidden_space_value(cls, val: str) -> str:
|
|
23
|
+
"""Check the space name not present in forbidden set"""
|
|
24
|
+
if val in FORBIDDEN_SPACES:
|
|
25
|
+
raise ValueError(f"{val!r} is a reserved space. Reserved Spaces: {humanize_collection(FORBIDDEN_SPACES)}")
|
|
26
|
+
return val
|
|
27
|
+
|
|
28
|
+
def as_request(self) -> "SpaceRequest":
|
|
29
|
+
return SpaceRequest.model_validate(self.model_dump(by_alias=True))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class SpaceResponse(Space):
|
|
33
|
+
created_time: int = Field(
|
|
34
|
+
description="When the space was created. The number of milliseconds since 00:00:00 Thursday, 1 January 1970, "
|
|
35
|
+
"Coordinated Universal Time (UTC), minus leap seconds."
|
|
36
|
+
)
|
|
37
|
+
last_updated_time: int = Field(
|
|
38
|
+
description="When the space was last updated. The number of milliseconds since 00:00:00 Thursday, "
|
|
39
|
+
"1 January 1970, Coordinated Universal Time (UTC), minus leap seconds."
|
|
40
|
+
)
|
|
41
|
+
is_global: bool = Field(description="Whether the space is a global space.")
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class SpaceRequest(Space): ...
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
from ._constants import Undefined, Unknown
|
|
2
|
+
from ._data_types import (
|
|
3
|
+
AnyURI,
|
|
4
|
+
Boolean,
|
|
5
|
+
DataType,
|
|
6
|
+
Date,
|
|
7
|
+
DateTime,
|
|
8
|
+
DateTimeStamp,
|
|
9
|
+
Double,
|
|
10
|
+
Enum,
|
|
11
|
+
File,
|
|
12
|
+
Float,
|
|
13
|
+
Integer,
|
|
14
|
+
Json,
|
|
15
|
+
Long,
|
|
16
|
+
Sequence,
|
|
17
|
+
String,
|
|
18
|
+
Timeseries,
|
|
19
|
+
)
|
|
20
|
+
from ._identifiers import URI, NameSpace
|
|
21
|
+
from ._parser import ParsedEntity, parse_entity
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"URI",
|
|
25
|
+
"AnyURI",
|
|
26
|
+
"Boolean",
|
|
27
|
+
"DataType",
|
|
28
|
+
"Date",
|
|
29
|
+
"DateTime",
|
|
30
|
+
"DateTimeStamp",
|
|
31
|
+
"Double",
|
|
32
|
+
"Enum",
|
|
33
|
+
"File",
|
|
34
|
+
"Float",
|
|
35
|
+
"Integer",
|
|
36
|
+
"Json",
|
|
37
|
+
"Long",
|
|
38
|
+
"NameSpace",
|
|
39
|
+
"ParsedEntity",
|
|
40
|
+
"Sequence",
|
|
41
|
+
"String",
|
|
42
|
+
"Timeseries",
|
|
43
|
+
"Undefined",
|
|
44
|
+
"Unknown",
|
|
45
|
+
"parse_entity",
|
|
46
|
+
]
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
from functools import total_ordering
|
|
2
|
+
from typing import Any
|
|
3
|
+
|
|
4
|
+
from pydantic import BaseModel, Field, field_validator, model_serializer
|
|
5
|
+
|
|
6
|
+
from ._constants import (
|
|
7
|
+
Undefined,
|
|
8
|
+
Unknown,
|
|
9
|
+
_UndefinedType,
|
|
10
|
+
_UnknownType,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@total_ordering
|
|
15
|
+
class Entity(BaseModel, extra="ignore", populate_by_name=True):
|
|
16
|
+
"""Entity is a concept, class, property, datatype in semantics sense."""
|
|
17
|
+
|
|
18
|
+
prefix: str | _UndefinedType = Field(
|
|
19
|
+
default=Undefined, pattern=r"^[a-zA-Z][a-zA-Z0-9_-]{0,41}[a-zA-Z0-9]?$", min_length=1, max_length=43
|
|
20
|
+
)
|
|
21
|
+
suffix: str = Field(min_length=1, max_length=255, pattern=r"^[a-zA-Z0-9._~?@!$&'*+,;=%-]+$")
|
|
22
|
+
|
|
23
|
+
@model_serializer(when_used="unless-none", return_type=str)
|
|
24
|
+
def as_str(self) -> str:
|
|
25
|
+
return str(self)
|
|
26
|
+
|
|
27
|
+
@field_validator("*", mode="before")
|
|
28
|
+
def strip_string(cls, value: Any) -> Any:
|
|
29
|
+
if isinstance(value, str):
|
|
30
|
+
return value.strip()
|
|
31
|
+
elif isinstance(value, list):
|
|
32
|
+
return [entry.strip() if isinstance(entry, str) else entry for entry in value]
|
|
33
|
+
return value
|
|
34
|
+
|
|
35
|
+
def as_tuple(self) -> tuple[str, ...]:
|
|
36
|
+
# We haver overwritten the serialization to str, so we need to do it manually
|
|
37
|
+
extra: tuple[str, ...] = tuple(
|
|
38
|
+
[
|
|
39
|
+
str(v or "")
|
|
40
|
+
for field_name in self.model_fields.keys()
|
|
41
|
+
if (v := getattr(self, field_name)) and field_name not in {"prefix", "suffix"}
|
|
42
|
+
]
|
|
43
|
+
)
|
|
44
|
+
if isinstance(self.prefix, _UndefinedType):
|
|
45
|
+
return str(self.suffix), *extra
|
|
46
|
+
else:
|
|
47
|
+
return self.prefix, str(self.suffix), *extra
|
|
48
|
+
|
|
49
|
+
def __lt__(self, other: object) -> bool:
|
|
50
|
+
if type(other) is not type(self):
|
|
51
|
+
return NotImplemented
|
|
52
|
+
return self.as_tuple() < other.as_tuple() # type: ignore[attr-defined]
|
|
53
|
+
|
|
54
|
+
def __eq__(self, other: object) -> bool:
|
|
55
|
+
# We need to be explicit that we are not allowing comparison between different types
|
|
56
|
+
if type(other) is not type(self):
|
|
57
|
+
# requires explicit raising as NotImplemented would lead to running comparison
|
|
58
|
+
raise TypeError(f"'==' not supported between instances of {type(self).__name__} and {type(other).__name__}")
|
|
59
|
+
return self.as_tuple() == other.as_tuple() # type: ignore[attr-defined]
|
|
60
|
+
|
|
61
|
+
def __hash__(self) -> int:
|
|
62
|
+
return hash(f"{type(self).__name__}({self})")
|
|
63
|
+
|
|
64
|
+
def __str__(self) -> str:
|
|
65
|
+
# there are three cases for string representation:
|
|
66
|
+
# 1. only suffix is present -> return str(suffix)
|
|
67
|
+
# 2. prefix and suffix are present -> return "prefix:suffix"
|
|
68
|
+
# 3. prefix, suffix and other fields are present -> return "prefix:suffix(field1=value1,field2=value2)"
|
|
69
|
+
|
|
70
|
+
model_dump = {k: v for k in self.model_fields if (v := getattr(self, k)) is not None}
|
|
71
|
+
|
|
72
|
+
base_str = f"{self.prefix}:{self.suffix}" if not isinstance(self.prefix, _UndefinedType) else str(self.suffix)
|
|
73
|
+
|
|
74
|
+
extra_fields = {
|
|
75
|
+
(self.model_fields[k].alias or k): v for k, v in model_dump.items() if k not in {"prefix", "suffix"}
|
|
76
|
+
}
|
|
77
|
+
if extra_fields:
|
|
78
|
+
extra_str = ",".join([f"{k}={v}" for k, v in extra_fields.items()])
|
|
79
|
+
return f"{base_str}({extra_str})"
|
|
80
|
+
else:
|
|
81
|
+
return base_str
|
|
82
|
+
|
|
83
|
+
def __repr__(self) -> str:
|
|
84
|
+
# We have overwritten the serialization to str, so we need to do it manually
|
|
85
|
+
model_dump = {k: v for k in self.model_fields if (v := getattr(self, k)) is not None}
|
|
86
|
+
args = ",".join([f"{k}={v!r}" for k, v in model_dump.items()])
|
|
87
|
+
return f"{type(self).__name__}({args})"
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
class ConceptEntity(Entity):
|
|
91
|
+
version: str | None = None
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class UnknownEntity(ConceptEntity):
|
|
95
|
+
prefix: _UndefinedType = Undefined
|
|
96
|
+
suffix: _UnknownType = Unknown # type: ignore[assignment]
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def id(self) -> str:
|
|
100
|
+
return str(Unknown)
|