cognite-neat 0.87.0__py3-none-any.whl → 0.87.3__py3-none-any.whl
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/_version.py +1 -1
- cognite/neat/app/api/configuration.py +1 -10
- cognite/neat/app/api/routers/data_exploration.py +1 -1
- cognite/neat/config.py +84 -17
- cognite/neat/graph/extractors/_classic_cdf/_assets.py +1 -1
- cognite/neat/graph/extractors/_classic_cdf/_events.py +1 -1
- cognite/neat/graph/extractors/_classic_cdf/_files.py +1 -1
- cognite/neat/graph/extractors/_classic_cdf/_labels.py +1 -1
- cognite/neat/graph/extractors/_classic_cdf/_relationships.py +1 -1
- cognite/neat/graph/extractors/_classic_cdf/_sequences.py +1 -1
- cognite/neat/graph/extractors/_classic_cdf/_timeseries.py +1 -1
- cognite/neat/graph/extractors/_dexpi.py +1 -1
- cognite/neat/graph/extractors/_mock_graph_generator.py +1 -1
- cognite/neat/graph/loaders/_rdf2asset.py +108 -52
- cognite/neat/graph/loaders/_rdf2dms.py +6 -6
- cognite/neat/graph/queries/_base.py +20 -11
- cognite/neat/graph/queries/_construct.py +3 -3
- cognite/neat/graph/queries/_shared.py +1 -1
- cognite/neat/graph/stores/_base.py +14 -3
- cognite/neat/graph/transformers/__init__.py +3 -0
- cognite/neat/graph/transformers/_rdfpath.py +42 -0
- cognite/neat/legacy/graph/extractors/_mock_graph_generator.py +1 -1
- cognite/neat/legacy/graph/loaders/_asset_loader.py +2 -2
- cognite/neat/legacy/graph/loaders/core/rdf_to_assets.py +5 -2
- cognite/neat/legacy/graph/loaders/core/rdf_to_relationships.py +4 -1
- cognite/neat/legacy/graph/loaders/rdf_to_dms.py +3 -1
- cognite/neat/legacy/graph/transformations/query_generator/sparql.py +1 -1
- cognite/neat/legacy/graph/transformations/transformer.py +1 -1
- cognite/neat/legacy/rules/exporters/_rules2dms.py +8 -3
- cognite/neat/legacy/rules/exporters/_rules2graphql.py +1 -1
- cognite/neat/legacy/rules/exporters/_rules2ontology.py +2 -1
- cognite/neat/legacy/rules/exporters/_rules2pydantic_models.py +3 -4
- cognite/neat/legacy/rules/importers/_dms2rules.py +4 -1
- cognite/neat/legacy/rules/importers/_graph2rules.py +5 -32
- cognite/neat/legacy/rules/importers/_owl2rules/_owl2classes.py +1 -1
- cognite/neat/legacy/rules/importers/_owl2rules/_owl2metadata.py +2 -1
- cognite/neat/legacy/rules/importers/_owl2rules/_owl2properties.py +1 -1
- cognite/neat/legacy/rules/models/raw_rules.py +1 -1
- cognite/neat/rules/analysis/_asset.py +15 -0
- cognite/neat/rules/analysis/_base.py +1 -1
- cognite/neat/rules/analysis/_information.py +40 -12
- cognite/neat/rules/exporters/_rules2dms.py +1 -1
- cognite/neat/rules/exporters/_rules2ontology.py +2 -1
- cognite/neat/rules/importers/_dms2rules.py +3 -1
- cognite/neat/rules/importers/_inference2rules.py +1 -5
- cognite/neat/rules/importers/_owl2rules/_owl2classes.py +1 -1
- cognite/neat/rules/importers/_owl2rules/_owl2metadata.py +2 -1
- cognite/neat/rules/importers/_owl2rules/_owl2properties.py +1 -1
- cognite/neat/rules/issues/spreadsheet.py +35 -0
- cognite/neat/rules/models/_rdfpath.py +17 -21
- cognite/neat/rules/models/asset/_validation.py +38 -1
- cognite/neat/rules/models/dms/_exporter.py +7 -3
- cognite/neat/rules/models/dms/_schema.py +5 -4
- cognite/neat/rules/models/entities.py +26 -8
- cognite/neat/rules/models/information/_validation.py +1 -1
- cognite/neat/utils/__init__.py +0 -3
- cognite/neat/utils/auth.py +47 -28
- cognite/neat/utils/auxiliary.py +141 -1
- cognite/neat/utils/cdf/__init__.py +0 -0
- cognite/neat/utils/{cdf_classes.py → cdf/data_classes.py} +122 -2
- cognite/neat/utils/{cdf_loaders → cdf/loaders}/_data_modeling.py +37 -0
- cognite/neat/utils/{cdf_loaders → cdf/loaders}/_ingestion.py +2 -1
- cognite/neat/utils/collection_.py +18 -0
- cognite/neat/utils/rdf_.py +165 -0
- cognite/neat/utils/text.py +4 -0
- cognite/neat/utils/time_.py +17 -0
- cognite/neat/utils/upload.py +13 -1
- cognite/neat/workflows/_exceptions.py +5 -5
- cognite/neat/workflows/base.py +1 -1
- cognite/neat/workflows/steps/lib/current/rules_validator.py +2 -2
- cognite/neat/workflows/steps/lib/legacy/graph_extractor.py +1 -1
- cognite/neat/workflows/steps/lib/legacy/graph_loader.py +1 -1
- cognite/neat/workflows/steps/lib/legacy/rules_exporter.py +1 -1
- cognite/neat/workflows/steps/lib/legacy/rules_importer.py +1 -1
- {cognite_neat-0.87.0.dist-info → cognite_neat-0.87.3.dist-info}/METADATA +2 -2
- {cognite_neat-0.87.0.dist-info → cognite_neat-0.87.3.dist-info}/RECORD +81 -81
- cognite/neat/utils/cdf.py +0 -59
- cognite/neat/utils/cdf_loaders/data_classes.py +0 -121
- cognite/neat/utils/exceptions.py +0 -41
- cognite/neat/utils/utils.py +0 -429
- /cognite/neat/utils/{cdf_loaders → cdf/loaders}/__init__.py +0 -0
- /cognite/neat/utils/{cdf_loaders → cdf/loaders}/_base.py +0 -0
- {cognite_neat-0.87.0.dist-info → cognite_neat-0.87.3.dist-info}/LICENSE +0 -0
- {cognite_neat-0.87.0.dist-info → cognite_neat-0.87.3.dist-info}/WHEEL +0 -0
- {cognite_neat-0.87.0.dist-info → cognite_neat-0.87.3.dist-info}/entry_points.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
cognite/neat/__init__.py,sha256=AiexNcHdAHFbrrbo9c65gtil1dqx_SGraDH1PSsXjKE,126
|
|
2
2
|
cognite/neat/_shared.py,sha256=RSaHm2eJceTlvb-hMMe4nHgoHdPYDfN3XcxDXo24k3A,1530
|
|
3
|
-
cognite/neat/_version.py,sha256=
|
|
3
|
+
cognite/neat/_version.py,sha256=3v-UA6wOjR8iz4XHC5-uiPeVNKlUaUCf6XCUN-gr2NI,23
|
|
4
4
|
cognite/neat/app/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
cognite/neat/app/api/asgi/metrics.py,sha256=nxFy7L5cChTI0a-zkCiJ59Aq8yLuIJp5c9Dg0wRXtV0,152
|
|
6
|
-
cognite/neat/app/api/configuration.py,sha256=
|
|
6
|
+
cognite/neat/app/api/configuration.py,sha256=L1DCtLZ1HZku8I2z-JWd5RDsXhIsboFsKwAMhkrm-bY,3600
|
|
7
7
|
cognite/neat/app/api/context_manager/__init__.py,sha256=2Wgf2S-Y44Z9Lbnml9e3X030H97ghbfTOrRxAUtrXaA,90
|
|
8
8
|
cognite/neat/app/api/context_manager/manager.py,sha256=cVwFua80PXXM5k7nOHbynmywr_zcpcZh_NDLVmjpDwY,380
|
|
9
9
|
cognite/neat/app/api/data_classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -12,7 +12,7 @@ cognite/neat/app/api/explorer.py,sha256=OlLI-RbQGjXEuDgtmFfBuTXfnRVemTJDKbL9VvXL
|
|
|
12
12
|
cognite/neat/app/api/routers/configuration.py,sha256=rg9GihPPYjgNj1n_wWqfASO4iMXWh_US5sgNJCwejCE,585
|
|
13
13
|
cognite/neat/app/api/routers/core.py,sha256=WznuQHzGkhBzf_GrHFiaSCXewBiQcrT4O6kYaJtaBYA,3483
|
|
14
14
|
cognite/neat/app/api/routers/crud.py,sha256=VCQMjvcLosELkmMZRiunyd-RK5sltQFjcCSrGk5kwXc,4597
|
|
15
|
-
cognite/neat/app/api/routers/data_exploration.py,sha256=
|
|
15
|
+
cognite/neat/app/api/routers/data_exploration.py,sha256=xTE2nK8qfnG7iqIYa4KaLByi_EZPpD6NXQg5HQtqDcg,13703
|
|
16
16
|
cognite/neat/app/api/routers/metrics.py,sha256=S_bUQk_GjfQq7WbEhSVdow4MUYBZ_bZNafzgcKogXK8,210
|
|
17
17
|
cognite/neat/app/api/routers/rules.py,sha256=MECSzurNe7y07-GfsggBDmfNtYkFuLdAm9ogSjLbzzk,8121
|
|
18
18
|
cognite/neat/app/api/routers/workflows.py,sha256=fPqNT0swH-sfcjD8PLK5NzKY1sVSU7GaCMkHfH78gxw,12393
|
|
@@ -41,7 +41,7 @@ cognite/neat/app/ui/neat-app/build/static/js/main.ec7f72e2.js,sha256=ZkA6I1nKY8s
|
|
|
41
41
|
cognite/neat/app/ui/neat-app/build/static/js/main.ec7f72e2.js.LICENSE.txt,sha256=7MyvPDLc3ChJIETthFSLRMt9Q2gwAMd8OYMqRMq-UhQ,2667
|
|
42
42
|
cognite/neat/app/ui/neat-app/build/static/js/main.ec7f72e2.js.map,sha256=740AFz-4z3gZtpgAopleqHGGH2rjp9NGV8lVi-vQniI,6282875
|
|
43
43
|
cognite/neat/app/ui/neat-app/build/static/media/logo.8093b84df9ed36a174c629d6fe0b730d.svg,sha256=EYf9q9JoVJ1L1np-XloeEZXCmaibzKmmpXCKn_44xzA,240334
|
|
44
|
-
cognite/neat/config.py,sha256=
|
|
44
|
+
cognite/neat/config.py,sha256=N98Mh8OcSd9CWe2mb5vbovQ4txLKbWEY362BYc4FrCY,9265
|
|
45
45
|
cognite/neat/constants.py,sha256=kuAOxPWvv4RzBISgNGoeyEXrt4B_VgMfxexDIOUEdMA,877
|
|
46
46
|
cognite/neat/exceptions.py,sha256=CM7aCvbek9klOgjTsJ9bfEA8t7KTAL6dc7Mviu4NvSI,4268
|
|
47
47
|
cognite/neat/graph/__init__.py,sha256=J8JSJj3s4gFbuAexma__KGpBXPN8wuydPTKd6EwgKPA,65
|
|
@@ -57,35 +57,35 @@ cognite/neat/graph/exceptions.py,sha256=R6pyOH774n9w2x_X_nrUr8OMAdjJMf_XPIqAvxIQ
|
|
|
57
57
|
cognite/neat/graph/extractors/__init__.py,sha256=nXcNp6i3-1HteIkr8Ujxk4b09W5jk27Q3eWuwjcnGnM,1647
|
|
58
58
|
cognite/neat/graph/extractors/_base.py,sha256=8IWygpkQTwo0UOmbbwWVI7540_klTVdUVX2JjVPFRIs,498
|
|
59
59
|
cognite/neat/graph/extractors/_classic_cdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
60
|
-
cognite/neat/graph/extractors/_classic_cdf/_assets.py,sha256=
|
|
61
|
-
cognite/neat/graph/extractors/_classic_cdf/_events.py,sha256=
|
|
62
|
-
cognite/neat/graph/extractors/_classic_cdf/_files.py,sha256=
|
|
63
|
-
cognite/neat/graph/extractors/_classic_cdf/_labels.py,sha256=
|
|
64
|
-
cognite/neat/graph/extractors/_classic_cdf/_relationships.py,sha256=
|
|
65
|
-
cognite/neat/graph/extractors/_classic_cdf/_sequences.py,sha256=
|
|
66
|
-
cognite/neat/graph/extractors/_classic_cdf/_timeseries.py,sha256=
|
|
67
|
-
cognite/neat/graph/extractors/_dexpi.py,sha256=
|
|
68
|
-
cognite/neat/graph/extractors/_mock_graph_generator.py,sha256=
|
|
60
|
+
cognite/neat/graph/extractors/_classic_cdf/_assets.py,sha256=3rhQU_jabVkfBy05BHYS-mbQzCEN_fkeZiTUzj3qeyM,7854
|
|
61
|
+
cognite/neat/graph/extractors/_classic_cdf/_events.py,sha256=_XhfNcDVrxhPsQD6jgh3OZVhyzF-bjjrW3onePBUU-A,5113
|
|
62
|
+
cognite/neat/graph/extractors/_classic_cdf/_files.py,sha256=lP_y1HmF5rQ0Ufz4KL0fyPvM02Qv9Rvu6jwBZKyAsBY,6290
|
|
63
|
+
cognite/neat/graph/extractors/_classic_cdf/_labels.py,sha256=Cd2l_WWFypryTc3zB8z5upgxh4BVf-vWSH2G7plh9lo,3015
|
|
64
|
+
cognite/neat/graph/extractors/_classic_cdf/_relationships.py,sha256=zpJlRbx1Jx5Jo5ZD4fPGemz-f2Pjys775wnZGxB6GG0,6044
|
|
65
|
+
cognite/neat/graph/extractors/_classic_cdf/_sequences.py,sha256=K6A_vZ_3HNI-51DSB23y9hhVajxCdkQKw3gv1TXIyuA,4681
|
|
66
|
+
cognite/neat/graph/extractors/_classic_cdf/_timeseries.py,sha256=5n73uLcA5l30zGZuPq6xSs6hti1Al2qnj3c3q7zkQQg,6126
|
|
67
|
+
cognite/neat/graph/extractors/_dexpi.py,sha256=Q3whJpEi3uFMzJGAAeUfgRnAzz6ZHmtuEdVBWqsZsTM,9384
|
|
68
|
+
cognite/neat/graph/extractors/_mock_graph_generator.py,sha256=UNSAkspuQTA8uTR65BDgwzU89NJ1k0NkJLwwLatGmFk,14678
|
|
69
69
|
cognite/neat/graph/extractors/_rdf_file.py,sha256=ialMCLv9WH5k6v1YMfozfcmAYhz8OVo9jVhsKMyQkDA,763
|
|
70
70
|
cognite/neat/graph/issues/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
71
71
|
cognite/neat/graph/issues/loader.py,sha256=v8YDsehkUT1QUG61JM9BDV_lqowMUnDmGmbay0aFzN4,3085
|
|
72
72
|
cognite/neat/graph/loaders/__init__.py,sha256=TbeJqifd16JLOglPVNOeb6pN_w060UYag50KquBM_r0,769
|
|
73
73
|
cognite/neat/graph/loaders/_base.py,sha256=p58Lb0yBDQpxhpo7tfLiyPxSB0TDoqlo6WKBWC-huRw,3498
|
|
74
|
-
cognite/neat/graph/loaders/_rdf2asset.py,sha256=
|
|
75
|
-
cognite/neat/graph/loaders/_rdf2dms.py,sha256=
|
|
74
|
+
cognite/neat/graph/loaders/_rdf2asset.py,sha256=n83OW2P0sH54gAtcdVj2yiBrX_W4sjRiANvzwD7ShyY,10125
|
|
75
|
+
cognite/neat/graph/loaders/_rdf2dms.py,sha256=HxfHmUnkDPaQWyEyEqmqI7xGBNwJY8XmcWALaOMinNk,14595
|
|
76
76
|
cognite/neat/graph/models.py,sha256=AtLgZh2qyRP6NRetjQCy9qLMuTQB0CH52Zsev-qa2sk,149
|
|
77
77
|
cognite/neat/graph/queries/__init__.py,sha256=BgDd-037kvtWwAoGAy8eORVNMiZ5-E9sIV0txIpeaN4,50
|
|
78
|
-
cognite/neat/graph/queries/_base.py,sha256=
|
|
79
|
-
cognite/neat/graph/queries/_construct.py,sha256=
|
|
80
|
-
cognite/neat/graph/queries/_shared.py,sha256=
|
|
78
|
+
cognite/neat/graph/queries/_base.py,sha256=82WJMT2SreLCKq00hujrk2H5W_w_Rq53bJQTK7E_Bz4,8500
|
|
79
|
+
cognite/neat/graph/queries/_construct.py,sha256=lDquCxjiaUzL3G48ZQffrGJMcqPkWVtCdkfatgPAUKI,7208
|
|
80
|
+
cognite/neat/graph/queries/_shared.py,sha256=qNABzfzj4qC_spr87n3-MdIvKTbbHQOkAiFRb7AaI0M,5328
|
|
81
81
|
cognite/neat/graph/stores/__init__.py,sha256=G-VG_YwfRt1kuPao07PDJyZ3w_0-eguzLUM13n-Z_RA,64
|
|
82
|
-
cognite/neat/graph/stores/_base.py,sha256=
|
|
82
|
+
cognite/neat/graph/stores/_base.py,sha256=UrnrhusX8UMLENy7kX6LaVakmjR4-him00ljSYxy_DQ,12139
|
|
83
83
|
cognite/neat/graph/stores/_oxrdflib.py,sha256=A5zeRm5_e8ui_ihGpgstRDg_N7qcLZ3QZBRGrOXSGI0,9569
|
|
84
84
|
cognite/neat/graph/stores/_provenance.py,sha256=HIXa-p7yc2l3HFkQWMnGPhn-t_FROEG21thADGkgy0c,3590
|
|
85
|
-
cognite/neat/graph/transformers/__init__.py,sha256=
|
|
85
|
+
cognite/neat/graph/transformers/__init__.py,sha256=FMvlDEDJHrZL4Jb_H0AiJZO5uHXBCuLhB5HVDuinnBI,665
|
|
86
86
|
cognite/neat/graph/transformers/_base.py,sha256=b37Ek-9njuM5pTR_3XhnxCMrg_ip_2BMwM7ZhKpAAlw,328
|
|
87
87
|
cognite/neat/graph/transformers/_classic_cdf.py,sha256=6xX-OBSJT5DAQrTJ-nuhCfGNaSk5Iktxn-WIMfzEIqo,13189
|
|
88
|
-
cognite/neat/graph/transformers/_rdfpath.py,sha256=
|
|
88
|
+
cognite/neat/graph/transformers/_rdfpath.py,sha256=VfD0n-jT528jGHURygKAunX4dGysE05yNXIzI0azWtU,1754
|
|
89
89
|
cognite/neat/issues.py,sha256=pxQfqfBseMDE8JM0iqZnkLXngeyeFfT0TFtu1UuAd4c,4629
|
|
90
90
|
cognite/neat/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
91
|
cognite/neat/legacy/graph/__init__.py,sha256=31uTeejWOSd-I8iUG8GOZFhHZcQCsBitJ6X8vu2r1nU,73
|
|
@@ -98,17 +98,17 @@ cognite/neat/legacy/graph/extractors/__init__.py,sha256=wqCiqz-sXhUpTL5LRcrl_KFT
|
|
|
98
98
|
cognite/neat/legacy/graph/extractors/_base.py,sha256=ohiuEzwZ1Fh9ers07MCbjGOGQ0HLb-ctwgEvGy7o_AQ,363
|
|
99
99
|
cognite/neat/legacy/graph/extractors/_dexpi.py,sha256=R4itgYxWUiPlZgRqUB4IrmLKzpsxhHrxSv7Gq4PeodM,1469
|
|
100
100
|
cognite/neat/legacy/graph/extractors/_graph_capturing_sheet.py,sha256=sEV6P4a4OlFx_O-vtKoB1H-ex1RnD5VhqmBcazGfLwk,17695
|
|
101
|
-
cognite/neat/legacy/graph/extractors/_mock_graph_generator.py,sha256=
|
|
101
|
+
cognite/neat/legacy/graph/extractors/_mock_graph_generator.py,sha256=Df_9IxlLq2j9i3FBA2s-ybRKv7wXDpvIh5kNv5qQyxw,14955
|
|
102
102
|
cognite/neat/legacy/graph/loaders/__init__.py,sha256=Nap1LGaXA3AotL5U6pwY1Yc3J92Y7GC60qVPBhGl5LA,701
|
|
103
|
-
cognite/neat/legacy/graph/loaders/_asset_loader.py,sha256=
|
|
103
|
+
cognite/neat/legacy/graph/loaders/_asset_loader.py,sha256=mFYIF7bzwsV7RcEoNgObW5NRj-as7XUJBs97QpogGRU,23873
|
|
104
104
|
cognite/neat/legacy/graph/loaders/_base.py,sha256=oj1vo8dGPXxJORQXPa_kJa5G53VZBXOiIoWOngtMw5E,2383
|
|
105
105
|
cognite/neat/legacy/graph/loaders/_exceptions.py,sha256=Ep59S5ExVG7phHpfcMEpHu82ApLbkIlvfQnWAt5p1sE,2835
|
|
106
106
|
cognite/neat/legacy/graph/loaders/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
107
107
|
cognite/neat/legacy/graph/loaders/core/labels.py,sha256=z_03w35RcAWtJFVV94jCobHlT1d2AfoJa8FgMSrHBeA,2321
|
|
108
108
|
cognite/neat/legacy/graph/loaders/core/models.py,sha256=47KwgRuMAwTbDwPC_yRmyhhOVvqTiwgApQEPCFlmU24,5023
|
|
109
|
-
cognite/neat/legacy/graph/loaders/core/rdf_to_assets.py,sha256
|
|
110
|
-
cognite/neat/legacy/graph/loaders/core/rdf_to_relationships.py,sha256=
|
|
111
|
-
cognite/neat/legacy/graph/loaders/rdf_to_dms.py,sha256=
|
|
109
|
+
cognite/neat/legacy/graph/loaders/core/rdf_to_assets.py,sha256=-zHbYr16LM_gIuCxaaZY0-r0c1-env0Ms5t_j7pfdss,40645
|
|
110
|
+
cognite/neat/legacy/graph/loaders/core/rdf_to_relationships.py,sha256=4_u4iaE3b0_cHr7sScJOLoEn6GEGIDqm21_38ukZJfw,22842
|
|
111
|
+
cognite/neat/legacy/graph/loaders/rdf_to_dms.py,sha256=H_6ZsunCV9LAnm1oznVnzKmOCxgfjsB1kpc8pVBkJlo,13061
|
|
112
112
|
cognite/neat/legacy/graph/loaders/validator.py,sha256=JiEp3gJUzJ8JIbb2crFfFCZ_3cGviXbb31aGusXAM_Y,3328
|
|
113
113
|
cognite/neat/legacy/graph/models.py,sha256=AtLgZh2qyRP6NRetjQCy9qLMuTQB0CH52Zsev-qa2sk,149
|
|
114
114
|
cognite/neat/legacy/graph/stores/__init__.py,sha256=ivvk7STSo-4wuP_CpizKUCPKmt_ufpNWRJUN9Bv5gdY,543
|
|
@@ -121,8 +121,8 @@ cognite/neat/legacy/graph/stores/_rdf_to_graph.py,sha256=JvgguFtlrLAaehFpSNzu6aG
|
|
|
121
121
|
cognite/neat/legacy/graph/transformations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
122
122
|
cognite/neat/legacy/graph/transformations/entity_matcher.py,sha256=CakXdgGMYXnyaihE1fFGWNcXSDuOV5F454m8URt00Rw,4765
|
|
123
123
|
cognite/neat/legacy/graph/transformations/query_generator/__init__.py,sha256=9N7RIlM8Pf-mJXzK8ulBe-eAa3yeHYBsBFQF7geTgWE,73
|
|
124
|
-
cognite/neat/legacy/graph/transformations/query_generator/sparql.py,sha256=
|
|
125
|
-
cognite/neat/legacy/graph/transformations/transformer.py,sha256=
|
|
124
|
+
cognite/neat/legacy/graph/transformations/query_generator/sparql.py,sha256=dvzty2CoRsiTFqGsbqtVFJVwM1mD52P6BIRnmCfHTTc,19338
|
|
125
|
+
cognite/neat/legacy/graph/transformations/transformer.py,sha256=Mtp9jG105B1J7lwA61FMEWuhOiuDtssMYchosJ2SMqk,14754
|
|
126
126
|
cognite/neat/legacy/rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
127
|
cognite/neat/legacy/rules/analysis.py,sha256=-PWaFqzvMlUA6nrZissMvoQm8xwFqniIDApZSUWs9sA,8610
|
|
128
128
|
cognite/neat/legacy/rules/examples/Rules-Nordic44-to-graphql.xlsx,sha256=KxiQxBdBWaXYvVAwUwVSazpDjHaG8CXamg24ZUf9Nqw,80404
|
|
@@ -141,31 +141,31 @@ cognite/neat/legacy/rules/exporters/__init__.py,sha256=StzV_2Kx5e1GaZOW8ZGMgKZpd
|
|
|
141
141
|
cognite/neat/legacy/rules/exporters/_base.py,sha256=OK2r3vJnZBA_OhANo3kI88rO4Y2gNSl171rf30reCjE,1453
|
|
142
142
|
cognite/neat/legacy/rules/exporters/_core/__init__.py,sha256=XpimbyjA-Tub7ndk2r8yp__aXwdMwtKMuYMNsMKkAL8,102
|
|
143
143
|
cognite/neat/legacy/rules/exporters/_core/rules2labels.py,sha256=CDcSwR7TsUGEIsYqtVh95hTArjIiGGMxS9BPZlbtiQY,771
|
|
144
|
-
cognite/neat/legacy/rules/exporters/_rules2dms.py,sha256=
|
|
144
|
+
cognite/neat/legacy/rules/exporters/_rules2dms.py,sha256=SSm5CglpttjGOK0tQ3_F9HNoCT7Myo6l2XB9r0-r_Gc,37189
|
|
145
145
|
cognite/neat/legacy/rules/exporters/_rules2excel.py,sha256=ytHsqw2j26T9yLNZHuUSItV8Jp3AvvpIwX8D5-L9GO8,8312
|
|
146
|
-
cognite/neat/legacy/rules/exporters/_rules2graphql.py,sha256=
|
|
147
|
-
cognite/neat/legacy/rules/exporters/_rules2ontology.py,sha256=
|
|
148
|
-
cognite/neat/legacy/rules/exporters/_rules2pydantic_models.py,sha256=
|
|
146
|
+
cognite/neat/legacy/rules/exporters/_rules2graphql.py,sha256=R3j4QKZdL7sRoNBFWJM_fs7H1Q6MCVvslK3JdNRAK9Q,6255
|
|
147
|
+
cognite/neat/legacy/rules/exporters/_rules2ontology.py,sha256=Tx51sN0LgZygjPSGU5-VnjQNmv8h1XhaU_ziaqd6F-Y,18578
|
|
148
|
+
cognite/neat/legacy/rules/exporters/_rules2pydantic_models.py,sha256=ae-Ws1MnlFSMW6Xb64R5syHwTEDDS9YuYU0aXxF89XU,28846
|
|
149
149
|
cognite/neat/legacy/rules/exporters/_rules2rules.py,sha256=KlBm1hWkx4Ly5G-_gdcURUwADolMJFnueus02IW51uQ,3881
|
|
150
150
|
cognite/neat/legacy/rules/exporters/_rules2triples.py,sha256=ItkLy6Rji4g5UqLtxaOeodGUvpQG-LVr_ss70PcCPZs,1085
|
|
151
151
|
cognite/neat/legacy/rules/exporters/_validation.py,sha256=saDorwUqJ4Fo6yeCMSRH0Hp3AGCr-rdjb-sOGo91xL0,5767
|
|
152
152
|
cognite/neat/legacy/rules/importers/__init__.py,sha256=h1owL8pBPEtOmlIFAdkqAABH1A_Op5plh8C53og0uag,636
|
|
153
153
|
cognite/neat/legacy/rules/importers/_base.py,sha256=L0eMYB-Lf5sssQmXAd9ZlUzT6vcAIMeEvM833bMYn0w,2273
|
|
154
154
|
cognite/neat/legacy/rules/importers/_dict2rules.py,sha256=scUoMMZoc0CEfsbU999cPMyG1hMzNRDTovj8ff8Lrhk,6476
|
|
155
|
-
cognite/neat/legacy/rules/importers/_dms2rules.py,sha256=
|
|
156
|
-
cognite/neat/legacy/rules/importers/_graph2rules.py,sha256=
|
|
155
|
+
cognite/neat/legacy/rules/importers/_dms2rules.py,sha256=YF_rqUO88EFVoF0HAyV2ACxUMif3C3MvMM-EaaWDvHs,7874
|
|
156
|
+
cognite/neat/legacy/rules/importers/_graph2rules.py,sha256=KdPt4dYA4qlA8yKzZai-srnxFHUBujsULb4HWrxqL3E,12240
|
|
157
157
|
cognite/neat/legacy/rules/importers/_json2rules.py,sha256=ko0sC3-xO3ne_PQn5aF0L5SsA8m48SN2bnqmBgjkylc,1610
|
|
158
158
|
cognite/neat/legacy/rules/importers/_owl2rules/__init__.py,sha256=tdGcrgtozdQyST-pTlxIa4cLBNTLvtk1nNYR4vOdFSw,63
|
|
159
|
-
cognite/neat/legacy/rules/importers/_owl2rules/_owl2classes.py,sha256=
|
|
160
|
-
cognite/neat/legacy/rules/importers/_owl2rules/_owl2metadata.py,sha256=
|
|
161
|
-
cognite/neat/legacy/rules/importers/_owl2rules/_owl2properties.py,sha256=
|
|
159
|
+
cognite/neat/legacy/rules/importers/_owl2rules/_owl2classes.py,sha256=a76uAG2LS4ySBLf3R_Wd11rkhFCcQftbf1oabUSpwPA,8330
|
|
160
|
+
cognite/neat/legacy/rules/importers/_owl2rules/_owl2metadata.py,sha256=dwGDvKi1yjkQXTAWQ1JiN3uH1XuV-9SAcblG0QKnrtI,9448
|
|
161
|
+
cognite/neat/legacy/rules/importers/_owl2rules/_owl2properties.py,sha256=n124XM2JVfGIDJ12rkSg0G7BNevp2tzsaPyWnQOX_Zs,8063
|
|
162
162
|
cognite/neat/legacy/rules/importers/_owl2rules/_owl2rules.py,sha256=SnfR2ZuJlrnwWTuSNNu4cQTazj2DoYdTHSEZpax1QSg,10557
|
|
163
163
|
cognite/neat/legacy/rules/importers/_spreadsheet2rules.py,sha256=gaDlCqB7M0j0rud-awjlunvBOQlgbK912wabsSBqpsc,1502
|
|
164
164
|
cognite/neat/legacy/rules/importers/_xsd2rules.py,sha256=ZR_FAzZUgfZVEFLEVDDJIH4GIsxo7y7-KdozVeyYlS0,421
|
|
165
165
|
cognite/neat/legacy/rules/importers/_yaml2rules.py,sha256=HX47U9dldggqyjeFev5G2vLJ4sOOJpIg55QYX_9GCwI,1601
|
|
166
166
|
cognite/neat/legacy/rules/models/__init__.py,sha256=23T73EaHuS0dsYTh6tww6gXAc7S4rdx8e5nLsDA3VFI,127
|
|
167
167
|
cognite/neat/legacy/rules/models/_base.py,sha256=1WNXBJHJ3nwnVoeNhpm9B6TBuqWYYgChkrdK4FJIpQM,4989
|
|
168
|
-
cognite/neat/legacy/rules/models/raw_rules.py,sha256=
|
|
168
|
+
cognite/neat/legacy/rules/models/raw_rules.py,sha256=o7iPhV7sS7h22edcyOpvJAQFPE7PiTULZAmGmZtKZPI,12491
|
|
169
169
|
cognite/neat/legacy/rules/models/rdfpath.py,sha256=iXEPnx0rdOzkJ68FoJmsWQBbMBABenQ_cyDlsqwPCBg,7351
|
|
170
170
|
cognite/neat/legacy/rules/models/rules.py,sha256=p4Ul8Yuz-ol3PMaxHQ87bwykFEtC1N400iZm0o2wkYo,51367
|
|
171
171
|
cognite/neat/legacy/rules/models/tables.py,sha256=hj7qjjIpwDXBnkVQrL47V2kjFxDz7aE4mkYOZTwepj8,171
|
|
@@ -184,32 +184,32 @@ cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
184
184
|
cognite/neat/rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
185
185
|
cognite/neat/rules/_shared.py,sha256=G0bIu5XSrtEa93qqtOS5P0IDJUkU32gX5ypFhcV6t5c,216
|
|
186
186
|
cognite/neat/rules/analysis/__init__.py,sha256=1qQXgddwSmRjC5s22XfQhsn8XPYfwAV_2n6lqeWJmKc,141
|
|
187
|
-
cognite/neat/rules/analysis/_asset.py,sha256=
|
|
188
|
-
cognite/neat/rules/analysis/_base.py,sha256=
|
|
189
|
-
cognite/neat/rules/analysis/_information.py,sha256=
|
|
187
|
+
cognite/neat/rules/analysis/_asset.py,sha256=UvBl8vM83azkCI2As97xAfXe33nNqt4QSCmc5KvcZ-4,6044
|
|
188
|
+
cognite/neat/rules/analysis/_base.py,sha256=jb9G2g59QaSZDwJmG1Kh9rq7CprvyrokTqfMytr0ZOk,16758
|
|
189
|
+
cognite/neat/rules/analysis/_information.py,sha256=TU9QbhtyhPVYqAxR-9L5awevl9i3q7x1Y25D5xb_Ciw,8085
|
|
190
190
|
cognite/neat/rules/examples/__init__.py,sha256=nxIwueAcHgZhkYriGxnDLQmIyiT8PByPHbScjYKDKe0,374
|
|
191
191
|
cognite/neat/rules/examples/wind-energy.owl,sha256=NuomCA9FuuLF0JlSuG3OKqD4VBcHgSjDKFLV17G1zV8,65934
|
|
192
192
|
cognite/neat/rules/exceptions.py,sha256=YLnsbXXJdDSr_szQoioEtOdqDV8PR7RdQjpMP2SWeCs,123868
|
|
193
193
|
cognite/neat/rules/exporters/__init__.py,sha256=nRMUBUf7yr1QPjyITeX2rTLtLLawHv24hhRE39d2-e0,1109
|
|
194
194
|
cognite/neat/rules/exporters/_base.py,sha256=vJXY7qdo4blDZemfDXuuYCkUt1cTa5PsOLMdll7OcGw,1896
|
|
195
|
-
cognite/neat/rules/exporters/_rules2dms.py,sha256=
|
|
195
|
+
cognite/neat/rules/exporters/_rules2dms.py,sha256=e0x54Zqn4LLHN_uCKLTz9dRe5P7NAWcSQSshizr9ItE,14543
|
|
196
196
|
cognite/neat/rules/exporters/_rules2excel.py,sha256=bVYq0zmMLDEzSDD39_DQOL6rFGBgRMq5lE7xVMAg8i8,14328
|
|
197
|
-
cognite/neat/rules/exporters/_rules2ontology.py,sha256=
|
|
197
|
+
cognite/neat/rules/exporters/_rules2ontology.py,sha256=ieYjSC-aWTJRbG3PuMi0aogBdMDGFUUZzBnrLEPAbqU,20581
|
|
198
198
|
cognite/neat/rules/exporters/_rules2yaml.py,sha256=GA8eUYRxUfIU6IMvlyGO5JidkOD5eUKSbH3qAiFiaCg,3026
|
|
199
199
|
cognite/neat/rules/exporters/_validation.py,sha256=OlKIyf4nhSDehJwFHDQ8Zdf6HpNfW7dSe2s67eywHu4,4078
|
|
200
200
|
cognite/neat/rules/importers/__init__.py,sha256=Vxl2Iq1dMXUsI6Wb411xPI3rromdq50xZUci-S8faSw,1097
|
|
201
201
|
cognite/neat/rules/importers/_base.py,sha256=EgXF2pmJ90LbmFs5rAMwh151wGX3PGkhTTF6rC-DzOg,4510
|
|
202
|
-
cognite/neat/rules/importers/_dms2rules.py,sha256=
|
|
202
|
+
cognite/neat/rules/importers/_dms2rules.py,sha256=tCDzeieIDSQhI2krcOYOyqlA1LNMzo6W__p4Fecbc7U,19470
|
|
203
203
|
cognite/neat/rules/importers/_dtdl2rules/__init__.py,sha256=CNR-sUihs2mnR1bPMKs3j3L4ds3vFTsrl6YycExZTfU,68
|
|
204
204
|
cognite/neat/rules/importers/_dtdl2rules/_unit_lookup.py,sha256=wW4saKva61Q_i17guY0dc4OseJDQfqHy_QZBtm0OD6g,12134
|
|
205
205
|
cognite/neat/rules/importers/_dtdl2rules/dtdl_converter.py,sha256=5ee8bD4iJ3Ndhx_S234XBCuBHxYjFkJnWiwnZwbTrXs,12432
|
|
206
206
|
cognite/neat/rules/importers/_dtdl2rules/dtdl_importer.py,sha256=Psj3C2jembY_Wu7WWJIFIwrMawvjISjeqfBnoRy_csw,6740
|
|
207
207
|
cognite/neat/rules/importers/_dtdl2rules/spec.py,sha256=tim_MfN1J0F3Oeqk3BMgIA82d_MZvhRuRMsLK3B4PYc,11897
|
|
208
|
-
cognite/neat/rules/importers/_inference2rules.py,sha256=
|
|
208
|
+
cognite/neat/rules/importers/_inference2rules.py,sha256=EC8XxqgPlN6RJbutyk7f6M8IBYERRQh8lULYm1PFIw8,13794
|
|
209
209
|
cognite/neat/rules/importers/_owl2rules/__init__.py,sha256=tdGcrgtozdQyST-pTlxIa4cLBNTLvtk1nNYR4vOdFSw,63
|
|
210
|
-
cognite/neat/rules/importers/_owl2rules/_owl2classes.py,sha256=
|
|
211
|
-
cognite/neat/rules/importers/_owl2rules/_owl2metadata.py,sha256=
|
|
212
|
-
cognite/neat/rules/importers/_owl2rules/_owl2properties.py,sha256=
|
|
210
|
+
cognite/neat/rules/importers/_owl2rules/_owl2classes.py,sha256=YaEsYYRM8H7EkPgHIUVosiNdhhl6rEl2P7EtvVOqoBM,7383
|
|
211
|
+
cognite/neat/rules/importers/_owl2rules/_owl2metadata.py,sha256=lGaEfGEr_MaF99pUdYmN-npknb2_9P300NWraQ_Ta8E,7558
|
|
212
|
+
cognite/neat/rules/importers/_owl2rules/_owl2properties.py,sha256=qVzEs6o6ARaz9lf6mKaAPL0fJbOotzSa8CINxSEbbw0,7341
|
|
213
213
|
cognite/neat/rules/importers/_owl2rules/_owl2rules.py,sha256=41_wZFvt0A6TI55zlT04oQkvU7V73li4aGLgc4T4Lxo,6358
|
|
214
214
|
cognite/neat/rules/importers/_spreadsheet2rules.py,sha256=ZJJiO15Br9f8HS5D0A5PgtA726XkMNzfd15PWu1tMHA,13022
|
|
215
215
|
cognite/neat/rules/importers/_yaml2rules.py,sha256=F0uksSz1A3po5OlRM2152_w5j8D9oYTLB9NFTkSMlWI,4275
|
|
@@ -219,12 +219,12 @@ cognite/neat/rules/issues/dms.py,sha256=eZmbQhdo97SufNLKJu4QWlrhZCxmngiWTwPWIOx7
|
|
|
219
219
|
cognite/neat/rules/issues/fileread.py,sha256=ao199mtvhPSW0IA8ZQZ0RzuLIIipYtL0jp6fLqxb4_c,5748
|
|
220
220
|
cognite/neat/rules/issues/formatters.py,sha256=_ag2bJ9hncOj8pAGJvTTEPs9kTtxbD7vkqvS9Zcnizc,3385
|
|
221
221
|
cognite/neat/rules/issues/importing.py,sha256=uSk4TXo_CO3bglBZkaiWekXLXXd31UWIZE95clVSLz4,13417
|
|
222
|
-
cognite/neat/rules/issues/spreadsheet.py,sha256=
|
|
222
|
+
cognite/neat/rules/issues/spreadsheet.py,sha256=b5vRuLWuYs4_D7ZGbygtKtKaQxSar4DEGoPcWBANZic,18167
|
|
223
223
|
cognite/neat/rules/issues/spreadsheet_file.py,sha256=YCp0Pk_TsiqYuOPdWpjUpre-zvi2c5_MvrC_dxw10YY,4964
|
|
224
224
|
cognite/neat/rules/models/__init__.py,sha256=DHitrcmu9in2F8NqBE1O2J4UU_-MAlY6sB1MfigY4IU,887
|
|
225
225
|
cognite/neat/rules/models/_base.py,sha256=0wZgEDWLxKInQGw4ig3F_P_QP2FlUlMoanQvRMihHIg,11301
|
|
226
226
|
cognite/neat/rules/models/_constants.py,sha256=zPREgHT79_4FMg58QlaXc7A8XKRJrjP5SUgh63jDnTk,31
|
|
227
|
-
cognite/neat/rules/models/_rdfpath.py,sha256=
|
|
227
|
+
cognite/neat/rules/models/_rdfpath.py,sha256=yoUPNW7Na3MFmGMYu8bC2hMjEALHvsgWT5kFGXpcI3Q,11907
|
|
228
228
|
cognite/neat/rules/models/_types/__init__.py,sha256=l1tGxzE7ezNHIL72AoEvNHN2IFuitxOLxiHJG__s6t4,305
|
|
229
229
|
cognite/neat/rules/models/_types/_base.py,sha256=2GhLUE1ukV8X8SGL_JDxpbWGZyAvOnSqAE6JmDh5wbI,929
|
|
230
230
|
cognite/neat/rules/models/_types/_field.py,sha256=h2RrhjxdaRbzHG5EyduyHLkCJJmQoyZb9pYCkgMcnVk,3203
|
|
@@ -233,44 +233,44 @@ cognite/neat/rules/models/asset/_converter.py,sha256=PrTh9ZZkqSJBviiJE4xc3pClCsa
|
|
|
233
233
|
cognite/neat/rules/models/asset/_rules.py,sha256=SWjl3_GmO15RQeXl2MPoGaIgobVQNpF0Ezr0oDOkw5E,6069
|
|
234
234
|
cognite/neat/rules/models/asset/_rules_input.py,sha256=LiT-85CVgDz2ng65CtrRa77r4rnmg3E4Q6DC7-gv0dE,6257
|
|
235
235
|
cognite/neat/rules/models/asset/_serializer.py,sha256=ixqRf9qEzvChgysRaDX4g_vHVDtRBCsPYC9sOn0-ShE,3365
|
|
236
|
-
cognite/neat/rules/models/asset/_validation.py,sha256=
|
|
236
|
+
cognite/neat/rules/models/asset/_validation.py,sha256=7P46ksX2jkLbexfHX0ocYijFcxVShrzLnhTD4xDn224,1876
|
|
237
237
|
cognite/neat/rules/models/data_types.py,sha256=mHTjWh47VzLwrr0w6dRf59LW7pTTGRTgsxvtW9p0JWw,6020
|
|
238
238
|
cognite/neat/rules/models/dms/__init__.py,sha256=Wzyqzz2ZIjpUbDg04CMuuIAw-f2A02DayNeqO9R-2Hw,491
|
|
239
239
|
cognite/neat/rules/models/dms/_converter.py,sha256=2qiMsFKwVBi4K6ZnJPajUEtVSGYg_Wof1yGZLNMWrZ4,5869
|
|
240
|
-
cognite/neat/rules/models/dms/_exporter.py,sha256=
|
|
240
|
+
cognite/neat/rules/models/dms/_exporter.py,sha256=JrT04hWqxWSLGnCMju9EIxn63hHcC-Mjx9S27hQR604,25042
|
|
241
241
|
cognite/neat/rules/models/dms/_rules.py,sha256=pYWyS9E1hoceeU-nvKt6JsgPZYyHnW3JedI7wo-sIXg,20148
|
|
242
242
|
cognite/neat/rules/models/dms/_rules_input.py,sha256=M5AqwW-p6z_qAum-1HE_lmONSmg-vF1ak7Y_AiM8vnU,13525
|
|
243
|
-
cognite/neat/rules/models/dms/_schema.py,sha256=
|
|
243
|
+
cognite/neat/rules/models/dms/_schema.py,sha256=WmF4ektkA9LhHiz9QuQEx0fuxXyxeSsllpqQMkz2Epo,49523
|
|
244
244
|
cognite/neat/rules/models/dms/_serializer.py,sha256=iqp2zyyf8jEcU-R3PERuN8nu248xIqyxiWj4owAn92g,6406
|
|
245
245
|
cognite/neat/rules/models/dms/_validation.py,sha256=5mk9L99FSwC8Ok7weEjnFJ_OZnmqMWUc6XFMTfkqfDw,14549
|
|
246
246
|
cognite/neat/rules/models/domain.py,sha256=qG1387w6E4XIviOb7EwAjMaavUUQBweYlmYrZnj-FRI,2936
|
|
247
|
-
cognite/neat/rules/models/entities.py,sha256=
|
|
247
|
+
cognite/neat/rules/models/entities.py,sha256=xYUNZ9nhU2y741xW6tqvF_JeQS1KsLi3YB-3zE0E79w,20771
|
|
248
248
|
cognite/neat/rules/models/information/__init__.py,sha256=HR6g8xgyU53U7Ck8pPdbT70817Q4NC1r1pCRq5SA8iw,291
|
|
249
249
|
cognite/neat/rules/models/information/_converter.py,sha256=J3mY5clqMY1PR_EmIT-GsTBJ16XCpHQG8EkQWvpqdnI,13930
|
|
250
250
|
cognite/neat/rules/models/information/_rules.py,sha256=9qUfKGUSNgJRjIpm8hBDUDDbM1ikBKHqEcUU1ZEglXI,13472
|
|
251
251
|
cognite/neat/rules/models/information/_rules_input.py,sha256=AOTslaehKZH67VJaJO5bu8tT-1iSQz2uwf9mWFpK_44,10580
|
|
252
252
|
cognite/neat/rules/models/information/_serializer.py,sha256=yti9I_xJruxrib66YIBInhze___Io-oPTQH6uWDumPE,3503
|
|
253
|
-
cognite/neat/rules/models/information/_validation.py,sha256=
|
|
253
|
+
cognite/neat/rules/models/information/_validation.py,sha256=rkDGbRHCLKyoZ6ooBZBfjDslouVUu9GXmfBcCorwxt4,8216
|
|
254
254
|
cognite/neat/rules/models/wrapped_entities.py,sha256=ThhjnNNrpgz0HeORIQ8Q894trxP73P7T_TuZj6qH2CU,7157
|
|
255
|
-
cognite/neat/utils/__init__.py,sha256=
|
|
256
|
-
cognite/neat/utils/auth.py,sha256=
|
|
257
|
-
cognite/neat/utils/auxiliary.py,sha256=
|
|
258
|
-
cognite/neat/utils/cdf.py,sha256=
|
|
259
|
-
cognite/neat/utils/
|
|
260
|
-
cognite/neat/utils/
|
|
261
|
-
cognite/neat/utils/
|
|
262
|
-
cognite/neat/utils/
|
|
263
|
-
cognite/neat/utils/
|
|
264
|
-
cognite/neat/utils/
|
|
265
|
-
cognite/neat/utils/
|
|
255
|
+
cognite/neat/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
256
|
+
cognite/neat/utils/auth.py,sha256=k0sEfTpK_bamMjAkj7jN6n9yta8TaqHTFkZUjUgpwik,12770
|
|
257
|
+
cognite/neat/utils/auxiliary.py,sha256=a8z7GTIrXE_EYnLZ3-Nvuj2TbQctyq1kzl5-Zj5q2W4,6943
|
|
258
|
+
cognite/neat/utils/cdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
259
|
+
cognite/neat/utils/cdf/data_classes.py,sha256=HWFpphCTHDkpnVwwtVb3gOLB76GKJ_F5XfLAf5wcd34,9615
|
|
260
|
+
cognite/neat/utils/cdf/loaders/__init__.py,sha256=s2aPR5XLo6WZ0ybstAJlcGFYkA7CyHW1XO-NYpL0V6o,483
|
|
261
|
+
cognite/neat/utils/cdf/loaders/_base.py,sha256=ryNC_AMXIESWXuTVJ-02L-HSVSpD6V49XdLTRYeFg70,1764
|
|
262
|
+
cognite/neat/utils/cdf/loaders/_data_modeling.py,sha256=0jynnwZ7utnG2KIkVRJBNvDshUCzwX29LZuGSlm6qUM,13216
|
|
263
|
+
cognite/neat/utils/cdf/loaders/_ingestion.py,sha256=QbF4ntaGUum6yTRTq9WNg8n49TQpfzF1T7H-Bx740ws,6326
|
|
264
|
+
cognite/neat/utils/collection_.py,sha256=fX4eAMau5AsUs1Dm5PlzINxR64kUjncEEHeoL_JT9rU,582
|
|
265
|
+
cognite/neat/utils/rdf_.py,sha256=Ker3EQ-1H_uwzZ-8ZSHDIadsKmhJUmcZCu1RYsp4AUw,5506
|
|
266
266
|
cognite/neat/utils/spreadsheet.py,sha256=LI0c7dlW0zXHkHw0NvB-gg6Df6cDcE3FbiaHBYLXdzQ,2714
|
|
267
|
-
cognite/neat/utils/text.py,sha256=
|
|
268
|
-
cognite/neat/utils/
|
|
269
|
-
cognite/neat/utils/
|
|
267
|
+
cognite/neat/utils/text.py,sha256=gb63d-b7vhu46i09YN5I_h8gCuLPDWVpb1r9uPLlh9c,3185
|
|
268
|
+
cognite/neat/utils/time_.py,sha256=O30LUiDH9TdOYz8_a9pFqTtJdg8vEjC3qHCk8xZblG8,345
|
|
269
|
+
cognite/neat/utils/upload.py,sha256=7yQZZM1SFEC-Dhl12rQD_8gUoRKLwmWhNjsImVB18og,4015
|
|
270
270
|
cognite/neat/utils/xml_.py,sha256=ppLT3lQKVp8wOP-m8-tFY8uB2P4R76l7R_-kUtsABng,992
|
|
271
271
|
cognite/neat/workflows/__init__.py,sha256=oiKub_U9f5cA0I1nKl5dFkR4BD8_6Be9eMzQ_50PwP0,396
|
|
272
|
-
cognite/neat/workflows/_exceptions.py,sha256=
|
|
273
|
-
cognite/neat/workflows/base.py,sha256=
|
|
272
|
+
cognite/neat/workflows/_exceptions.py,sha256=cjMWH1hdc3Wp0k0_tiogDGcS6WoeQX5RFI6eFefPJOM,1362
|
|
273
|
+
cognite/neat/workflows/base.py,sha256=CIJkSUwcZPD1FHYiF-pjueB6SX2Egb-D2ATkuI83I88,26804
|
|
274
274
|
cognite/neat/workflows/cdf_store.py,sha256=HCn76PJ7_vrBeTtBv9GDBH77B7wCzVnH13AoS2lu9aA,18016
|
|
275
275
|
cognite/neat/workflows/examples/Export_DMS/workflow.yaml,sha256=XmyaUAsZrN-GnoBejg9eXHQBm1U1Z-NhdKc11Wm1ieM,1987
|
|
276
276
|
cognite/neat/workflows/examples/Export_Rules_to_Ontology/workflow.yaml,sha256=ZYLsdLM2SQD3t3aB3JYoK7ps0xjuMavEhqKo49Uy1Ro,3604
|
|
@@ -296,24 +296,24 @@ cognite/neat/workflows/steps/lib/current/graph_loader.py,sha256=HfGg1HRZhbV58TFu
|
|
|
296
296
|
cognite/neat/workflows/steps/lib/current/graph_store.py,sha256=ZkY8XfSstcn6wAggrEljNRS1tLEvxSNcbCarr0uFqtw,6556
|
|
297
297
|
cognite/neat/workflows/steps/lib/current/rules_exporter.py,sha256=1SKBYDnyDr975oMr9aOQVHExHjPQ0-whDDBNpTQ4K1A,23807
|
|
298
298
|
cognite/neat/workflows/steps/lib/current/rules_importer.py,sha256=23dxamGHSbJoG7qUqL4KiGznSmDTVHw1EfqhLCeAwDM,14695
|
|
299
|
-
cognite/neat/workflows/steps/lib/current/rules_validator.py,sha256=
|
|
299
|
+
cognite/neat/workflows/steps/lib/current/rules_validator.py,sha256=4fKlFpnNxgc435WRU1q3m_3TEA8M0iUzgAgCS7Bz1R8,4843
|
|
300
300
|
cognite/neat/workflows/steps/lib/io/__init__.py,sha256=k7IPbIq3ey19oRc5sA_15F99-O6dxzqbm1LihGRRo5A,32
|
|
301
301
|
cognite/neat/workflows/steps/lib/io/io_steps.py,sha256=QAGypoi1vP32BRiIgBZ0B4qsbFMcwhzpRiVUUnWysLA,16874
|
|
302
302
|
cognite/neat/workflows/steps/lib/legacy/__init__.py,sha256=725aFzVqhE0tbVOAW70zWXTGKFiYImVupRZ4C5_IkUo,274
|
|
303
303
|
cognite/neat/workflows/steps/lib/legacy/graph_contextualization.py,sha256=I5ZD1xeO5LvBhtecZZHxZn2a4reJQPxCo9-UYVnTMYU,3919
|
|
304
|
-
cognite/neat/workflows/steps/lib/legacy/graph_extractor.py,sha256=
|
|
305
|
-
cognite/neat/workflows/steps/lib/legacy/graph_loader.py,sha256=
|
|
304
|
+
cognite/neat/workflows/steps/lib/legacy/graph_extractor.py,sha256=FNiyLHo49UGsFG1qDm5gB1JlgnnCwiKboCQIABstIIM,31198
|
|
305
|
+
cognite/neat/workflows/steps/lib/legacy/graph_loader.py,sha256=Vp8ZXmLZc-mMkqMLwmiPVN7wIBIlai-aEMvYA6sI0sM,27269
|
|
306
306
|
cognite/neat/workflows/steps/lib/legacy/graph_store.py,sha256=H6MLJcmLrL0eTqpvMuwJmSjmJXpDP4n0jYyyg6BDxTg,12962
|
|
307
307
|
cognite/neat/workflows/steps/lib/legacy/graph_transformer.py,sha256=jTM620LOHrx9bW7rzfktFY-8DMvQJPvzdpuVsWxyU9M,2351
|
|
308
|
-
cognite/neat/workflows/steps/lib/legacy/rules_exporter.py,sha256=
|
|
309
|
-
cognite/neat/workflows/steps/lib/legacy/rules_importer.py,sha256=
|
|
308
|
+
cognite/neat/workflows/steps/lib/legacy/rules_exporter.py,sha256=ARe5HAxxuOLboOM3e2M4Q5gUMgU5O-RJWS8TIbgWLeA,20466
|
|
309
|
+
cognite/neat/workflows/steps/lib/legacy/rules_importer.py,sha256=MKr4yVC5fOuyBKBSH_TOHZOf4uSkNl2YZaNLYIGmoRA,28069
|
|
310
310
|
cognite/neat/workflows/steps/step_model.py,sha256=bYX0PhlW-B76fBksBPENGGf8foOT6gvJL-2aUO5JimY,2943
|
|
311
311
|
cognite/neat/workflows/steps_registry.py,sha256=fkTX14ZA7_gkUYfWIlx7A1XbCidvqR23MrFiX4HmZ3U,11007
|
|
312
312
|
cognite/neat/workflows/tasks.py,sha256=dqlJwKAb0jlkl7abbY8RRz3m7MT4SK8-7cntMWkOYjw,788
|
|
313
313
|
cognite/neat/workflows/triggers.py,sha256=_BLNplzoz0iic367u1mhHMHiUrCwP-SLK6_CZzfODX0,7071
|
|
314
314
|
cognite/neat/workflows/utils.py,sha256=gKdy3RLG7ctRhbCRwaDIWpL9Mi98zm56-d4jfHDqP1E,453
|
|
315
|
-
cognite_neat-0.87.
|
|
316
|
-
cognite_neat-0.87.
|
|
317
|
-
cognite_neat-0.87.
|
|
318
|
-
cognite_neat-0.87.
|
|
319
|
-
cognite_neat-0.87.
|
|
315
|
+
cognite_neat-0.87.3.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
|
|
316
|
+
cognite_neat-0.87.3.dist-info/METADATA,sha256=XOSvfzE9pNsNl2d6VybR5JybtudHo614LtOdlz_Jf18,9493
|
|
317
|
+
cognite_neat-0.87.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
318
|
+
cognite_neat-0.87.3.dist-info/entry_points.txt,sha256=61FPqiWb25vbqB0KI7znG8nsg_ibLHBvTjYnkPvNFso,50
|
|
319
|
+
cognite_neat-0.87.3.dist-info/RECORD,,
|
cognite/neat/utils/cdf.py
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
from cognite.client import CogniteClient
|
|
2
|
-
from cognite.client.data_classes import filters
|
|
3
|
-
from pydantic import BaseModel, field_validator
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class CogniteClientConfig(BaseModel):
|
|
7
|
-
project: str = "dev"
|
|
8
|
-
client_id: str = "neat"
|
|
9
|
-
base_url: str = "https://api.cognitedata.com"
|
|
10
|
-
scopes: list[str] = ["project:read", "project:write"]
|
|
11
|
-
timeout: int = 60
|
|
12
|
-
max_workers: int = 3
|
|
13
|
-
|
|
14
|
-
@field_validator("scopes", mode="before")
|
|
15
|
-
def string_to_list(cls, value):
|
|
16
|
-
return [value] if isinstance(value, str) else value
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class InteractiveCogniteClient(CogniteClientConfig):
|
|
20
|
-
authority_url: str
|
|
21
|
-
redirect_port: int = 53_000
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class ServiceCogniteClient(CogniteClientConfig):
|
|
25
|
-
token_url: str = "https://login.microsoftonline.com/common/oauth2/token"
|
|
26
|
-
client_secret: str = "secret"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
def clean_space(client: CogniteClient, space: str) -> None:
|
|
30
|
-
"""Deletes all data in a space.
|
|
31
|
-
|
|
32
|
-
This means all nodes, edges, views, containers, and data models located in the given space.
|
|
33
|
-
|
|
34
|
-
Args:
|
|
35
|
-
client: Connected CogniteClient
|
|
36
|
-
space: The space to delete.
|
|
37
|
-
|
|
38
|
-
"""
|
|
39
|
-
edges = client.data_modeling.instances.list("edge", limit=-1, filter=filters.Equals(["edge", "space"], space))
|
|
40
|
-
if edges:
|
|
41
|
-
instances = client.data_modeling.instances.delete(edges=edges.as_ids())
|
|
42
|
-
print(f"Deleted {len(instances.edges)} edges")
|
|
43
|
-
nodes = client.data_modeling.instances.list("node", limit=-1, filter=filters.Equals(["node", "space"], space))
|
|
44
|
-
if nodes:
|
|
45
|
-
instances = client.data_modeling.instances.delete(nodes=nodes.as_ids())
|
|
46
|
-
print(f"Deleted {len(instances.nodes)} nodes")
|
|
47
|
-
views = client.data_modeling.views.list(limit=-1, space=space)
|
|
48
|
-
if views:
|
|
49
|
-
deleted_views = client.data_modeling.views.delete(views.as_ids())
|
|
50
|
-
print(f"Deleted {len(deleted_views)} views")
|
|
51
|
-
containers = client.data_modeling.containers.list(limit=-1, space=space)
|
|
52
|
-
if containers:
|
|
53
|
-
deleted_containers = client.data_modeling.containers.delete(containers.as_ids())
|
|
54
|
-
print(f"Deleted {len(deleted_containers)} containers")
|
|
55
|
-
if data_models := client.data_modeling.data_models.list(limit=-1, space=space):
|
|
56
|
-
deleted_data_models = client.data_modeling.data_models.delete(data_models.as_ids())
|
|
57
|
-
print(f"Deleted {len(deleted_data_models)} data models")
|
|
58
|
-
deleted_space = client.data_modeling.spaces.delete(space)
|
|
59
|
-
print(f"Deleted space {deleted_space}")
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
from abc import ABC
|
|
2
|
-
from dataclasses import dataclass
|
|
3
|
-
from typing import Any, cast
|
|
4
|
-
|
|
5
|
-
from cognite.client import CogniteClient
|
|
6
|
-
from cognite.client.data_classes._base import (
|
|
7
|
-
CogniteResourceList,
|
|
8
|
-
WriteableCogniteResource,
|
|
9
|
-
WriteableCogniteResourceList,
|
|
10
|
-
)
|
|
11
|
-
|
|
12
|
-
# The Table, TableWrite data classes in the Cognite-SDK lacks the database attribute.
|
|
13
|
-
# This is a problem when creating the RawTableLoader that needs the data class to be able to create, update, retrieve
|
|
14
|
-
# and delete tables.
|
|
15
|
-
# This is a reimplemented version of the Table, TableWrite data classes with the database attribute added.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@dataclass(frozen=True)
|
|
19
|
-
class RawTableID:
|
|
20
|
-
table: str
|
|
21
|
-
database: str
|
|
22
|
-
|
|
23
|
-
def as_tuple(self) -> tuple[str, str]:
|
|
24
|
-
return self.database, self.table
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class RawTableCore(WriteableCogniteResource["RawTableWrite"], ABC):
|
|
28
|
-
"""A NoSQL database table to store customer data
|
|
29
|
-
|
|
30
|
-
Args:
|
|
31
|
-
name (str | None): Unique name of the table
|
|
32
|
-
"""
|
|
33
|
-
|
|
34
|
-
def __init__(
|
|
35
|
-
self,
|
|
36
|
-
name: str | None = None,
|
|
37
|
-
database: str | None = None,
|
|
38
|
-
) -> None:
|
|
39
|
-
self.name = name
|
|
40
|
-
self.database = database
|
|
41
|
-
|
|
42
|
-
def as_id(self) -> RawTableID:
|
|
43
|
-
if self.name is None or self.database is None:
|
|
44
|
-
raise ValueError("name and database are required to create a TableID")
|
|
45
|
-
return RawTableID(table=self.name, database=self.database)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
class RawTable(RawTableCore):
|
|
49
|
-
"""A NoSQL database table to store customer data.
|
|
50
|
-
This is the reading version of the Table class, which is used when retrieving a table.
|
|
51
|
-
|
|
52
|
-
Args:
|
|
53
|
-
name (str | None): Unique name of the table
|
|
54
|
-
created_time (int | None): Time the table was created.
|
|
55
|
-
cognite_client (CogniteClient | None): The client to associate with this object.
|
|
56
|
-
"""
|
|
57
|
-
|
|
58
|
-
def __init__(
|
|
59
|
-
self,
|
|
60
|
-
name: str | None = None,
|
|
61
|
-
database: str | None = None,
|
|
62
|
-
created_time: int | None = None,
|
|
63
|
-
cognite_client: CogniteClient | None = None,
|
|
64
|
-
) -> None:
|
|
65
|
-
super().__init__(name, database)
|
|
66
|
-
self.created_time = created_time
|
|
67
|
-
self._cognite_client = cast("CogniteClient", cognite_client)
|
|
68
|
-
|
|
69
|
-
self._db_name: str | None = None
|
|
70
|
-
|
|
71
|
-
def as_write(self) -> "RawTableWrite":
|
|
72
|
-
"""Returns this Table as a TableWrite"""
|
|
73
|
-
if self.name is None or self.database is None:
|
|
74
|
-
raise ValueError("name and database are required to create a Table")
|
|
75
|
-
return RawTableWrite(name=self.name, database=self.database)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class RawTableWrite(RawTableCore):
|
|
79
|
-
"""A NoSQL database table to store customer data
|
|
80
|
-
This is the writing version of the Table class, which is used when creating a table.
|
|
81
|
-
|
|
82
|
-
Args:
|
|
83
|
-
name (str): Unique name of the table
|
|
84
|
-
"""
|
|
85
|
-
|
|
86
|
-
def __init__(
|
|
87
|
-
self,
|
|
88
|
-
name: str,
|
|
89
|
-
database: str,
|
|
90
|
-
) -> None:
|
|
91
|
-
super().__init__(name, database)
|
|
92
|
-
|
|
93
|
-
@classmethod
|
|
94
|
-
def _load(cls, resource: dict[str, Any], cognite_client: CogniteClient | None = None) -> "RawTableWrite":
|
|
95
|
-
return cls(resource["name"], resource["database"])
|
|
96
|
-
|
|
97
|
-
def as_write(self) -> "RawTableWrite":
|
|
98
|
-
"""Returns this TableWrite instance."""
|
|
99
|
-
return self
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
class RawTableWriteList(CogniteResourceList[RawTableWrite]):
|
|
103
|
-
_RESOURCE = RawTableWrite
|
|
104
|
-
|
|
105
|
-
def as_ids(self) -> list[RawTableID]:
|
|
106
|
-
"""Returns this TableWriteList as a list of TableIDs"""
|
|
107
|
-
return [table.as_id() for table in self.data]
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
class RawTableList(
|
|
111
|
-
WriteableCogniteResourceList[RawTableWrite, RawTable],
|
|
112
|
-
):
|
|
113
|
-
_RESOURCE = RawTable
|
|
114
|
-
|
|
115
|
-
def as_write(self) -> RawTableWriteList:
|
|
116
|
-
"""Returns this TableList as a TableWriteList"""
|
|
117
|
-
return RawTableWriteList([table.as_write() for table in self.data])
|
|
118
|
-
|
|
119
|
-
def as_ids(self) -> list[RawTableID]:
|
|
120
|
-
"""Returns this TableList as a list of TableIDs"""
|
|
121
|
-
return [table.as_id() for table in self.data]
|
cognite/neat/utils/exceptions.py
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
from pydantic_core import ErrorDetails, PydanticCustomError
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class NeatError(Exception):
|
|
5
|
-
type_: str
|
|
6
|
-
code: int
|
|
7
|
-
description: str
|
|
8
|
-
example: str
|
|
9
|
-
fix: str
|
|
10
|
-
message: str
|
|
11
|
-
|
|
12
|
-
def to_pydantic_custom_error(self):
|
|
13
|
-
return PydanticCustomError(
|
|
14
|
-
self.type_,
|
|
15
|
-
self.message,
|
|
16
|
-
dict(type_=self.type_, code=self.code, description=self.description, example=self.example, fix=self.fix),
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
def to_error_dict(self) -> ErrorDetails:
|
|
20
|
-
return {
|
|
21
|
-
"type": self.type_,
|
|
22
|
-
"loc": (),
|
|
23
|
-
"msg": self.message,
|
|
24
|
-
"input": None,
|
|
25
|
-
"ctx": dict(
|
|
26
|
-
type_=self.type_,
|
|
27
|
-
code=self.code,
|
|
28
|
-
description=self.description,
|
|
29
|
-
example=self.example,
|
|
30
|
-
fix=self.fix,
|
|
31
|
-
),
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class NeatWarning(UserWarning):
|
|
36
|
-
type_: str
|
|
37
|
-
code: int
|
|
38
|
-
description: str
|
|
39
|
-
example: str
|
|
40
|
-
fix: str
|
|
41
|
-
message: str
|