cognite-neat 0.88.2__py3-none-any.whl → 0.89.0__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/constants.py +3 -0
- cognite/neat/graph/__init__.py +0 -3
- cognite/neat/graph/extractors/_mock_graph_generator.py +2 -1
- cognite/neat/graph/loaders/_base.py +3 -3
- cognite/neat/graph/loaders/_rdf2asset.py +24 -25
- cognite/neat/graph/loaders/_rdf2dms.py +20 -15
- cognite/neat/issues/__init__.py +1 -3
- cognite/neat/issues/_base.py +261 -71
- cognite/neat/issues/errors/__init__.py +73 -0
- cognite/neat/issues/errors/_external.py +67 -0
- cognite/neat/issues/errors/_general.py +35 -0
- cognite/neat/issues/errors/_properties.py +62 -0
- cognite/neat/issues/errors/_resources.py +111 -0
- cognite/neat/issues/errors/_workflow.py +36 -0
- cognite/neat/issues/formatters.py +1 -1
- cognite/neat/issues/warnings/__init__.py +66 -0
- cognite/neat/issues/warnings/_external.py +40 -0
- cognite/neat/issues/warnings/_general.py +29 -0
- cognite/neat/issues/warnings/_models.py +92 -0
- cognite/neat/issues/warnings/_properties.py +44 -0
- cognite/neat/issues/warnings/_resources.py +55 -0
- cognite/neat/issues/warnings/user_modeling.py +113 -0
- cognite/neat/rules/_shared.py +53 -2
- cognite/neat/rules/analysis/_base.py +1 -1
- cognite/neat/rules/exporters/_base.py +7 -18
- cognite/neat/rules/exporters/_rules2dms.py +17 -20
- cognite/neat/rules/exporters/_rules2excel.py +9 -16
- cognite/neat/rules/exporters/_rules2ontology.py +77 -64
- cognite/neat/rules/exporters/_rules2yaml.py +6 -9
- cognite/neat/rules/exporters/_validation.py +11 -96
- cognite/neat/rules/importers/_base.py +9 -58
- cognite/neat/rules/importers/_dms2rules.py +188 -135
- cognite/neat/rules/importers/_dtdl2rules/dtdl_converter.py +48 -35
- cognite/neat/rules/importers/_dtdl2rules/dtdl_importer.py +36 -45
- cognite/neat/rules/importers/_dtdl2rules/spec.py +7 -0
- cognite/neat/rules/importers/_rdf/_imf2rules/_imf2classes.py +8 -4
- cognite/neat/rules/importers/_rdf/_imf2rules/_imf2metadata.py +3 -3
- cognite/neat/rules/importers/_rdf/_imf2rules/_imf2properties.py +18 -11
- cognite/neat/rules/importers/_rdf/_imf2rules/_imf2rules.py +12 -19
- cognite/neat/rules/importers/_rdf/_inference2rules.py +14 -37
- cognite/neat/rules/importers/_rdf/_owl2rules/_owl2classes.py +1 -0
- cognite/neat/rules/importers/_rdf/_owl2rules/_owl2properties.py +1 -0
- cognite/neat/rules/importers/_rdf/_owl2rules/_owl2rules.py +9 -20
- cognite/neat/rules/importers/_rdf/_shared.py +4 -4
- cognite/neat/rules/importers/_spreadsheet2rules.py +46 -97
- cognite/neat/rules/importers/_yaml2rules.py +32 -58
- cognite/neat/rules/models/__init__.py +21 -5
- cognite/neat/rules/models/_base_input.py +162 -0
- cognite/neat/rules/models/{_base.py → _base_rules.py} +1 -12
- cognite/neat/rules/models/_rdfpath.py +4 -4
- cognite/neat/rules/models/{_types/_field.py → _types.py} +5 -10
- cognite/neat/rules/models/asset/__init__.py +5 -2
- cognite/neat/rules/models/asset/_rules.py +3 -23
- cognite/neat/rules/models/asset/_rules_input.py +40 -115
- cognite/neat/rules/models/asset/_validation.py +14 -10
- cognite/neat/rules/models/data_types.py +150 -44
- cognite/neat/rules/models/dms/__init__.py +19 -7
- cognite/neat/rules/models/dms/_exporter.py +102 -34
- cognite/neat/rules/models/dms/_rules.py +65 -162
- cognite/neat/rules/models/dms/_rules_input.py +186 -254
- cognite/neat/rules/models/dms/_schema.py +87 -78
- cognite/neat/rules/models/dms/_serializer.py +44 -3
- cognite/neat/rules/models/dms/_validation.py +106 -68
- cognite/neat/rules/models/domain.py +52 -1
- cognite/neat/rules/models/entities/__init__.py +63 -0
- cognite/neat/rules/models/entities/_constants.py +73 -0
- cognite/neat/rules/models/entities/_loaders.py +76 -0
- cognite/neat/rules/models/entities/_multi_value.py +67 -0
- cognite/neat/rules/models/{entities.py → entities/_single_value.py} +74 -232
- cognite/neat/rules/models/entities/_types.py +86 -0
- cognite/neat/rules/models/{wrapped_entities.py → entities/_wrapped.py} +1 -1
- cognite/neat/rules/models/information/__init__.py +10 -2
- cognite/neat/rules/models/information/_rules.py +10 -22
- cognite/neat/rules/models/information/_rules_input.py +57 -204
- cognite/neat/rules/models/information/_validation.py +48 -25
- cognite/neat/rules/transformers/__init__.py +21 -0
- cognite/neat/rules/transformers/_base.py +81 -0
- cognite/neat/rules/{models/information/_converter.py → transformers/_converters.py} +217 -21
- cognite/neat/rules/transformers/_map_onto.py +97 -0
- cognite/neat/rules/transformers/_pipelines.py +61 -0
- cognite/neat/rules/transformers/_verification.py +136 -0
- cognite/neat/{graph/stores → store}/_provenance.py +10 -1
- cognite/neat/utils/auxiliary.py +2 -35
- cognite/neat/utils/cdf/data_classes.py +20 -0
- cognite/neat/utils/regex_patterns.py +6 -0
- cognite/neat/utils/text.py +17 -0
- cognite/neat/workflows/base.py +4 -4
- cognite/neat/workflows/cdf_store.py +3 -3
- cognite/neat/workflows/steps/data_contracts.py +1 -1
- cognite/neat/workflows/steps/lib/current/graph_extractor.py +3 -3
- cognite/neat/workflows/steps/lib/current/graph_loader.py +2 -2
- cognite/neat/workflows/steps/lib/current/graph_store.py +1 -1
- cognite/neat/workflows/steps/lib/current/rules_exporter.py +116 -47
- cognite/neat/workflows/steps/lib/current/rules_importer.py +30 -28
- cognite/neat/workflows/steps/lib/current/rules_validator.py +5 -6
- cognite/neat/workflows/steps/lib/io/io_steps.py +5 -5
- cognite/neat/workflows/steps_registry.py +4 -5
- {cognite_neat-0.88.2.dist-info → cognite_neat-0.89.0.dist-info}/METADATA +1 -1
- {cognite_neat-0.88.2.dist-info → cognite_neat-0.89.0.dist-info}/RECORD +105 -106
- cognite/neat/exceptions.py +0 -145
- cognite/neat/graph/exceptions.py +0 -90
- cognite/neat/issues/errors/external.py +0 -21
- cognite/neat/issues/errors/properties.py +0 -75
- cognite/neat/issues/errors/resources.py +0 -123
- cognite/neat/issues/errors/schema.py +0 -0
- cognite/neat/issues/neat_warnings/__init__.py +0 -2
- cognite/neat/issues/neat_warnings/identifier.py +0 -27
- cognite/neat/issues/neat_warnings/models.py +0 -22
- cognite/neat/issues/neat_warnings/properties.py +0 -77
- cognite/neat/issues/neat_warnings/resources.py +0 -125
- cognite/neat/rules/issues/__init__.py +0 -22
- cognite/neat/rules/issues/base.py +0 -63
- cognite/neat/rules/issues/dms.py +0 -549
- cognite/neat/rules/issues/fileread.py +0 -197
- cognite/neat/rules/issues/ontology.py +0 -298
- cognite/neat/rules/issues/spreadsheet.py +0 -563
- cognite/neat/rules/issues/spreadsheet_file.py +0 -151
- cognite/neat/rules/issues/tables.py +0 -72
- cognite/neat/rules/models/_constants.py +0 -1
- cognite/neat/rules/models/_types/__init__.py +0 -19
- cognite/neat/rules/models/asset/_converter.py +0 -4
- cognite/neat/rules/models/dms/_converter.py +0 -145
- cognite/neat/workflows/_exceptions.py +0 -41
- /cognite/neat/{graph/stores → store}/__init__.py +0 -0
- /cognite/neat/{graph/stores → store}/_base.py +0 -0
- {cognite_neat-0.88.2.dist-info → cognite_neat-0.89.0.dist-info}/LICENSE +0 -0
- {cognite_neat-0.88.2.dist-info → cognite_neat-0.89.0.dist-info}/WHEEL +0 -0
- {cognite_neat-0.88.2.dist-info → cognite_neat-0.89.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
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=0dsP1JW1TkWXOWQ5JFTW7tQopcf-xbHKy_C8NKkqYeA,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
6
|
cognite/neat/app/api/configuration.py,sha256=L1DCtLZ1HZku8I2z-JWd5RDsXhIsboFsKwAMhkrm-bY,3600
|
|
@@ -39,9 +39,8 @@ cognite/neat/app/ui/neat-app/build/static/js/main.5a52cf09.js.LICENSE.txt,sha256
|
|
|
39
39
|
cognite/neat/app/ui/neat-app/build/static/js/main.5a52cf09.js.map,sha256=Lf93Q5-M2-Yc8NTq59fJ7floyiT9f-ayFYFKDvnVZqU,3161888
|
|
40
40
|
cognite/neat/app/ui/neat-app/build/static/media/logo.8093b84df9ed36a174c629d6fe0b730d.svg,sha256=EYf9q9JoVJ1L1np-XloeEZXCmaibzKmmpXCKn_44xzA,240334
|
|
41
41
|
cognite/neat/config.py,sha256=MbYOvlibOjODEPcCHNKwZHVjg9ft8kZSojnW4gQCiHQ,10116
|
|
42
|
-
cognite/neat/constants.py,sha256=
|
|
43
|
-
cognite/neat/
|
|
44
|
-
cognite/neat/graph/__init__.py,sha256=J8JSJj3s4gFbuAexma__KGpBXPN8wuydPTKd6EwgKPA,65
|
|
42
|
+
cognite/neat/constants.py,sha256=_Pkiux_g_YmrtqzkuvtahJ2PRJsd7LnvSTrzOn6Z1wQ,953
|
|
43
|
+
cognite/neat/graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
44
|
cognite/neat/graph/_shared.py,sha256=9QRETdm7hvqIeiHv_n1xi1DUq91Nq7oRRpnPKE0Pnag,181
|
|
46
45
|
cognite/neat/graph/_tracking/__init__.py,sha256=pYj7c-YAUIP4hvN-4mlWnwaeZFerzL9_gM-oZhex7cE,91
|
|
47
46
|
cognite/neat/graph/_tracking/base.py,sha256=8JmaDhlFhSkdBe4SOvFnrdDvMmfTZkHhZxWWWTYkMOQ,820
|
|
@@ -50,7 +49,6 @@ cognite/neat/graph/examples/Knowledge-Graph-Nordic44-dirty.xml,sha256=ujJip6XBs5
|
|
|
50
49
|
cognite/neat/graph/examples/Knowledge-Graph-Nordic44.xml,sha256=U2Ns-M4LRjT1fBkhmRj63ur7jDzlRtHK9yOLf_npZ_g,1437996
|
|
51
50
|
cognite/neat/graph/examples/__init__.py,sha256=yAjHVY3b5jOjmbW-iLbhvu7BG014TpGi3K4igkDqW5I,368
|
|
52
51
|
cognite/neat/graph/examples/skos-capturing-sheet-wind-topics.xlsx,sha256=CV_yK5ZSbYS_ktfIZUPD8Sevs47zpswLXQUDFkGE4Gw,45798
|
|
53
|
-
cognite/neat/graph/exceptions.py,sha256=R6pyOH774n9w2x_X_nrUr8OMAdjJMf_XPIqAvxIQaWo,3401
|
|
54
52
|
cognite/neat/graph/extractors/__init__.py,sha256=nXcNp6i3-1HteIkr8Ujxk4b09W5jk27Q3eWuwjcnGnM,1647
|
|
55
53
|
cognite/neat/graph/extractors/_base.py,sha256=8IWygpkQTwo0UOmbbwWVI7540_klTVdUVX2JjVPFRIs,498
|
|
56
54
|
cognite/neat/graph/extractors/_classic_cdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -63,135 +61,136 @@ cognite/neat/graph/extractors/_classic_cdf/_relationships.py,sha256=VxmwnZ_vN_P1
|
|
|
63
61
|
cognite/neat/graph/extractors/_classic_cdf/_sequences.py,sha256=sTtVPngffQw2fyvoRG1ABC2yFkepA6skFT1XdCzg4cU,5086
|
|
64
62
|
cognite/neat/graph/extractors/_classic_cdf/_timeseries.py,sha256=zmVf5pO-G4ro3elKt0sCTfTtLulkEFoEahLgP9J5kKE,6581
|
|
65
63
|
cognite/neat/graph/extractors/_dexpi.py,sha256=Q3whJpEi3uFMzJGAAeUfgRnAzz6ZHmtuEdVBWqsZsTM,9384
|
|
66
|
-
cognite/neat/graph/extractors/_mock_graph_generator.py,sha256=
|
|
64
|
+
cognite/neat/graph/extractors/_mock_graph_generator.py,sha256=mw7tdqCEhaFxyzcKTWlXLj62KVo5D1rJFUPf6xqDKQU,14752
|
|
67
65
|
cognite/neat/graph/extractors/_rdf_file.py,sha256=ialMCLv9WH5k6v1YMfozfcmAYhz8OVo9jVhsKMyQkDA,763
|
|
68
66
|
cognite/neat/graph/loaders/__init__.py,sha256=TbeJqifd16JLOglPVNOeb6pN_w060UYag50KquBM_r0,769
|
|
69
|
-
cognite/neat/graph/loaders/_base.py,sha256=
|
|
70
|
-
cognite/neat/graph/loaders/_rdf2asset.py,sha256=
|
|
71
|
-
cognite/neat/graph/loaders/_rdf2dms.py,sha256=
|
|
67
|
+
cognite/neat/graph/loaders/_base.py,sha256=5CpNsSj3WGCCjT2dC4GhnbArSD7DlWg_kXtze_ediLg,3614
|
|
68
|
+
cognite/neat/graph/loaders/_rdf2asset.py,sha256=Opq7BNAzrAYq-ffF2ayAqNVopyBDrayn0hj07KVFsyI,17504
|
|
69
|
+
cognite/neat/graph/loaders/_rdf2dms.py,sha256=s1rCOAsZjcmhkRsW9_VbD9zL2yY9lAcjOtQirmzDCEw,14713
|
|
72
70
|
cognite/neat/graph/models.py,sha256=AtLgZh2qyRP6NRetjQCy9qLMuTQB0CH52Zsev-qa2sk,149
|
|
73
71
|
cognite/neat/graph/queries/__init__.py,sha256=BgDd-037kvtWwAoGAy8eORVNMiZ5-E9sIV0txIpeaN4,50
|
|
74
72
|
cognite/neat/graph/queries/_base.py,sha256=H1ypFF_Fjls_oViF_5rrfTZzFOjwA4AHnzPdnmLNdXM,8243
|
|
75
73
|
cognite/neat/graph/queries/_construct.py,sha256=lDquCxjiaUzL3G48ZQffrGJMcqPkWVtCdkfatgPAUKI,7208
|
|
76
74
|
cognite/neat/graph/queries/_shared.py,sha256=Kk53TqJmwD2G-rxhLq_jJXYy8jvLsUAAWGJS5r9pOaY,5327
|
|
77
|
-
cognite/neat/graph/stores/__init__.py,sha256=G-VG_YwfRt1kuPao07PDJyZ3w_0-eguzLUM13n-Z_RA,64
|
|
78
|
-
cognite/neat/graph/stores/_base.py,sha256=HC7PpqQV_KMxdF61aocwU3e7ljvpVHp4xvNwNKIrhBU,12442
|
|
79
|
-
cognite/neat/graph/stores/_provenance.py,sha256=HIXa-p7yc2l3HFkQWMnGPhn-t_FROEG21thADGkgy0c,3590
|
|
80
75
|
cognite/neat/graph/transformers/__init__.py,sha256=FMvlDEDJHrZL4Jb_H0AiJZO5uHXBCuLhB5HVDuinnBI,665
|
|
81
76
|
cognite/neat/graph/transformers/_base.py,sha256=b37Ek-9njuM5pTR_3XhnxCMrg_ip_2BMwM7ZhKpAAlw,328
|
|
82
77
|
cognite/neat/graph/transformers/_classic_cdf.py,sha256=6xX-OBSJT5DAQrTJ-nuhCfGNaSk5Iktxn-WIMfzEIqo,13189
|
|
83
78
|
cognite/neat/graph/transformers/_rdfpath.py,sha256=VLtGJvTPT5SWhV98fuGGt0pptTXfzOOQSNehypsPHug,1861
|
|
84
|
-
cognite/neat/issues/__init__.py,sha256=
|
|
85
|
-
cognite/neat/issues/_base.py,sha256=
|
|
86
|
-
cognite/neat/issues/errors/__init__.py,sha256=
|
|
87
|
-
cognite/neat/issues/errors/
|
|
88
|
-
cognite/neat/issues/errors/
|
|
89
|
-
cognite/neat/issues/errors/
|
|
90
|
-
cognite/neat/issues/errors/
|
|
91
|
-
cognite/neat/issues/
|
|
92
|
-
cognite/neat/issues/
|
|
93
|
-
cognite/neat/issues/
|
|
94
|
-
cognite/neat/issues/
|
|
95
|
-
cognite/neat/issues/
|
|
96
|
-
cognite/neat/issues/
|
|
79
|
+
cognite/neat/issues/__init__.py,sha256=KkBEO-0Lg3vdvjrQtxKR6Wy2iV2mooc9utSO8-_9UuI,405
|
|
80
|
+
cognite/neat/issues/_base.py,sha256=C8_FcjaMwloSpZgpkiHjtV1JeZF4Upw5bXpOd-1CyAY,15163
|
|
81
|
+
cognite/neat/issues/errors/__init__.py,sha256=t23ZnbWOZEhd77Ae_gpAxMPAIWOTbt7-wi6yeCmlGZE,2077
|
|
82
|
+
cognite/neat/issues/errors/_external.py,sha256=TUdihRyr5amdGSzSU49hWz7N7BSPCTVo7glKFNDrc5w,1583
|
|
83
|
+
cognite/neat/issues/errors/_general.py,sha256=Dtt4kEfNyj-CxpowsVVrq2eAwWEzx68JpPnS48QoY2U,787
|
|
84
|
+
cognite/neat/issues/errors/_properties.py,sha256=7To9RvOyBzspZrs4jG3kAYJ3bzmMjDld_2lXDTWkUgM,2299
|
|
85
|
+
cognite/neat/issues/errors/_resources.py,sha256=SqzHY4Mtm-JEYSKZO8x4Mh7vOVWMV3nOEu1JrUVdjIc,3863
|
|
86
|
+
cognite/neat/issues/errors/_workflow.py,sha256=nC3sxqlJSyi-kmo2ZAfxEH23ZuNRMC-oBcwQcl_2hkU,950
|
|
87
|
+
cognite/neat/issues/formatters.py,sha256=QCk41VLlpq-R9uaHpINYceZkIUoI9m4pwSq_yWPOmr8,3331
|
|
88
|
+
cognite/neat/issues/warnings/__init__.py,sha256=ZnQIaA8WAG378DLjCTSrlGLtGO7A33453-7ShCaBqtw,2250
|
|
89
|
+
cognite/neat/issues/warnings/_external.py,sha256=pauqW4VjKnfflUiz7J8EXtTdpXxCuCcE-EuzvXlPJuI,953
|
|
90
|
+
cognite/neat/issues/warnings/_general.py,sha256=yLfooeTwq57LQPbvvVgMZDBZpyrnalXHlA6bu0lSqFg,601
|
|
91
|
+
cognite/neat/issues/warnings/_models.py,sha256=HIhn5_hICqE0sFiosI7HiJnn3gyJPkQxOk1kXpAdG-E,3026
|
|
92
|
+
cognite/neat/issues/warnings/_properties.py,sha256=DPoUOlWJ0G5IllJEDHvVCTgngGkrzJDunoyzhW9RhGg,1511
|
|
93
|
+
cognite/neat/issues/warnings/_resources.py,sha256=RpmZ-KLEyTTckfAG9IvQVslq8yjN9NPS9Q_Oa6Y3ps8,1788
|
|
94
|
+
cognite/neat/issues/warnings/user_modeling.py,sha256=RwslCYWLZzmoX7zX8O2Ha5pgghbhIOLQCZyev5CppO8,3602
|
|
97
95
|
cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
96
|
cognite/neat/rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
|
-
cognite/neat/rules/_shared.py,sha256=
|
|
97
|
+
cognite/neat/rules/_shared.py,sha256=BsOCCy0Ut2eOwOi04K-jVjse2jHRmsFaGYJHQ1puegg,1762
|
|
100
98
|
cognite/neat/rules/analysis/__init__.py,sha256=1qQXgddwSmRjC5s22XfQhsn8XPYfwAV_2n6lqeWJmKc,141
|
|
101
99
|
cognite/neat/rules/analysis/_asset.py,sha256=SCiDatwDPi80jj41yQAp740irRWijMKEtAObkwKOKYs,7322
|
|
102
|
-
cognite/neat/rules/analysis/_base.py,sha256=
|
|
100
|
+
cognite/neat/rules/analysis/_base.py,sha256=Dn1tKwV0KZWvgXMsKeeI8F45cxojuSWLi5o24YLOE80,16764
|
|
103
101
|
cognite/neat/rules/analysis/_information.py,sha256=TU9QbhtyhPVYqAxR-9L5awevl9i3q7x1Y25D5xb_Ciw,8085
|
|
104
102
|
cognite/neat/rules/examples/__init__.py,sha256=nxIwueAcHgZhkYriGxnDLQmIyiT8PByPHbScjYKDKe0,374
|
|
105
103
|
cognite/neat/rules/examples/wind-energy.owl,sha256=NuomCA9FuuLF0JlSuG3OKqD4VBcHgSjDKFLV17G1zV8,65934
|
|
106
104
|
cognite/neat/rules/exporters/__init__.py,sha256=nRMUBUf7yr1QPjyITeX2rTLtLLawHv24hhRE39d2-e0,1109
|
|
107
|
-
cognite/neat/rules/exporters/_base.py,sha256=
|
|
108
|
-
cognite/neat/rules/exporters/_rules2dms.py,sha256=
|
|
109
|
-
cognite/neat/rules/exporters/_rules2excel.py,sha256=
|
|
110
|
-
cognite/neat/rules/exporters/_rules2ontology.py,sha256=
|
|
111
|
-
cognite/neat/rules/exporters/_rules2yaml.py,sha256=
|
|
112
|
-
cognite/neat/rules/exporters/_validation.py,sha256=
|
|
105
|
+
cognite/neat/rules/exporters/_base.py,sha256=Er8G2DRNUtD1RbDOe9_c6H8cVwXbkTQzGfqof7J9OhA,1329
|
|
106
|
+
cognite/neat/rules/exporters/_rules2dms.py,sha256=UekIEl9m-ZHu7AjPr0yaDrAkE3AMJaTcL2dkYdE17Ko,14448
|
|
107
|
+
cognite/neat/rules/exporters/_rules2excel.py,sha256=aSxvCINP9wzrqeqI3DaS00BQibMhFEHcRH3Ka_QHoMY,14232
|
|
108
|
+
cognite/neat/rules/exporters/_rules2ontology.py,sha256=qrSY8se-AUABaJt_7NOH46Htoq6mXAEMO4eN3dCzvG8,21705
|
|
109
|
+
cognite/neat/rules/exporters/_rules2yaml.py,sha256=2yAkU3b4P4UYdsCyAZn5K2OwphnRXAl8ZwNek4EMfGU,2899
|
|
110
|
+
cognite/neat/rules/exporters/_validation.py,sha256=A0kyrIEu51ZXl47CXmO4ZOT0whO5iKNwMY-BwMc2scA,680
|
|
113
111
|
cognite/neat/rules/importers/__init__.py,sha256=z682_ktGKDjr52DIL6cPvOercZS6-TYD_ZDo-MGqtck,1207
|
|
114
|
-
cognite/neat/rules/importers/_base.py,sha256=
|
|
115
|
-
cognite/neat/rules/importers/_dms2rules.py,sha256=
|
|
112
|
+
cognite/neat/rules/importers/_base.py,sha256=G9apdRztiAdnzX3LyZ-SNaavXagvtta2BQXFqEOQw_g,2851
|
|
113
|
+
cognite/neat/rules/importers/_dms2rules.py,sha256=4RFk0hebKq2uiHMwoV9s8ZLU1ztWyTAQLo7sJHl2f_I,22900
|
|
116
114
|
cognite/neat/rules/importers/_dtdl2rules/__init__.py,sha256=CNR-sUihs2mnR1bPMKs3j3L4ds3vFTsrl6YycExZTfU,68
|
|
117
115
|
cognite/neat/rules/importers/_dtdl2rules/_unit_lookup.py,sha256=wW4saKva61Q_i17guY0dc4OseJDQfqHy_QZBtm0OD6g,12134
|
|
118
|
-
cognite/neat/rules/importers/_dtdl2rules/dtdl_converter.py,sha256=
|
|
119
|
-
cognite/neat/rules/importers/_dtdl2rules/dtdl_importer.py,sha256=
|
|
120
|
-
cognite/neat/rules/importers/_dtdl2rules/spec.py,sha256=
|
|
116
|
+
cognite/neat/rules/importers/_dtdl2rules/dtdl_converter.py,sha256=WklOdKq1p-w-j3bloDGX-eJIltyD_1mwo4aZbKY9UG4,11904
|
|
117
|
+
cognite/neat/rules/importers/_dtdl2rules/dtdl_importer.py,sha256=q5gWB6sI9HugEBginsAehoaw8nm45iNgQlBBaT0wLM8,6144
|
|
118
|
+
cognite/neat/rules/importers/_dtdl2rules/spec.py,sha256=_uy-rO45Y-BJIp5p5dQVbVmjjVKYahkazJf-khVbT4E,12165
|
|
121
119
|
cognite/neat/rules/importers/_rdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
122
120
|
cognite/neat/rules/importers/_rdf/_imf2rules/__init__.py,sha256=4ZuX81E-Tp4Vf6g_6Pb0iStzOCy7RJ83yxhvo4UddXY,63
|
|
123
|
-
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2classes.py,sha256=
|
|
124
|
-
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2metadata.py,sha256=
|
|
125
|
-
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2properties.py,sha256=
|
|
126
|
-
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2rules.py,sha256=
|
|
127
|
-
cognite/neat/rules/importers/_rdf/_inference2rules.py,sha256=
|
|
121
|
+
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2classes.py,sha256=bXlzybKhiCmhTs0PufOSRKXjQu-OkXlaVDidd-ZFdB8,3745
|
|
122
|
+
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2metadata.py,sha256=AHRyyt25Av_MS4iWFw49MCabz49Ng1mDGyLKXufisFM,957
|
|
123
|
+
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2properties.py,sha256=aF7Jy29Jo2hm8rybRDyBxoLGycOx3UsM6Gq-ztBF41Y,6170
|
|
124
|
+
cognite/neat/rules/importers/_rdf/_imf2rules/_imf2rules.py,sha256=YFLXYjzsKCGL4rxE8gllpJ1LKeVEkNwXscE3aCyxlYs,6289
|
|
125
|
+
cognite/neat/rules/importers/_rdf/_inference2rules.py,sha256=IZ7i5HeO7O3FA5JBrev0wVy8Sjcb8z3-pCoq0NjKuGk,13077
|
|
128
126
|
cognite/neat/rules/importers/_rdf/_owl2rules/__init__.py,sha256=tdGcrgtozdQyST-pTlxIa4cLBNTLvtk1nNYR4vOdFSw,63
|
|
129
|
-
cognite/neat/rules/importers/_rdf/_owl2rules/_owl2classes.py,sha256=
|
|
127
|
+
cognite/neat/rules/importers/_rdf/_owl2rules/_owl2classes.py,sha256=VLlr2UHAia0xWaeg3tKJ3N0sq_nYur3UqcOXgjMYxzg,1934
|
|
130
128
|
cognite/neat/rules/importers/_rdf/_owl2rules/_owl2metadata.py,sha256=3eTXm0irYJcjMV4H57xblP_iaNO_T0JErQuAYZfNaFA,2659
|
|
131
|
-
cognite/neat/rules/importers/_rdf/_owl2rules/_owl2properties.py,sha256=
|
|
132
|
-
cognite/neat/rules/importers/_rdf/_owl2rules/_owl2rules.py,sha256=
|
|
133
|
-
cognite/neat/rules/importers/_rdf/_shared.py,sha256=
|
|
134
|
-
cognite/neat/rules/importers/_spreadsheet2rules.py,sha256=
|
|
135
|
-
cognite/neat/rules/importers/_yaml2rules.py,sha256=
|
|
136
|
-
cognite/neat/rules/
|
|
137
|
-
cognite/neat/rules/
|
|
138
|
-
cognite/neat/rules/
|
|
139
|
-
cognite/neat/rules/
|
|
140
|
-
cognite/neat/rules/
|
|
141
|
-
cognite/neat/rules/
|
|
142
|
-
cognite/neat/rules/
|
|
143
|
-
cognite/neat/rules/
|
|
144
|
-
cognite/neat/rules/models/__init__.py,sha256=DHitrcmu9in2F8NqBE1O2J4UU_-MAlY6sB1MfigY4IU,887
|
|
145
|
-
cognite/neat/rules/models/_base.py,sha256=0wZgEDWLxKInQGw4ig3F_P_QP2FlUlMoanQvRMihHIg,11301
|
|
146
|
-
cognite/neat/rules/models/_constants.py,sha256=zPREgHT79_4FMg58QlaXc7A8XKRJrjP5SUgh63jDnTk,31
|
|
147
|
-
cognite/neat/rules/models/_rdfpath.py,sha256=WY2vqe3oaIThsh01Eb6E4WexS8B8juAVceHLiglQNuA,11954
|
|
148
|
-
cognite/neat/rules/models/_types/__init__.py,sha256=l1tGxzE7ezNHIL72AoEvNHN2IFuitxOLxiHJG__s6t4,305
|
|
149
|
-
cognite/neat/rules/models/_types/_field.py,sha256=3ZfrzyyuP7pB9LQAyxdxBYYLbomqyt-ISfQd-qOP5_4,3088
|
|
150
|
-
cognite/neat/rules/models/asset/__init__.py,sha256=qNon0kHleCPo2eT82TmeBAfiDDdwdKNU-Xdewuz8JRA,231
|
|
151
|
-
cognite/neat/rules/models/asset/_converter.py,sha256=PrTh9ZZkqSJBviiJE4xc3pClCsaWu2tTYOdgwg6_VOk,150
|
|
152
|
-
cognite/neat/rules/models/asset/_rules.py,sha256=SWjl3_GmO15RQeXl2MPoGaIgobVQNpF0Ezr0oDOkw5E,6069
|
|
153
|
-
cognite/neat/rules/models/asset/_rules_input.py,sha256=LiT-85CVgDz2ng65CtrRa77r4rnmg3E4Q6DC7-gv0dE,6257
|
|
129
|
+
cognite/neat/rules/importers/_rdf/_owl2rules/_owl2properties.py,sha256=2nuhRr7ZEEAEN94IFRYwrt_T4WqmQUzOpqrNuji_Vi4,2145
|
|
130
|
+
cognite/neat/rules/importers/_rdf/_owl2rules/_owl2rules.py,sha256=nH_hJGIEG9LKAjC7q5owggwGT40XLNiMctyxqN8u-dY,2510
|
|
131
|
+
cognite/neat/rules/importers/_rdf/_shared.py,sha256=qZuJm2LiB_eScbRkoTOL7Qf6CJQ124Dv2Kxylo-Rzts,19771
|
|
132
|
+
cognite/neat/rules/importers/_spreadsheet2rules.py,sha256=2GhBLEq6jyu2TbnX6MTlSx4LaWOdSfz213Lo45nTaM4,11036
|
|
133
|
+
cognite/neat/rules/importers/_yaml2rules.py,sha256=aap5Nso_7EBNrHtG4pt8tT4jNzCYUQz4twHdmqrGya8,3139
|
|
134
|
+
cognite/neat/rules/models/__init__.py,sha256=LlbugWml19SAewFRihYLW8v47zl_06cWvqX2F_R7KLw,1530
|
|
135
|
+
cognite/neat/rules/models/_base_input.py,sha256=xVgdtnXkoSncWc9wXr3yMl6ugVAUn1JpFoUOyMRNzuc,5865
|
|
136
|
+
cognite/neat/rules/models/_base_rules.py,sha256=hAOMx443i4jhsPKAECaepg8c1170IrpCZJ8mqMSJ8CI,10912
|
|
137
|
+
cognite/neat/rules/models/_rdfpath.py,sha256=oyMpmL_t0R5Uocdm3CA9iDLT2ZJVr2BIuz4cxaUlabM,11881
|
|
138
|
+
cognite/neat/rules/models/_types.py,sha256=VM40gfADOzw5UFy-olCBotComra0MsAafjyUlaIgFV8,2875
|
|
139
|
+
cognite/neat/rules/models/asset/__init__.py,sha256=Z2tQEABW-q66bmHNcxMuIxPmYQBcGdiSZt7fHGe01dQ,363
|
|
140
|
+
cognite/neat/rules/models/asset/_rules.py,sha256=NYQU2eXXIL2kyLk8RR0vsNamsycMk390o_UKUdsz9zE,5279
|
|
141
|
+
cognite/neat/rules/models/asset/_rules_input.py,sha256=2Skh7OVk2X5k7L62O8uZvLmpogJfQeYD7lZbzejEZRw,3375
|
|
154
142
|
cognite/neat/rules/models/asset/_serializer.py,sha256=ixqRf9qEzvChgysRaDX4g_vHVDtRBCsPYC9sOn0-ShE,3365
|
|
155
|
-
cognite/neat/rules/models/asset/_validation.py,sha256=
|
|
156
|
-
cognite/neat/rules/models/data_types.py,sha256=
|
|
157
|
-
cognite/neat/rules/models/dms/__init__.py,sha256=
|
|
158
|
-
cognite/neat/rules/models/dms/
|
|
159
|
-
cognite/neat/rules/models/dms/
|
|
160
|
-
cognite/neat/rules/models/dms/
|
|
161
|
-
cognite/neat/rules/models/dms/
|
|
162
|
-
cognite/neat/rules/models/dms/
|
|
163
|
-
cognite/neat/rules/models/dms/
|
|
164
|
-
cognite/neat/rules/models/
|
|
165
|
-
cognite/neat/rules/models/
|
|
166
|
-
cognite/neat/rules/models/entities.py,sha256=
|
|
167
|
-
cognite/neat/rules/models/
|
|
168
|
-
cognite/neat/rules/models/
|
|
169
|
-
cognite/neat/rules/models/
|
|
170
|
-
cognite/neat/rules/models/
|
|
143
|
+
cognite/neat/rules/models/asset/_validation.py,sha256=3goorodISq_mlyXroaivcMOZ-QV8sd27IK9-iGKnQ28,2014
|
|
144
|
+
cognite/neat/rules/models/data_types.py,sha256=jTYsWqQPuvwHytInRU0Y2TGF4aVBF83v0vp_SH9KgLA,9722
|
|
145
|
+
cognite/neat/rules/models/dms/__init__.py,sha256=CUqUlVjz4yZX_-61F-2ofSoV7N9MlSYx2N7vM-omp7E,640
|
|
146
|
+
cognite/neat/rules/models/dms/_exporter.py,sha256=YGFX6jCapxcWTcvhkQL821jMZ3lAEr3NkVZcgUiUeK4,28206
|
|
147
|
+
cognite/neat/rules/models/dms/_rules.py,sha256=iwCQx0MVQVe1R0bFIIdDD5unyuzQ7tIZDQM7NmdbJp8,14871
|
|
148
|
+
cognite/neat/rules/models/dms/_rules_input.py,sha256=v5-zlb4VJi5Q610rnPLU1aHKzXmGwoUTrDzAkJFfEQY,10911
|
|
149
|
+
cognite/neat/rules/models/dms/_schema.py,sha256=lc6Q0EUchOAUSTRiJnWc6UPBz7LjCW5NEvIGwNakcSI,50724
|
|
150
|
+
cognite/neat/rules/models/dms/_serializer.py,sha256=2Cu9BSS5cNfOc-sUvIUc5da3vh5koKfoDcx4s_Tt-R4,8585
|
|
151
|
+
cognite/neat/rules/models/dms/_validation.py,sha256=lfEUs0l21t0UL6Jjk-7E1hTwrdUT48VsHrXAhOP0LzM,15822
|
|
152
|
+
cognite/neat/rules/models/domain.py,sha256=YtVb3JIkZfcA9qrMA-RapHMv-_Q40JtxrY1oLVOFev0,4298
|
|
153
|
+
cognite/neat/rules/models/entities/__init__.py,sha256=ORRN2bkgbotGKAzxU66ff5JrbWd9z6wCISjgICBpFdA,1501
|
|
154
|
+
cognite/neat/rules/models/entities/_constants.py,sha256=r_Knlqmmb6QFgiSS0Yb_9UrhwYnaSBCYy2Wt9gODLhw,2316
|
|
155
|
+
cognite/neat/rules/models/entities/_loaders.py,sha256=uzMRAULggTxrP3B27_78i6anui3br4Ck6o9vmctqxkk,2691
|
|
156
|
+
cognite/neat/rules/models/entities/_multi_value.py,sha256=3DejtsIWJOA96y9wZMhjDBP5lOxJH9l27YZUxr9JIEY,2060
|
|
157
|
+
cognite/neat/rules/models/entities/_single_value.py,sha256=7d4aGkIqLF9X43p_r1GIEIYxVYzlEnm8KwdkihXGtJs,16416
|
|
158
|
+
cognite/neat/rules/models/entities/_types.py,sha256=lilHNUyviUHuYHZOT0ogrCqAfEpA32M1VOzr_JwdhD8,2127
|
|
159
|
+
cognite/neat/rules/models/entities/_wrapped.py,sha256=FxC8HztW_tUUtuArAOwxyFfkdJnSEB4bgZoNmmmfiPk,7137
|
|
160
|
+
cognite/neat/rules/models/information/__init__.py,sha256=fVvgXt-JuyZCP_mLgIVaeKD9pdAXe2BWUxU_BZs8e5g,480
|
|
161
|
+
cognite/neat/rules/models/information/_rules.py,sha256=X-jKm1_c8ZwTrsSSS_RbF1jNlXm9dc38UIjQPk3WExQ,13051
|
|
162
|
+
cognite/neat/rules/models/information/_rules_input.py,sha256=wKBISvbJ5IsPhl72hsF4hmOiza8nqN-4tTczl-Mif-w,5274
|
|
171
163
|
cognite/neat/rules/models/information/_serializer.py,sha256=yti9I_xJruxrib66YIBInhze___Io-oPTQH6uWDumPE,3503
|
|
172
|
-
cognite/neat/rules/models/information/_validation.py,sha256=
|
|
173
|
-
cognite/neat/rules/
|
|
164
|
+
cognite/neat/rules/models/information/_validation.py,sha256=Fa5S-rQozSCkIDpS4dPQn7U0lM71DOecAMCqL8K8Uag,9230
|
|
165
|
+
cognite/neat/rules/transformers/__init__.py,sha256=Iun5-3uDmzUzcO4IFneJ453PWAx6F_c-5LhkvrIrSc0,666
|
|
166
|
+
cognite/neat/rules/transformers/_base.py,sha256=FABG_8Xg_LUZPwVLQmKvxlcIDtI5phGLpEGpxNcJWNM,3269
|
|
167
|
+
cognite/neat/rules/transformers/_converters.py,sha256=AuCvFjwYQWIQpg7OMuYmm0vqUNC9sd1Zc2Xnletm3LU,22295
|
|
168
|
+
cognite/neat/rules/transformers/_map_onto.py,sha256=eXPhontrcJdRm2ILopwkFoPcwfM8L-BNv-CapL30klg,4824
|
|
169
|
+
cognite/neat/rules/transformers/_pipelines.py,sha256=of3NJ4gsLeKr3NiTfBMQVl1J5b2IwI5JWm8FP7oQ3B4,2438
|
|
170
|
+
cognite/neat/rules/transformers/_verification.py,sha256=rPSeDKkpe-hCJ0iiBx6yycvSANwnCS78PUFTDYgmNcA,4448
|
|
171
|
+
cognite/neat/store/__init__.py,sha256=G-VG_YwfRt1kuPao07PDJyZ3w_0-eguzLUM13n-Z_RA,64
|
|
172
|
+
cognite/neat/store/_base.py,sha256=HC7PpqQV_KMxdF61aocwU3e7ljvpVHp4xvNwNKIrhBU,12442
|
|
173
|
+
cognite/neat/store/_provenance.py,sha256=sniVJhLmvj0ulKhoUZzFLwjAsp7cQyRPxunZtLmMW4A,3902
|
|
174
174
|
cognite/neat/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
175
175
|
cognite/neat/utils/auth.py,sha256=k0sEfTpK_bamMjAkj7jN6n9yta8TaqHTFkZUjUgpwik,12770
|
|
176
|
-
cognite/neat/utils/auxiliary.py,sha256=
|
|
176
|
+
cognite/neat/utils/auxiliary.py,sha256=A--zKPcu9tdEjJDvIX_mFiTsYaMhOgo7PtBPQzeMkoc,5716
|
|
177
177
|
cognite/neat/utils/cdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
178
|
-
cognite/neat/utils/cdf/data_classes.py,sha256=
|
|
178
|
+
cognite/neat/utils/cdf/data_classes.py,sha256=XdPsHfmE3G-4o1AT_rNRiT916kWRoUpOMfgCyYjI0xU,10461
|
|
179
179
|
cognite/neat/utils/cdf/loaders/__init__.py,sha256=s2aPR5XLo6WZ0ybstAJlcGFYkA7CyHW1XO-NYpL0V6o,483
|
|
180
180
|
cognite/neat/utils/cdf/loaders/_base.py,sha256=ryNC_AMXIESWXuTVJ-02L-HSVSpD6V49XdLTRYeFg70,1764
|
|
181
181
|
cognite/neat/utils/cdf/loaders/_data_modeling.py,sha256=0jynnwZ7utnG2KIkVRJBNvDshUCzwX29LZuGSlm6qUM,13216
|
|
182
182
|
cognite/neat/utils/cdf/loaders/_ingestion.py,sha256=QbF4ntaGUum6yTRTq9WNg8n49TQpfzF1T7H-Bx740ws,6326
|
|
183
183
|
cognite/neat/utils/collection_.py,sha256=fX4eAMau5AsUs1Dm5PlzINxR64kUjncEEHeoL_JT9rU,582
|
|
184
184
|
cognite/neat/utils/rdf_.py,sha256=VXDBQUt86vRntiGhejK35PlsbvKCUkuQQa1cMYz4SIc,5656
|
|
185
|
-
cognite/neat/utils/regex_patterns.py,sha256=
|
|
185
|
+
cognite/neat/utils/regex_patterns.py,sha256=rXOBW9d-n_eAffm9zVRIPFB7ElLS8VDdsvFDsr01Q-M,2155
|
|
186
186
|
cognite/neat/utils/spreadsheet.py,sha256=LI0c7dlW0zXHkHw0NvB-gg6Df6cDcE3FbiaHBYLXdzQ,2714
|
|
187
|
-
cognite/neat/utils/text.py,sha256=
|
|
187
|
+
cognite/neat/utils/text.py,sha256=PvTEsEjaTu8SE8yYaKUrce4msboMj933dK7-0Eey_rE,3652
|
|
188
188
|
cognite/neat/utils/time_.py,sha256=O30LUiDH9TdOYz8_a9pFqTtJdg8vEjC3qHCk8xZblG8,345
|
|
189
189
|
cognite/neat/utils/upload.py,sha256=7yQZZM1SFEC-Dhl12rQD_8gUoRKLwmWhNjsImVB18og,4015
|
|
190
190
|
cognite/neat/utils/xml_.py,sha256=ppLT3lQKVp8wOP-m8-tFY8uB2P4R76l7R_-kUtsABng,992
|
|
191
191
|
cognite/neat/workflows/__init__.py,sha256=oiKub_U9f5cA0I1nKl5dFkR4BD8_6Be9eMzQ_50PwP0,396
|
|
192
|
-
cognite/neat/workflows/
|
|
193
|
-
cognite/neat/workflows/
|
|
194
|
-
cognite/neat/workflows/cdf_store.py,sha256=HCn76PJ7_vrBeTtBv9GDBH77B7wCzVnH13AoS2lu9aA,18016
|
|
192
|
+
cognite/neat/workflows/base.py,sha256=pWsUCtHVjdDe_N_pbQpmYLji-iN2U-H1G13aJbAXy7M,26829
|
|
193
|
+
cognite/neat/workflows/cdf_store.py,sha256=Ao6YnZ5wnZtP1wdnDQM7Hj2G7NqtLzBOKn4LJQS-8AU,18047
|
|
195
194
|
cognite/neat/workflows/examples/Export_DMS/workflow.yaml,sha256=XmyaUAsZrN-GnoBejg9eXHQBm1U1Z-NhdKc11Wm1ieM,1987
|
|
196
195
|
cognite/neat/workflows/examples/Import_DMS/workflow.yaml,sha256=i7FeD0dzUBhzorjMgo7v1mjShhgsEpobbxIAL-czt34,1364
|
|
197
196
|
cognite/neat/workflows/examples/Validate_Rules/workflow.yaml,sha256=lmuC-zttewtZl5EjnUv8RuM9t2dC-F053duNQHKoPGg,1395
|
|
@@ -201,24 +200,24 @@ cognite/neat/workflows/examples/Visualize_Semantic_Data_Model/workflow.yaml,sha2
|
|
|
201
200
|
cognite/neat/workflows/manager.py,sha256=CtxnabAmZq4APd5XA6FTBlytP3WmlbKNGjNoR04uAQ4,14102
|
|
202
201
|
cognite/neat/workflows/model.py,sha256=LQY7abYnz3CUEIlIEqoj0Eo6Q8yQukTQ0S_sPststCA,6570
|
|
203
202
|
cognite/neat/workflows/steps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
204
|
-
cognite/neat/workflows/steps/data_contracts.py,sha256=
|
|
203
|
+
cognite/neat/workflows/steps/data_contracts.py,sha256=RobxctwAOxdOYdPf6jEkMj9KSTJjj4Cf__oOr5Ge2rs,2467
|
|
205
204
|
cognite/neat/workflows/steps/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
206
205
|
cognite/neat/workflows/steps/lib/current/__init__.py,sha256=c22IznGdCSNCpXCi_yonlbbywJE1uj6bfVCv0X2LYeE,225
|
|
207
|
-
cognite/neat/workflows/steps/lib/current/graph_extractor.py,sha256=
|
|
208
|
-
cognite/neat/workflows/steps/lib/current/graph_loader.py,sha256=
|
|
209
|
-
cognite/neat/workflows/steps/lib/current/graph_store.py,sha256=
|
|
210
|
-
cognite/neat/workflows/steps/lib/current/rules_exporter.py,sha256=
|
|
211
|
-
cognite/neat/workflows/steps/lib/current/rules_importer.py,sha256=
|
|
212
|
-
cognite/neat/workflows/steps/lib/current/rules_validator.py,sha256=
|
|
206
|
+
cognite/neat/workflows/steps/lib/current/graph_extractor.py,sha256=VHZpeo-QB_qSJu2QuU9uISFgw8LgQGeMVvSc1KORw3c,4738
|
|
207
|
+
cognite/neat/workflows/steps/lib/current/graph_loader.py,sha256=4FxE7A0ZCSwGmVP-dcWISwupBQo6TZzUr_1GMQ0klIM,1689
|
|
208
|
+
cognite/neat/workflows/steps/lib/current/graph_store.py,sha256=UydcYMoF2d2m8gOKAtlul8yCfKS3jFJJCTF2psM2flg,1582
|
|
209
|
+
cognite/neat/workflows/steps/lib/current/rules_exporter.py,sha256=qLMlB3MqTZhD5q9A8YypksUQ7kOhwi6qGnNXdky_G9w,27752
|
|
210
|
+
cognite/neat/workflows/steps/lib/current/rules_importer.py,sha256=ytyIDg9_2AZWxMvH1rE044QI8jab5kdHNR-FKyKBaXE,17978
|
|
211
|
+
cognite/neat/workflows/steps/lib/current/rules_validator.py,sha256=phHSwyZzWQ0QK-2CFKUmFCQJU5lrWuZjmaDJUH8UYVg,5046
|
|
213
212
|
cognite/neat/workflows/steps/lib/io/__init__.py,sha256=k7IPbIq3ey19oRc5sA_15F99-O6dxzqbm1LihGRRo5A,32
|
|
214
|
-
cognite/neat/workflows/steps/lib/io/io_steps.py,sha256=
|
|
213
|
+
cognite/neat/workflows/steps/lib/io/io_steps.py,sha256=N4d5lCh7UwBlVj-jL3RQEVA-NznfCUfT19Oh7kDIko0,16931
|
|
215
214
|
cognite/neat/workflows/steps/step_model.py,sha256=bYX0PhlW-B76fBksBPENGGf8foOT6gvJL-2aUO5JimY,2943
|
|
216
|
-
cognite/neat/workflows/steps_registry.py,sha256=
|
|
215
|
+
cognite/neat/workflows/steps_registry.py,sha256=FjMsFBlFFy82ABUzDnWoFidYODV3pp3c7x32U-FqU0I,10722
|
|
217
216
|
cognite/neat/workflows/tasks.py,sha256=dqlJwKAb0jlkl7abbY8RRz3m7MT4SK8-7cntMWkOYjw,788
|
|
218
217
|
cognite/neat/workflows/triggers.py,sha256=_BLNplzoz0iic367u1mhHMHiUrCwP-SLK6_CZzfODX0,7071
|
|
219
218
|
cognite/neat/workflows/utils.py,sha256=gKdy3RLG7ctRhbCRwaDIWpL9Mi98zm56-d4jfHDqP1E,453
|
|
220
|
-
cognite_neat-0.
|
|
221
|
-
cognite_neat-0.
|
|
222
|
-
cognite_neat-0.
|
|
223
|
-
cognite_neat-0.
|
|
224
|
-
cognite_neat-0.
|
|
219
|
+
cognite_neat-0.89.0.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
|
|
220
|
+
cognite_neat-0.89.0.dist-info/METADATA,sha256=Clo2UFQRsNCKjslhU42UhpuMSU4HvN1Kvj0Od0BYbm4,9441
|
|
221
|
+
cognite_neat-0.89.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
222
|
+
cognite_neat-0.89.0.dist-info/entry_points.txt,sha256=61FPqiWb25vbqB0KI7znG8nsg_ibLHBvTjYnkPvNFso,50
|
|
223
|
+
cognite_neat-0.89.0.dist-info/RECORD,,
|
cognite/neat/exceptions.py
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
from typing import Any
|
|
2
|
-
from warnings import WarningMessage
|
|
3
|
-
|
|
4
|
-
from pydantic_core import ErrorDetails, PydanticCustomError
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class NeatException(Exception):
|
|
8
|
-
"""Base class for all exceptions raised by NEAT."""
|
|
9
|
-
|
|
10
|
-
type_: str
|
|
11
|
-
code: int
|
|
12
|
-
description: str
|
|
13
|
-
example: str
|
|
14
|
-
fix: str
|
|
15
|
-
message: str
|
|
16
|
-
|
|
17
|
-
def to_pydantic_custom_error(self):
|
|
18
|
-
return PydanticCustomError(
|
|
19
|
-
self.type_,
|
|
20
|
-
self.message,
|
|
21
|
-
dict(type_=self.type_, code=self.code, description=self.description, example=self.example, fix=self.fix),
|
|
22
|
-
)
|
|
23
|
-
|
|
24
|
-
def to_error_dict(self) -> ErrorDetails:
|
|
25
|
-
return {
|
|
26
|
-
"type": self.type_,
|
|
27
|
-
"loc": (),
|
|
28
|
-
"msg": self.message,
|
|
29
|
-
"input": None,
|
|
30
|
-
"ctx": dict(
|
|
31
|
-
type_=self.type_, code=self.code, description=self.description, example=self.example, fix=self.fix
|
|
32
|
-
),
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
class NeatWarning(UserWarning):
|
|
37
|
-
type_: str
|
|
38
|
-
code: int
|
|
39
|
-
description: str
|
|
40
|
-
example: str
|
|
41
|
-
fix: str
|
|
42
|
-
message: str
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
class NeatImportError(NeatException):
|
|
46
|
-
"""Cognite Import Error
|
|
47
|
-
|
|
48
|
-
Raised if the user attempts to use functionality which requires an uninstalled package.
|
|
49
|
-
|
|
50
|
-
Args:
|
|
51
|
-
module (str): Name of the module which could not be imported
|
|
52
|
-
extra (str): The name of the extra you use to install it with neat.
|
|
53
|
-
"""
|
|
54
|
-
|
|
55
|
-
type_: str = "NeatImportError"
|
|
56
|
-
code: int = 0
|
|
57
|
-
description: str = "Raised if the user attempts to use functionality which requires an uninstalled package."
|
|
58
|
-
example: str = ""
|
|
59
|
-
fix: str = ""
|
|
60
|
-
|
|
61
|
-
def __init__(self, module: str, extra: str, verbose=False):
|
|
62
|
-
self.module = module
|
|
63
|
-
self.message = (
|
|
64
|
-
f"This functionality requires {self.module}. "
|
|
65
|
-
f'You can include it in your neat installation with `pip install "cognite-neat[{extra}]"`.'
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
if verbose:
|
|
69
|
-
self.message += f"\nDescription: {self.description}"
|
|
70
|
-
self.message += f"\nExample: {self.example}"
|
|
71
|
-
self.message += f"\nFix: {self.fix}"
|
|
72
|
-
super().__init__(self.message)
|
|
73
|
-
|
|
74
|
-
def __str__(self) -> str:
|
|
75
|
-
return self.message
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class InvalidWorkFlowError(NeatException):
|
|
79
|
-
"""InvalidWorkFlowError
|
|
80
|
-
Raised if an invalid workflow is provided to the Workflow Manager.
|
|
81
|
-
Args:
|
|
82
|
-
step_name (str): Name of the step which could not be run
|
|
83
|
-
missing_data (list[str]): The missing data for the step.
|
|
84
|
-
"""
|
|
85
|
-
|
|
86
|
-
type_: str = "InvalidWorkFlowError"
|
|
87
|
-
code: int = 1
|
|
88
|
-
description: str = "Raised if an invalid workflow is provided to the Workflow Manager."
|
|
89
|
-
example: str = ""
|
|
90
|
-
fix: str = ""
|
|
91
|
-
|
|
92
|
-
def __init__(self, step_name, missing_data: list[str], verbose=False):
|
|
93
|
-
self.message = f"In the workflow step {step_name} the following data is missing: {missing_data}."
|
|
94
|
-
|
|
95
|
-
if verbose:
|
|
96
|
-
self.message += f"\nDescription: {self.description}"
|
|
97
|
-
self.message += f"\nExample: {self.example}"
|
|
98
|
-
self.message += f"\nFix: {self.fix}"
|
|
99
|
-
super().__init__(self.message)
|
|
100
|
-
|
|
101
|
-
def __str__(self) -> str:
|
|
102
|
-
return self.message
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
class NeatValueError(NeatException, ValueError): ...
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
class NeatTypeError(NeatException, TypeError): ...
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
def wrangle_warnings(list_of_warnings: list[WarningMessage]) -> list[dict]:
|
|
112
|
-
warning_list: list[dict] = []
|
|
113
|
-
for warning in list_of_warnings:
|
|
114
|
-
if issubclass(warning.message.__class__, NeatWarning):
|
|
115
|
-
warning_list.append(_neat_warning_to_dict(warning))
|
|
116
|
-
elif issubclass(warning.message.__class__, Warning):
|
|
117
|
-
warning_list.append(_python_warning_to_dict(warning))
|
|
118
|
-
return warning_list
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
def _neat_warning_to_dict(warning: WarningMessage) -> dict:
|
|
122
|
-
category: Any = warning.category
|
|
123
|
-
return {
|
|
124
|
-
"type": category.resource_type,
|
|
125
|
-
"loc": (),
|
|
126
|
-
"msg": str(warning.message),
|
|
127
|
-
"input": None,
|
|
128
|
-
"ctx": dict(
|
|
129
|
-
type_=category.resource_type,
|
|
130
|
-
code=category.code,
|
|
131
|
-
description=category.description,
|
|
132
|
-
example=category.example,
|
|
133
|
-
fix=category.fix,
|
|
134
|
-
),
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
def _python_warning_to_dict(warning: WarningMessage) -> dict:
|
|
139
|
-
return {
|
|
140
|
-
"type": warning.category,
|
|
141
|
-
"loc": (),
|
|
142
|
-
"msg": str(warning.message),
|
|
143
|
-
"input": None,
|
|
144
|
-
"ctx": dict(type_=warning.category, code=None, description=None, example=None, fix=None),
|
|
145
|
-
}
|
cognite/neat/graph/exceptions.py
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
"""This module contains the definition of validation errors and warnings raised during graph methods"""
|
|
2
|
-
|
|
3
|
-
from cognite.neat.constants import DEFAULT_DOCS_URL
|
|
4
|
-
from cognite.neat.exceptions import NeatException
|
|
5
|
-
|
|
6
|
-
DOCS_BASE_URL = f"{DEFAULT_DOCS_URL}api/exceptions.html#{__name__}"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class UnsupportedPropertyType(NeatException):
|
|
10
|
-
"""Unsupported property type when processing the graph capturing sheet
|
|
11
|
-
|
|
12
|
-
Args:
|
|
13
|
-
property_type: property type that is not supported
|
|
14
|
-
verbose: flag that indicates whether to provide enhanced exception message, by default False
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
type_: str = "UnsupportedPropertyType"
|
|
18
|
-
code: int = 1000
|
|
19
|
-
description: str = "Unsupported property type when processing the graph capturing sheet."
|
|
20
|
-
example: str = ""
|
|
21
|
-
fix: str = ""
|
|
22
|
-
|
|
23
|
-
def __init__(self, property_type: str, verbose: bool = False):
|
|
24
|
-
self.property_type = property_type
|
|
25
|
-
|
|
26
|
-
self.message = (
|
|
27
|
-
f"Property type {self.property_type} is not supported. "
|
|
28
|
-
" Only the following property types are supported: DatatypeProperty and ObjectProperty"
|
|
29
|
-
f"\nFor more information visit: {DOCS_BASE_URL}.{self.__class__.__name__}"
|
|
30
|
-
)
|
|
31
|
-
|
|
32
|
-
if verbose:
|
|
33
|
-
self.message += f"\nDescription: {self.description}"
|
|
34
|
-
self.message += f"\nExample: {self.example}"
|
|
35
|
-
self.message += f"\nFix: {self.fix}"
|
|
36
|
-
super().__init__(self.message)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class NamespaceRequired(NeatException):
|
|
40
|
-
"""The functionality requires namespace in the TransformationRules.
|
|
41
|
-
|
|
42
|
-
Args:
|
|
43
|
-
functionality: functionality that requires namespace
|
|
44
|
-
verbose: flag that indicates whether to provide enhanced exception message, by default False
|
|
45
|
-
"""
|
|
46
|
-
|
|
47
|
-
type_ = "NamespaceRequired"
|
|
48
|
-
description: str = "The functionality requires namespace in the TransformationRules."
|
|
49
|
-
example: str = ""
|
|
50
|
-
fix: str = ""
|
|
51
|
-
|
|
52
|
-
def __init__(self, functionality: str, verbose: bool = False):
|
|
53
|
-
self.message = (
|
|
54
|
-
f"Namespace is required to be set in the Transformation rules"
|
|
55
|
-
f"to use {functionality}."
|
|
56
|
-
f"\nFor more information visit: {DOCS_BASE_URL}.{self.__class__.__name__}"
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
if verbose:
|
|
60
|
-
self.message += f"\nDescription: {self.description}"
|
|
61
|
-
self.message += f"\nExample: {self.example}"
|
|
62
|
-
self.message += f"\nFix: {self.fix}"
|
|
63
|
-
super().__init__(self.message)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
class DatasetIdRequired(NeatException):
|
|
67
|
-
"""The functionality requires data_set_id in the TransformationRules.
|
|
68
|
-
|
|
69
|
-
Args:
|
|
70
|
-
functionality: functionality that requires namespace
|
|
71
|
-
verbose: flag that indicates whether to provide enhanced exception message, by default False
|
|
72
|
-
"""
|
|
73
|
-
|
|
74
|
-
type_ = "DatasetIdRequired"
|
|
75
|
-
description: str = "The functionality requires data_set_id in the TransformationRules."
|
|
76
|
-
example: str = ""
|
|
77
|
-
fix: str = ""
|
|
78
|
-
|
|
79
|
-
def __init__(self, functionality: str, verbose: bool = False):
|
|
80
|
-
self.message = (
|
|
81
|
-
f"DataSetId is required to be set in the Transformation rules"
|
|
82
|
-
f"to use {functionality}."
|
|
83
|
-
f"\nFor more information visit: {DOCS_BASE_URL}.{self.__class__.__name__}"
|
|
84
|
-
)
|
|
85
|
-
|
|
86
|
-
if verbose:
|
|
87
|
-
self.message += f"\nDescription: {self.description}"
|
|
88
|
-
self.message += f"\nExample: {self.example}"
|
|
89
|
-
self.message += f"\nFix: {self.fix}"
|
|
90
|
-
super().__init__(self.message)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
from dataclasses import dataclass
|
|
2
|
-
from typing import Any
|
|
3
|
-
|
|
4
|
-
from cognite.neat.issues import NeatError
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@dataclass(frozen=True)
|
|
8
|
-
class FailedAuthorizationError(NeatError):
|
|
9
|
-
description = "Missing authorization for {action}: {reason}"
|
|
10
|
-
|
|
11
|
-
action: str
|
|
12
|
-
reason: str
|
|
13
|
-
|
|
14
|
-
def message(self) -> str:
|
|
15
|
-
return self.description.format(action=self.action, reason=self.reason)
|
|
16
|
-
|
|
17
|
-
def dump(self) -> dict[str, Any]:
|
|
18
|
-
output = super().dump()
|
|
19
|
-
output["action"] = self.action
|
|
20
|
-
output["reason"] = self.reason
|
|
21
|
-
return output
|