cognite-neat 0.85.8__tar.gz → 0.85.9__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.85.8 → cognite_neat-0.85.9}/PKG-INFO +1 -1
- cognite_neat-0.85.9/cognite/neat/_version.py +1 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_assets.py +4 -4
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_events.py +3 -3
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_files.py +3 -3
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_sequences.py +3 -3
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_timeseries.py +3 -3
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_inference2rules.py +66 -10
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/data_types.py +1 -1
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/pyproject.toml +1 -1
- cognite_neat-0.85.8/cognite/neat/_version.py +0 -1
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/LICENSE +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/README.md +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/_shared.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/asgi/metrics.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/configuration.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/context_manager/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/context_manager/manager.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/data_classes/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/data_classes/rest.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/explorer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/configuration.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/core.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/crud.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/data_exploration.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/metrics.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/workflows.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/utils/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/utils/data_mapping.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/utils/logging.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/utils/query_templates.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/main.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/monitoring/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/monitoring/metrics.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/index.html +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/.gitignore +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/README.md +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/asset-manifest.json +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/favicon.ico +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/img/architect-icon.svg +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/img/developer-icon.svg +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/img/sme-icon.svg +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/index.html +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/logo192.png +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/manifest.json +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/robots.txt +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/static/css/main.38a62222.css +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/static/css/main.38a62222.css.map +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/static/js/main.ec7f72e2.js +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/static/js/main.ec7f72e2.js.LICENSE.txt +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/static/js/main.ec7f72e2.js.map +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/static/media/logo.8093b84df9ed36a174c629d6fe0b730d.svg +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/config.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/constants.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/_shared.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/_tracking/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/_tracking/base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/_tracking/log.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/examples/Knowledge-Graph-Nordic44-dirty.xml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/examples/Knowledge-Graph-Nordic44.xml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/examples/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/examples/skos-capturing-sheet-wind-topics.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_labels.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_relationships.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_dexpi.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_mock_graph_generator.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_rdf_file.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/issues/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/issues/loader.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/loaders/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/loaders/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/loaders/_rdf2asset.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/loaders/_rdf2dms.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/models.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/queries/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/queries/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/queries/_construct.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/queries/_shared.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/stores/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/stores/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/stores/_oxrdflib.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/stores/_provenance.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/transformers/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/transformers/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/transformers/_classic_cdf.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/issues.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/examples/Knowledge-Graph-Nordic44-dirty.xml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/examples/Knowledge-Graph-Nordic44.xml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/examples/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/examples/skos-capturing-sheet-wind-topics.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/extractors/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/extractors/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/extractors/_dexpi.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/extractors/_graph_capturing_sheet.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/extractors/_mock_graph_generator.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/_asset_loader.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/_exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/labels.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/models.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/rdf_to_assets.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/rdf_to_relationships.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/rdf_to_dms.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/validator.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/models.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_graphdb_store.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_memory_store.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_oxigraph_store.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_oxrdflib.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_rdf_to_graph.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/transformations/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/transformations/entity_matcher.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/transformations/query_generator/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/transformations/query_generator/sparql.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/transformations/transformer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/analysis.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/Rules-Nordic44-to-graphql.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/Rules-Nordic44.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/power-grid-containers.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/power-grid-example.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/power-grid-model.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/rules-template.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/sheet2cdf-transformation-rules.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/skos-rules.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/source-to-solution-mapping-rules.xlsx +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/examples/wind-energy.owl +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_core/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_core/rules2labels.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_rules2dms.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_rules2excel.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_rules2graphql.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_rules2ontology.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_rules2pydantic_models.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_rules2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_rules2triples.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/exporters/_validation.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_dict2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_dms2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_graph2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_json2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_owl2rules/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_owl2rules/_owl2classes.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_owl2rules/_owl2metadata.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_owl2rules/_owl2properties.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_owl2rules/_owl2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_spreadsheet2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_xsd2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/importers/_yaml2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/models/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/models/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/models/raw_rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/models/rdfpath.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/models/rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/models/tables.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/rules/models/value_types.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Export_DMS/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Export_Rules_to_Ontology/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Extract_DEXPI_Graph_and_Export_Rules/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Extract_RDF_Graph_and_Generate_Assets/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Import_DMS/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Ontology_to_Data_Model/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Validate_Rules/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Validate_Solution_Model/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Visualize_Data_Model_Using_Mock_Graph/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/workflows/examples/Visualize_Semantic_Data_Model/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/py.typed +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/_shared.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/analysis/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/analysis/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/analysis/_information_rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/examples/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/examples/wind-energy.owl +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exporters/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exporters/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exporters/_rules2dms.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exporters/_rules2excel.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exporters/_rules2ontology.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exporters/_rules2yaml.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/exporters/_validation.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_dms2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_dtdl2rules/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_dtdl2rules/_unit_lookup.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_dtdl2rules/dtdl_converter.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_dtdl2rules/dtdl_importer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_dtdl2rules/spec.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_owl2rules/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_owl2rules/_owl2classes.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_owl2rules/_owl2metadata.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_owl2rules/_owl2properties.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_owl2rules/_owl2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_spreadsheet2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_yaml2rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/dms.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/fileread.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/formatters.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/importing.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/spreadsheet.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/issues/spreadsheet_file.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/_constants.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/_rdfpath.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/_types/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/_types/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/_types/_field.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/asset/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/asset/_converter.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/asset/_rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/asset/_rules_input.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/asset/_serializer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/asset/_validation.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/_converter.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/_exporter.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/_rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/_rules_input.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/_schema.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/_serializer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/dms/_validation.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/domain.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/entities.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/information/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/information/_converter.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/information/_rules.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/information/_rules_input.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/information/_serializer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/information/_validation.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/models/wrapped_entities.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/auth.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/auxiliary.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/cdf.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/cdf_classes.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/cdf_loaders/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/cdf_loaders/_base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/cdf_loaders/_data_modeling.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/cdf_loaders/_ingestion.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/cdf_loaders/data_classes.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/spreadsheet.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/text.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/upload.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/utils.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/utils/xml_.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/_exceptions.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/base.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/cdf_store.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Export_DMS/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Export_Rules_to_Ontology/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Extract_DEXPI_Graph_and_Export_Rules/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Extract_RDF_Graph_and_Generate_Assets/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Import_DMS/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Ontology_to_Data_Model/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Validate_Rules/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Validate_Solution_Model/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Visualize_Data_Model_Using_Mock_Graph/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/examples/Visualize_Semantic_Data_Model/workflow.yaml +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/manager.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/migration/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/migration/steps.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/migration/wf_manifests.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/model.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/data_contracts.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/current/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/current/graph_extractor.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/current/graph_loader.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/current/graph_store.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/current/rules_exporter.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/current/rules_importer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/current/rules_validator.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/io/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/io/io_steps.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/__init__.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/graph_contextualization.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/graph_extractor.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/graph_loader.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/graph_store.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/graph_transformer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/rules_exporter.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/lib/legacy/rules_importer.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps/step_model.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/steps_registry.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/tasks.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/triggers.py +0 -0
- {cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/workflows/utils.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.85.9"
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_assets.py
RENAMED
|
@@ -41,7 +41,7 @@ class AssetsExtractor(BaseExtractor):
|
|
|
41
41
|
to_type: Callable[[Asset], str | None] | None = None,
|
|
42
42
|
total: int | None = None,
|
|
43
43
|
limit: int | None = None,
|
|
44
|
-
unpack_metadata: bool =
|
|
44
|
+
unpack_metadata: bool = True,
|
|
45
45
|
):
|
|
46
46
|
self.namespace = namespace or DEFAULT_NAMESPACE
|
|
47
47
|
self.assets = assets
|
|
@@ -58,7 +58,7 @@ class AssetsExtractor(BaseExtractor):
|
|
|
58
58
|
namespace: Namespace | None = None,
|
|
59
59
|
to_type: Callable[[Asset], str | None] | None = None,
|
|
60
60
|
limit: int | None = None,
|
|
61
|
-
unpack_metadata: bool =
|
|
61
|
+
unpack_metadata: bool = True,
|
|
62
62
|
):
|
|
63
63
|
total = client.assets.aggregate_count(filter=AssetFilter(data_set_ids=[{"externalId": data_set_external_id}]))
|
|
64
64
|
|
|
@@ -82,7 +82,7 @@ class AssetsExtractor(BaseExtractor):
|
|
|
82
82
|
namespace: Namespace | None = None,
|
|
83
83
|
to_type: Callable[[Asset], str | None] | None = None,
|
|
84
84
|
limit: int | None = None,
|
|
85
|
-
unpack_metadata: bool =
|
|
85
|
+
unpack_metadata: bool = True,
|
|
86
86
|
):
|
|
87
87
|
total = client.assets.aggregate_count(
|
|
88
88
|
filter=AssetFilter(asset_subtree_ids=[{"externalId": root_asset_external_id}])
|
|
@@ -107,7 +107,7 @@ class AssetsExtractor(BaseExtractor):
|
|
|
107
107
|
namespace: Namespace | None = None,
|
|
108
108
|
to_type: Callable[[Asset], str] | None = None,
|
|
109
109
|
limit: int | None = None,
|
|
110
|
-
unpack_metadata: bool =
|
|
110
|
+
unpack_metadata: bool = True,
|
|
111
111
|
):
|
|
112
112
|
return cls(
|
|
113
113
|
AssetList.load(Path(file_path).read_text()),
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_events.py
RENAMED
|
@@ -29,7 +29,7 @@ class EventsExtractor(BaseExtractor):
|
|
|
29
29
|
self,
|
|
30
30
|
events: Iterable[Event],
|
|
31
31
|
namespace: Namespace | None = None,
|
|
32
|
-
unpack_metadata: bool =
|
|
32
|
+
unpack_metadata: bool = True,
|
|
33
33
|
):
|
|
34
34
|
self.namespace = namespace or DEFAULT_NAMESPACE
|
|
35
35
|
self.events = events
|
|
@@ -41,7 +41,7 @@ class EventsExtractor(BaseExtractor):
|
|
|
41
41
|
client: CogniteClient,
|
|
42
42
|
data_set_external_id: str,
|
|
43
43
|
namespace: Namespace | None = None,
|
|
44
|
-
unpack_metadata: bool =
|
|
44
|
+
unpack_metadata: bool = True,
|
|
45
45
|
):
|
|
46
46
|
return cls(
|
|
47
47
|
cast(
|
|
@@ -57,7 +57,7 @@ class EventsExtractor(BaseExtractor):
|
|
|
57
57
|
cls,
|
|
58
58
|
file_path: str,
|
|
59
59
|
namespace: Namespace | None = None,
|
|
60
|
-
unpack_metadata: bool =
|
|
60
|
+
unpack_metadata: bool = True,
|
|
61
61
|
):
|
|
62
62
|
return cls(EventList.load(Path(file_path).read_text()), namespace, unpack_metadata)
|
|
63
63
|
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_files.py
RENAMED
|
@@ -30,7 +30,7 @@ class FilesExtractor(BaseExtractor):
|
|
|
30
30
|
self,
|
|
31
31
|
files_metadata: Iterable[FileMetadata],
|
|
32
32
|
namespace: Namespace | None = None,
|
|
33
|
-
unpack_metadata: bool =
|
|
33
|
+
unpack_metadata: bool = True,
|
|
34
34
|
):
|
|
35
35
|
self.namespace = namespace or DEFAULT_NAMESPACE
|
|
36
36
|
self.files_metadata = files_metadata
|
|
@@ -42,7 +42,7 @@ class FilesExtractor(BaseExtractor):
|
|
|
42
42
|
client: CogniteClient,
|
|
43
43
|
data_set_external_id: str,
|
|
44
44
|
namespace: Namespace | None = None,
|
|
45
|
-
unpack_metadata: bool =
|
|
45
|
+
unpack_metadata: bool = True,
|
|
46
46
|
):
|
|
47
47
|
return cls(
|
|
48
48
|
cast(
|
|
@@ -58,7 +58,7 @@ class FilesExtractor(BaseExtractor):
|
|
|
58
58
|
cls,
|
|
59
59
|
file_path: str,
|
|
60
60
|
namespace: Namespace | None = None,
|
|
61
|
-
unpack_metadata: bool =
|
|
61
|
+
unpack_metadata: bool = True,
|
|
62
62
|
):
|
|
63
63
|
return cls(
|
|
64
64
|
FileMetadataList.load(Path(file_path).read_text()),
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_sequences.py
RENAMED
|
@@ -29,7 +29,7 @@ class SequencesExtractor(BaseExtractor):
|
|
|
29
29
|
self,
|
|
30
30
|
sequence: Iterable[Sequence],
|
|
31
31
|
namespace: Namespace | None = None,
|
|
32
|
-
unpack_metadata: bool =
|
|
32
|
+
unpack_metadata: bool = True,
|
|
33
33
|
):
|
|
34
34
|
self.namespace = namespace or DEFAULT_NAMESPACE
|
|
35
35
|
self.sequence = sequence
|
|
@@ -41,7 +41,7 @@ class SequencesExtractor(BaseExtractor):
|
|
|
41
41
|
client: CogniteClient,
|
|
42
42
|
data_set_external_id: str,
|
|
43
43
|
namespace: Namespace | None = None,
|
|
44
|
-
unpack_metadata: bool =
|
|
44
|
+
unpack_metadata: bool = True,
|
|
45
45
|
):
|
|
46
46
|
return cls(
|
|
47
47
|
cast(
|
|
@@ -57,7 +57,7 @@ class SequencesExtractor(BaseExtractor):
|
|
|
57
57
|
cls,
|
|
58
58
|
file_path: str,
|
|
59
59
|
namespace: Namespace | None = None,
|
|
60
|
-
unpack_metadata: bool =
|
|
60
|
+
unpack_metadata: bool = True,
|
|
61
61
|
):
|
|
62
62
|
return cls(SequenceList.load(Path(file_path).read_text()), namespace, unpack_metadata)
|
|
63
63
|
|
|
@@ -29,7 +29,7 @@ class TimeSeriesExtractor(BaseExtractor):
|
|
|
29
29
|
self,
|
|
30
30
|
timeseries: Iterable[TimeSeries],
|
|
31
31
|
namespace: Namespace | None = None,
|
|
32
|
-
unpack_metadata: bool =
|
|
32
|
+
unpack_metadata: bool = True,
|
|
33
33
|
):
|
|
34
34
|
self.namespace = namespace or DEFAULT_NAMESPACE
|
|
35
35
|
self.timeseries = timeseries
|
|
@@ -41,7 +41,7 @@ class TimeSeriesExtractor(BaseExtractor):
|
|
|
41
41
|
client: CogniteClient,
|
|
42
42
|
data_set_external_id: str,
|
|
43
43
|
namespace: Namespace | None = None,
|
|
44
|
-
unpack_metadata: bool =
|
|
44
|
+
unpack_metadata: bool = True,
|
|
45
45
|
):
|
|
46
46
|
return cls(
|
|
47
47
|
cast(
|
|
@@ -57,7 +57,7 @@ class TimeSeriesExtractor(BaseExtractor):
|
|
|
57
57
|
cls,
|
|
58
58
|
file_path: str,
|
|
59
59
|
namespace: Namespace | None = None,
|
|
60
|
-
unpack_metadata: bool =
|
|
60
|
+
unpack_metadata: bool = True,
|
|
61
61
|
):
|
|
62
62
|
return cls(TimeSeriesList.load(Path(file_path).read_text()), namespace, unpack_metadata)
|
|
63
63
|
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/rules/importers/_inference2rules.py
RENAMED
|
@@ -17,7 +17,11 @@ from cognite.neat.rules.models.information import (
|
|
|
17
17
|
InformationMetadata,
|
|
18
18
|
InformationRulesInput,
|
|
19
19
|
)
|
|
20
|
-
from cognite.neat.utils.utils import
|
|
20
|
+
from cognite.neat.utils.utils import (
|
|
21
|
+
get_namespace,
|
|
22
|
+
remove_namespace_from_uri,
|
|
23
|
+
uri_to_short_form,
|
|
24
|
+
)
|
|
21
25
|
|
|
22
26
|
ORDERED_CLASSES_QUERY = """SELECT ?class (count(?s) as ?instances )
|
|
23
27
|
WHERE { ?s a ?class . }
|
|
@@ -25,9 +29,21 @@ ORDERED_CLASSES_QUERY = """SELECT ?class (count(?s) as ?instances )
|
|
|
25
29
|
|
|
26
30
|
INSTANCES_OF_CLASS_QUERY = """SELECT ?s WHERE { ?s a <class> . }"""
|
|
27
31
|
|
|
32
|
+
INSTANCE_PROPERTIES_JSON_DEFINITION = """SELECT ?property (count(?property) as ?occurrence) ?dataType ?objectType
|
|
33
|
+
WHERE {<instance_id> ?property ?value .
|
|
34
|
+
|
|
35
|
+
BIND(IF(REGEX(?value, "^\u007b(.*)\u007d$"),
|
|
36
|
+
<http://www.w3.org/2001/XMLSchema#json>,
|
|
37
|
+
datatype(?value)) AS ?dataType)
|
|
38
|
+
|
|
39
|
+
OPTIONAL {?value rdf:type ?objectType .}}
|
|
40
|
+
GROUP BY ?property ?dataType ?objectType"""
|
|
41
|
+
|
|
28
42
|
INSTANCE_PROPERTIES_DEFINITION = """SELECT ?property (count(?property) as ?occurrence) ?dataType ?objectType
|
|
29
43
|
WHERE {<instance_id> ?property ?value .
|
|
44
|
+
|
|
30
45
|
BIND(datatype(?value) AS ?dataType)
|
|
46
|
+
|
|
31
47
|
OPTIONAL {?value rdf:type ?objectType .}}
|
|
32
48
|
GROUP BY ?property ?dataType ?objectType"""
|
|
33
49
|
|
|
@@ -44,27 +60,48 @@ class InferenceImporter(BaseImporter):
|
|
|
44
60
|
graph: Knowledge graph
|
|
45
61
|
max_number_of_instance: Maximum number of instances to be used in inference
|
|
46
62
|
prefix: Prefix to be used for the inferred model
|
|
63
|
+
check_for_json_string: Check if values are JSON strings
|
|
47
64
|
"""
|
|
48
65
|
|
|
49
66
|
def __init__(
|
|
50
|
-
self,
|
|
67
|
+
self,
|
|
68
|
+
issue_list: IssueList,
|
|
69
|
+
graph: Graph,
|
|
70
|
+
max_number_of_instance: int = -1,
|
|
71
|
+
prefix: str = "inferred",
|
|
72
|
+
check_for_json_string: bool = False,
|
|
51
73
|
) -> None:
|
|
52
74
|
self.issue_list = issue_list
|
|
53
75
|
self.graph = graph
|
|
54
76
|
self.max_number_of_instance = max_number_of_instance
|
|
55
77
|
self.prefix = prefix
|
|
78
|
+
self.check_for_json_string = check_for_json_string
|
|
56
79
|
|
|
57
80
|
@classmethod
|
|
58
81
|
def from_graph_store(
|
|
59
|
-
cls,
|
|
82
|
+
cls,
|
|
83
|
+
store: NeatGraphStore,
|
|
84
|
+
max_number_of_instance: int = -1,
|
|
85
|
+
prefix: str = "inferred",
|
|
86
|
+
check_for_json_string: bool = False,
|
|
60
87
|
) -> "InferenceImporter":
|
|
61
88
|
issue_list = IssueList(title="Inferred from graph store")
|
|
62
89
|
|
|
63
|
-
return cls(
|
|
90
|
+
return cls(
|
|
91
|
+
issue_list,
|
|
92
|
+
store.graph,
|
|
93
|
+
max_number_of_instance=max_number_of_instance,
|
|
94
|
+
prefix=prefix,
|
|
95
|
+
check_for_json_string=check_for_json_string,
|
|
96
|
+
)
|
|
64
97
|
|
|
65
98
|
@classmethod
|
|
66
99
|
def from_rdf_file(
|
|
67
|
-
cls,
|
|
100
|
+
cls,
|
|
101
|
+
filepath: Path,
|
|
102
|
+
max_number_of_instance: int = -1,
|
|
103
|
+
prefix: str = "inferred",
|
|
104
|
+
check_for_json_string: bool = False,
|
|
68
105
|
) -> "InferenceImporter":
|
|
69
106
|
issue_list = IssueList(title=f"'{filepath.name}'")
|
|
70
107
|
|
|
@@ -74,23 +111,41 @@ class InferenceImporter(BaseImporter):
|
|
|
74
111
|
except Exception:
|
|
75
112
|
issue_list.append(issues.fileread.FileReadError(filepath))
|
|
76
113
|
|
|
77
|
-
return cls(
|
|
114
|
+
return cls(
|
|
115
|
+
issue_list,
|
|
116
|
+
graph,
|
|
117
|
+
max_number_of_instance=max_number_of_instance,
|
|
118
|
+
prefix=prefix,
|
|
119
|
+
check_for_json_string=check_for_json_string,
|
|
120
|
+
)
|
|
78
121
|
|
|
79
122
|
@classmethod
|
|
80
123
|
def from_json_file(
|
|
81
|
-
cls,
|
|
124
|
+
cls,
|
|
125
|
+
filepath: Path,
|
|
126
|
+
max_number_of_instance: int = -1,
|
|
127
|
+
prefix: str = "inferred",
|
|
128
|
+
check_for_json_string: bool = False,
|
|
82
129
|
) -> "InferenceImporter":
|
|
83
130
|
raise NotImplementedError("JSON file format is not supported yet.")
|
|
84
131
|
|
|
85
132
|
@classmethod
|
|
86
133
|
def from_yaml_file(
|
|
87
|
-
cls,
|
|
134
|
+
cls,
|
|
135
|
+
filepath: Path,
|
|
136
|
+
max_number_of_instance: int = -1,
|
|
137
|
+
prefix: str = "inferred",
|
|
138
|
+
check_for_json_string: bool = False,
|
|
88
139
|
) -> "InferenceImporter":
|
|
89
140
|
raise NotImplementedError("YAML file format is not supported yet.")
|
|
90
141
|
|
|
91
142
|
@classmethod
|
|
92
143
|
def from_xml_file(
|
|
93
|
-
cls,
|
|
144
|
+
cls,
|
|
145
|
+
filepath: Path,
|
|
146
|
+
max_number_of_instance: int = -1,
|
|
147
|
+
prefix: str = "inferred",
|
|
148
|
+
check_for_json_string: bool = False,
|
|
94
149
|
) -> "InferenceImporter":
|
|
95
150
|
raise NotImplementedError("JSON file format is not supported yet.")
|
|
96
151
|
|
|
@@ -149,6 +204,7 @@ class InferenceImporter(BaseImporter):
|
|
|
149
204
|
properties: dict[str, dict] = {}
|
|
150
205
|
prefixes: dict[str, Namespace] = PREFIXES.copy()
|
|
151
206
|
|
|
207
|
+
query = INSTANCE_PROPERTIES_JSON_DEFINITION if self.check_for_json_string else INSTANCE_PROPERTIES_DEFINITION
|
|
152
208
|
# Adds default namespace to prefixes
|
|
153
209
|
prefixes[self._default_metadata().prefix] = self._default_metadata().namespace
|
|
154
210
|
|
|
@@ -176,7 +232,7 @@ class InferenceImporter(BaseImporter):
|
|
|
176
232
|
+ f" LIMIT {self.max_number_of_instance}"
|
|
177
233
|
):
|
|
178
234
|
for property_uri, occurrence, data_type_uri, object_type_uri in self.graph.query( # type: ignore[misc]
|
|
179
|
-
|
|
235
|
+
query.replace("instance_id", instance)
|
|
180
236
|
): # type: ignore[misc]
|
|
181
237
|
property_id = remove_namespace_from_uri(property_uri)
|
|
182
238
|
self._add_uri_namespace_to_prefixes(cast(URIRef, property_uri), prefixes)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.85.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/context_manager/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/api/routers/data_exploration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/asset-manifest.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/img/sme-icon.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/app/ui/neat-app/build/manifest.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/examples/Knowledge-Graph-Nordic44.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/__init__.py
RENAMED
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_classic_cdf/_labels.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/graph/extractors/_mock_graph_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/extractors/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/_asset_loader.py
RENAMED
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/_exceptions.py
RENAMED
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/__init__.py
RENAMED
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/labels.py
RENAMED
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/models.py
RENAMED
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/loaders/core/rdf_to_assets.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_graphdb_store.py
RENAMED
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_memory_store.py
RENAMED
|
File without changes
|
{cognite_neat-0.85.8 → cognite_neat-0.85.9}/cognite/neat/legacy/graph/stores/_oxigraph_store.py
RENAMED
|
File without changes
|