cognite-toolkit 0.7.70__py3-none-any.whl → 0.7.72__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.
- cognite_toolkit/_cdf_tk/client/_resource_base.py +0 -22
- cognite_toolkit/_cdf_tk/client/_toolkit_client.py +0 -2
- cognite_toolkit/_cdf_tk/client/api/infield.py +56 -204
- cognite_toolkit/_cdf_tk/client/api/instances.py +239 -16
- cognite_toolkit/_cdf_tk/client/api/robotics_capabilities.py +9 -3
- cognite_toolkit/_cdf_tk/client/api/robotics_data_postprocessing.py +12 -3
- cognite_toolkit/_cdf_tk/client/api/robotics_frames.py +10 -3
- cognite_toolkit/_cdf_tk/client/api/robotics_locations.py +10 -3
- cognite_toolkit/_cdf_tk/client/api/robotics_maps.py +10 -3
- cognite_toolkit/_cdf_tk/client/api/robotics_robots.py +10 -3
- cognite_toolkit/_cdf_tk/client/cdf_client/responses.py +3 -3
- cognite_toolkit/_cdf_tk/client/http_client/_client.py +1 -1
- cognite_toolkit/_cdf_tk/client/resource_classes/infield.py +133 -72
- cognite_toolkit/_cdf_tk/client/resource_classes/instance_api.py +119 -79
- cognite_toolkit/_cdf_tk/client/testing.py +14 -16
- cognite_toolkit/_cdf_tk/cruds/_resource_cruds/fieldops.py +45 -46
- cognite_toolkit/_cdf_tk/cruds/_resource_cruds/robotics.py +154 -160
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml +1 -1
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml +1 -1
- cognite_toolkit/_resources/cdf.toml +1 -1
- cognite_toolkit/_version.py +1 -1
- {cognite_toolkit-0.7.70.dist-info → cognite_toolkit-0.7.72.dist-info}/METADATA +1 -1
- {cognite_toolkit-0.7.70.dist-info → cognite_toolkit-0.7.72.dist-info}/RECORD +25 -35
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/__init__.py +0 -8
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/api.py +0 -20
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/capabilities.py +0 -142
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/data_postprocessing.py +0 -144
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/frames.py +0 -136
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/locations.py +0 -136
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/maps.py +0 -136
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/robots.py +0 -132
- cognite_toolkit/_cdf_tk/client/api/legacy/robotics/utlis.py +0 -13
- cognite_toolkit/_cdf_tk/client/resource_classes/legacy/robotics.py +0 -970
- {cognite_toolkit-0.7.70.dist-info → cognite_toolkit-0.7.72.dist-info}/WHEEL +0 -0
- {cognite_toolkit-0.7.70.dist-info → cognite_toolkit-0.7.72.dist-info}/entry_points.txt +0 -0
|
@@ -29,8 +29,8 @@ cognite_toolkit/_cdf_tk/builders/_transformation.py,sha256=STB42zhzOW5M_-b8cKOQ_
|
|
|
29
29
|
cognite_toolkit/_cdf_tk/cdf_toml.py,sha256=VSWV9h44HusWIaKpWgjrOMrc3hDoPTTXBXlp6-NOrIM,9079
|
|
30
30
|
cognite_toolkit/_cdf_tk/client/__init__.py,sha256=a6rQXDGfW2g7K5WwrOW5oakh1TdFlBjUVjf9wusOox8,135
|
|
31
31
|
cognite_toolkit/_cdf_tk/client/_constants.py,sha256=COUGcea37mDF2sf6MGqJXWmecTY_6aCImslxXrYW1I0,73
|
|
32
|
-
cognite_toolkit/_cdf_tk/client/_resource_base.py,sha256=
|
|
33
|
-
cognite_toolkit/_cdf_tk/client/_toolkit_client.py,sha256=
|
|
32
|
+
cognite_toolkit/_cdf_tk/client/_resource_base.py,sha256=u8LEosIrcWsi7MnsOBEjBr_S8nFybX1W5fry0PInf18,6394
|
|
33
|
+
cognite_toolkit/_cdf_tk/client/_toolkit_client.py,sha256=sgDgFhsfoB5hgsaYAy9OuWYp3njZoun6-EcLhJkvOhw,5120
|
|
34
34
|
cognite_toolkit/_cdf_tk/client/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
cognite_toolkit/_cdf_tk/client/api/agents.py,sha256=XtwYBKXZt_oyBmF0vVKyILrkVngd_YcgwMQPeI6w7Eo,3885
|
|
36
36
|
cognite_toolkit/_cdf_tk/client/api/annotations.py,sha256=8k0fsLeSExh2Sxu_8VVXgvLxMJl1CX13yQ-HrtRxtFw,4634
|
|
@@ -50,8 +50,8 @@ cognite_toolkit/_cdf_tk/client/api/hosted_extractor_jobs.py,sha256=l46ocQlWFEMqx
|
|
|
50
50
|
cognite_toolkit/_cdf_tk/client/api/hosted_extractor_mappings.py,sha256=bqPRiAuaNMm35NPwtZ10WTcmshnrZcMSfa322Rav3eo,5084
|
|
51
51
|
cognite_toolkit/_cdf_tk/client/api/hosted_extractor_sources.py,sha256=1gOm6HJ_oBj0ub-QPJqiod_yxBdmF_R3sOAFbhN2a88,5510
|
|
52
52
|
cognite_toolkit/_cdf_tk/client/api/hosted_extractors.py,sha256=sjo9M98_SNXoIcM1nYR8qPLhtP9zT64bd-7jt6leWYI,1004
|
|
53
|
-
cognite_toolkit/_cdf_tk/client/api/infield.py,sha256=
|
|
54
|
-
cognite_toolkit/_cdf_tk/client/api/instances.py,sha256=
|
|
53
|
+
cognite_toolkit/_cdf_tk/client/api/infield.py,sha256=ny8fBmbqTRg2aaCEdQ7JojjAvRII4TRfrkypteKlF5Q,4530
|
|
54
|
+
cognite_toolkit/_cdf_tk/client/api/instances.py,sha256=QmLd86-4i39k5j1qcx3YRuTwNTVsrCfU2ch3a-dkiLQ,16134
|
|
55
55
|
cognite_toolkit/_cdf_tk/client/api/labels.py,sha256=3gjJKJWfARA1yWehM2SyMY-B07-gclGUkAzeXiVnfJQ,4341
|
|
56
56
|
cognite_toolkit/_cdf_tk/client/api/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
57
|
cognite_toolkit/_cdf_tk/client/api/legacy/canvas.py,sha256=Xyded-e7dqu-l2PR3U9PZ3maSKyjH56ApTJTpCPAh08,9313
|
|
@@ -64,15 +64,6 @@ cognite_toolkit/_cdf_tk/client/api/legacy/extended_raw.py,sha256=Z_vk_nox9uYecOW
|
|
|
64
64
|
cognite_toolkit/_cdf_tk/client/api/legacy/extended_timeseries.py,sha256=Pj9B-u3UxndidSzJqQnm0g3tGZUGj_bBgsS4INdGpxA,17809
|
|
65
65
|
cognite_toolkit/_cdf_tk/client/api/legacy/fixed_transformations.py,sha256=m66cqbx4oCtjv5TBQOWLNFrz475qVTCXBu_pTxbdCD4,5589
|
|
66
66
|
cognite_toolkit/_cdf_tk/client/api/legacy/location_filters.py,sha256=oovQV-hCNzdWjVkGHHvY6l4yLYw5CT-y_mcmBXCttmE,3770
|
|
67
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/__init__.py,sha256=3CFZz_nfOEsHohsaj0d3oWYM6OxdErIsS7i8nEE64-c,329
|
|
68
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/api.py,sha256=o_wQLlctAY4pkwJhcXcPnox3YC_kQmUFezQhjR76jrU,981
|
|
69
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/capabilities.py,sha256=tEAAzVS9-Hm-HiPCJ2zd2tAFPdVGy_iT2PFmf8NjJWs,4440
|
|
70
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/data_postprocessing.py,sha256=gSMU_7sH_8_oWyTwnLk3FvGPZ61OgW9f2UtxainnpCg,4651
|
|
71
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/frames.py,sha256=fF-yhBhrCSE3vpScQn0cSIc8D2SJLuIRWSybjDmLw6s,3754
|
|
72
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/locations.py,sha256=ceEfAHFu-HI20kas_OjJO03B9gv2P9B06fzZ4vpXC2k,3976
|
|
73
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/maps.py,sha256=08J3cXEeAdPdxfb0ARgUnX2NCRljZsyzJb8L0kLbjFQ,3606
|
|
74
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/robots.py,sha256=AebJdlo4ydYWBzIItZTqzq2SzcChTw985MIt8nOD80U,4044
|
|
75
|
-
cognite_toolkit/_cdf_tk/client/api/legacy/robotics/utlis.py,sha256=EMwyrIb9CfM1q6HAfPe6qqfmE1Gdm_UiM8XicsbEAzE,329
|
|
76
67
|
cognite_toolkit/_cdf_tk/client/api/legacy/search_config.py,sha256=dArd1eApJz8uvtNnHMODwNpZrkFDagaXHrukeELOJtk,1852
|
|
77
68
|
cognite_toolkit/_cdf_tk/client/api/location_filters.py,sha256=TBoIUCGbJC7vLn6SYXwRmqE1Y0m9_0kmullCkrKa6YM,6866
|
|
78
69
|
cognite_toolkit/_cdf_tk/client/api/lookup.py,sha256=c-cvtgfGGGYyk8ROcJu44qlo1ocqbk0o1zafCql79fU,17652
|
|
@@ -81,12 +72,12 @@ cognite_toolkit/_cdf_tk/client/api/project.py,sha256=IN6F2oWT_GBaNQhW8fWoVr-GBQM
|
|
|
81
72
|
cognite_toolkit/_cdf_tk/client/api/raw.py,sha256=MiFubP5b1F45yr0uTfb7V2aMVezuwKXQiueV_LkTgZs,7700
|
|
82
73
|
cognite_toolkit/_cdf_tk/client/api/relationships.py,sha256=RpKav2wWoEmSfGNLsi_3Zh0yyEZ7XlmmKJyhUOlGIjg,4983
|
|
83
74
|
cognite_toolkit/_cdf_tk/client/api/robotics.py,sha256=N32x6d4s4RNLrotAiYzBQMmXKRGS0pefjoQGkBmbSPI,969
|
|
84
|
-
cognite_toolkit/_cdf_tk/client/api/robotics_capabilities.py,sha256=
|
|
85
|
-
cognite_toolkit/_cdf_tk/client/api/robotics_data_postprocessing.py,sha256=
|
|
86
|
-
cognite_toolkit/_cdf_tk/client/api/robotics_frames.py,sha256=
|
|
87
|
-
cognite_toolkit/_cdf_tk/client/api/robotics_locations.py,sha256=
|
|
88
|
-
cognite_toolkit/_cdf_tk/client/api/robotics_maps.py,sha256=
|
|
89
|
-
cognite_toolkit/_cdf_tk/client/api/robotics_robots.py,sha256=
|
|
75
|
+
cognite_toolkit/_cdf_tk/client/api/robotics_capabilities.py,sha256=vd9qo9aYm-Y-p448cPRdq80uIPaWq-EK2Kaeob9YvN0,5112
|
|
76
|
+
cognite_toolkit/_cdf_tk/client/api/robotics_data_postprocessing.py,sha256=Z0KBt037SO8gh4q5nKIbdV-LljJ1PCx0TdZLYeVEQxk,5790
|
|
77
|
+
cognite_toolkit/_cdf_tk/client/api/robotics_frames.py,sha256=PEdqgPjYcGEEiaW93GGsXKOtxxNzZnLQlZdQoawctUA,4942
|
|
78
|
+
cognite_toolkit/_cdf_tk/client/api/robotics_locations.py,sha256=EgvQm_sR3K_chonmdJ-t29CtswuJpJZGua5U9P1xEmw,5104
|
|
79
|
+
cognite_toolkit/_cdf_tk/client/api/robotics_maps.py,sha256=H9KICYhT8irrlz95w2NL1Q8ejkzcHlwjDV88HOX9ZFQ,4868
|
|
80
|
+
cognite_toolkit/_cdf_tk/client/api/robotics_robots.py,sha256=L_BNUpYHqODFBekhDk6aLHgYls1Bm-qNQo2C3OAuqLQ,4810
|
|
90
81
|
cognite_toolkit/_cdf_tk/client/api/search.py,sha256=wl6MjmkELCWmkXf9yYM03LElLC5l0_DwwifsZc_tXSg,694
|
|
91
82
|
cognite_toolkit/_cdf_tk/client/api/search_config.py,sha256=UwreiuDY4bjDTJ6OY4gEePtnfBCvlPSxea7w2CKhkNM,3606
|
|
92
83
|
cognite_toolkit/_cdf_tk/client/api/security_categories.py,sha256=Sn_GTl6S58mqIqUuovyMjHf8tEVM73S7Dp4lFD-XPv8,3577
|
|
@@ -107,10 +98,10 @@ cognite_toolkit/_cdf_tk/client/api/workflows.py,sha256=aMZtNR5Q5dlvVK_TkSlpmdgh3
|
|
|
107
98
|
cognite_toolkit/_cdf_tk/client/api_client.py,sha256=CQdD_gfDqQkz5OYHrTnKvBvEvzHPdHDB1BkZPWRoahg,440
|
|
108
99
|
cognite_toolkit/_cdf_tk/client/cdf_client/__init__.py,sha256=jTu-l5BjBWOyQdhYMk9n9JFG7sN_xlCyC8X9KcYPReI,225
|
|
109
100
|
cognite_toolkit/_cdf_tk/client/cdf_client/api.py,sha256=ThRChQU-56zlfgxi6h_cALBr7kEd8Q_Nt03pvRCBHWs,14535
|
|
110
|
-
cognite_toolkit/_cdf_tk/client/cdf_client/responses.py,sha256=
|
|
101
|
+
cognite_toolkit/_cdf_tk/client/cdf_client/responses.py,sha256=0K_19_jXgTx_d657ldrytikv8ScGvW4EltOFrsB9raU,1056
|
|
111
102
|
cognite_toolkit/_cdf_tk/client/config.py,sha256=weMR43z-gqHMn-Jqvfmh_nJ0HbgEdyeCGtISuEf3OuY,4269
|
|
112
103
|
cognite_toolkit/_cdf_tk/client/http_client/__init__.py,sha256=_B_eB9yZ97ctfWFNrrK722R-WkMbktZECeiqZlUUee8,674
|
|
113
|
-
cognite_toolkit/_cdf_tk/client/http_client/_client.py,sha256=
|
|
104
|
+
cognite_toolkit/_cdf_tk/client/http_client/_client.py,sha256=dUC-8XsKwBelQbMFbyK_fOEh5qeu9HsNrWSJgdWXt44,15865
|
|
114
105
|
cognite_toolkit/_cdf_tk/client/http_client/_data_classes.py,sha256=BX7_itzaKm9oXl-cQroTn6wZHb-b8EEFddsEYxfMuw4,5414
|
|
115
106
|
cognite_toolkit/_cdf_tk/client/http_client/_exception.py,sha256=9dE5tm1qTviG93JppLql6ltlmAgm8TxWh9wWPdm0ITA,428
|
|
116
107
|
cognite_toolkit/_cdf_tk/client/http_client/_item_classes.py,sha256=Jjbvt0HjR9kcDpmFXsVRtwJvQqvEq6UOJO9xutSibr8,4454
|
|
@@ -163,8 +154,8 @@ cognite_toolkit/_cdf_tk/client/resource_classes/hosted_extractor_source/_kafka.p
|
|
|
163
154
|
cognite_toolkit/_cdf_tk/client/resource_classes/hosted_extractor_source/_mqtt.py,sha256=RJhR5eAEkRt8Ze2r0vwmEZ-2azbDxQSlmUFxD1o2Ovk,1265
|
|
164
155
|
cognite_toolkit/_cdf_tk/client/resource_classes/hosted_extractor_source/_rest.py,sha256=OSiPMEH_dMCUC3L1QpIOmJSXyYYRlqt-_lHZpPTv9Sw,1729
|
|
165
156
|
cognite_toolkit/_cdf_tk/client/resource_classes/identifiers.py,sha256=Bu_pgcuRQAQxG8jQAKh1Kn1XuUU0MM421I0ydzj9jSk,1990
|
|
166
|
-
cognite_toolkit/_cdf_tk/client/resource_classes/infield.py,sha256=
|
|
167
|
-
cognite_toolkit/_cdf_tk/client/resource_classes/instance_api.py,sha256
|
|
157
|
+
cognite_toolkit/_cdf_tk/client/resource_classes/infield.py,sha256=hpL79vuvKOVWap0GNr-VYxdqBQvvuu3EPQDL7a-MrjU,6932
|
|
158
|
+
cognite_toolkit/_cdf_tk/client/resource_classes/instance_api.py,sha256=L5Qe6hqqFEIrw6JGK2DFvjQRH8N8fbJXFeQ51c5VH8s,7803
|
|
168
159
|
cognite_toolkit/_cdf_tk/client/resource_classes/label.py,sha256=-w7VxTOmHZkgiEjQ-trGY2JOWo-ZU4nqhmM2UrpkhEI,650
|
|
169
160
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
170
161
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/apm_config_v1.py,sha256=0bPq7R0qvdf8SMFS06kX7TXHIClDcJNHwdTBweQB-GU,20150
|
|
@@ -182,7 +173,6 @@ cognite_toolkit/_cdf_tk/client/resource_classes/legacy/migration.py,sha256=AoYgq
|
|
|
182
173
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/pending_instances_ids.py,sha256=W99jhHMLzW_0TvZoaeeaeWXljN9GjuXPoFO-SRjsd-s,1888
|
|
183
174
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/project.py,sha256=y0rcIZvoTf5b3LPgz9ufUU2UTkDTyzz-HmNgH6cXRNA,1226
|
|
184
175
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/raw.py,sha256=CfFqUKP9_b3yg_1br6fwpkZsmGbMmbj5_D3P6HwoIvQ,14708
|
|
185
|
-
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/robotics.py,sha256=1hlcuFANJW_uRwJsp_dDxV43VVdHidyJiIb2wlbXtkg,36055
|
|
186
176
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/search_config.py,sha256=Reo_rcFrwk_sWEtIGd87UNgD0k3Zy8f52XIjkiPxGG8,8155
|
|
187
177
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/sequences.py,sha256=02d34fPcJ1H7U5ZnCCfOi36z5WJ4WnRfCWwkp99mW2E,6234
|
|
188
178
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/streamlit_.py,sha256=nEk00FH3i-px2r6ql4kk1VVL4sytjUn0_sTkEdDSHVc,6746
|
|
@@ -212,7 +202,7 @@ cognite_toolkit/_cdf_tk/client/resource_classes/transformation.py,sha256=20W9OJQ
|
|
|
212
202
|
cognite_toolkit/_cdf_tk/client/resource_classes/workflow.py,sha256=OGTNOZNA6xFDzimRIBYj935RYWYBv863tGXplSVAdMQ,687
|
|
213
203
|
cognite_toolkit/_cdf_tk/client/resource_classes/workflow_trigger.py,sha256=NCuH4RKbOblDJ0v_T-n9_MxxX2jpAEG5nt-qXprOle4,1558
|
|
214
204
|
cognite_toolkit/_cdf_tk/client/resource_classes/workflow_version.py,sha256=K0lJulTc8zg7-fB7Q2wDqAA6Qy9oTrhUD2WgLHlC5S8,4246
|
|
215
|
-
cognite_toolkit/_cdf_tk/client/testing.py,sha256=
|
|
205
|
+
cognite_toolkit/_cdf_tk/client/testing.py,sha256=1frcpC37GRTLBt2tJ1JzAr0_Vt7XuffomMgGrVNZA5Q,10242
|
|
216
206
|
cognite_toolkit/_cdf_tk/client/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
217
207
|
cognite_toolkit/_cdf_tk/client/utils/_concurrency.py,sha256=3GtQbKDaosyKHEt-KzxKK9Yie4TvZPdoou2vUk6dUa8,2298
|
|
218
208
|
cognite_toolkit/_cdf_tk/client/utils/_http_client.py,sha256=oXNKrIaizG4WiSAhL_kSCHAuL4aaaEhCU4pOJGxh6Xs,483
|
|
@@ -272,7 +262,7 @@ cognite_toolkit/_cdf_tk/cruds/_resource_cruds/configuration.py,sha256=Yargg3pzjf
|
|
|
272
262
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/data_organization.py,sha256=U0ItuoNr1KEtoFQAiIe-K19_72ht9-kGndFVgF-iC10,9524
|
|
273
263
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/datamodel.py,sha256=Deyx0iAxiGmw3jLuTA03Yf9Vx1YzehGSnOtg7i0JBPE,64878
|
|
274
264
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/extraction_pipeline.py,sha256=yzRGAp1h7G0LN1ix81ZXpq-QZw0qHAjlW8aNaI0ehT8,17712
|
|
275
|
-
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/fieldops.py,sha256=
|
|
265
|
+
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/fieldops.py,sha256=yiMjkr1d0Dgw4WRMIk0XhGzvd-Rqo3Kd0wfBfbZV89A,20762
|
|
276
266
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/file.py,sha256=LvlukwvRIQm8cX-YWfTGVjO74ZnPMDGv3m5Cd7pfgx8,14977
|
|
277
267
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/function.py,sha256=OSJlIiqyBqbSiEf4w7EGflMAk9Yvc96J3VFkYZlk3zw,29605
|
|
278
268
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/group_scoped.py,sha256=WEg8-CxMP64WfE_XXIlH114zM51K0uLaYa4atd992zI,1690
|
|
@@ -282,7 +272,7 @@ cognite_toolkit/_cdf_tk/cruds/_resource_cruds/location.py,sha256=sOZunu027t-2ocu
|
|
|
282
272
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/migration.py,sha256=8-7QgL4g-DMJHwBbOFAg4QscMNA1RMCqHfZYQlSNKU4,4467
|
|
283
273
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/raw.py,sha256=T_j0vJp8URJGsKeTi_bYvnNtdte_Axw5htmsu0CfG88,12104
|
|
284
274
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/relationship.py,sha256=TO2Y6TZJEGxyKv7EMOtyyALz3Wyigp0mwBSQVTL-D5A,6330
|
|
285
|
-
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/robotics.py,sha256=
|
|
275
|
+
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/robotics.py,sha256=T24aBMldMKCAChIh-yyVtXTdjel3nLtpqHnpVUrkdxA,17284
|
|
286
276
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/simulators.py,sha256=LupOpIf8SCiOGA36T5Gkh-_VGpsI4B_vKjXqp3a9Eyk,5139
|
|
287
277
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/streams.py,sha256=tzloZdY1THodpkWIS4pOyq78ektTg1G7GdIf3A-TiJ4,2712
|
|
288
278
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/three_d_model.py,sha256=5jIRF2JqosVHyAi2Ek6H38K2FWcNqrbPOR6MTSIEAQI,7320
|
|
@@ -432,13 +422,13 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
|
|
|
432
422
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
|
|
433
423
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
|
|
434
424
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
|
|
435
|
-
cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=
|
|
436
|
-
cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=
|
|
437
|
-
cognite_toolkit/_resources/cdf.toml,sha256=
|
|
438
|
-
cognite_toolkit/_version.py,sha256=
|
|
425
|
+
cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=mLX7mk67EbTTuk5nLeBVX5W00Qr5qws3m1rcDhNTS8I,667
|
|
426
|
+
cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=Em2NrLmzSXoC0unS0T7jScoXBvNIwiWiQqjpxrlZAqU,2430
|
|
427
|
+
cognite_toolkit/_resources/cdf.toml,sha256=jUrBs9kaWCqrddLWO98ocy7A96nNsSHx8i4PgnORl7Q,475
|
|
428
|
+
cognite_toolkit/_version.py,sha256=DQjgAhJ7BheUI8L_BTcTxlzhNLRwBDER7brNdQT-_MM,23
|
|
439
429
|
cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
|
|
440
430
|
cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
|
|
441
|
-
cognite_toolkit-0.7.
|
|
442
|
-
cognite_toolkit-0.7.
|
|
443
|
-
cognite_toolkit-0.7.
|
|
444
|
-
cognite_toolkit-0.7.
|
|
431
|
+
cognite_toolkit-0.7.72.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
|
|
432
|
+
cognite_toolkit-0.7.72.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
|
|
433
|
+
cognite_toolkit-0.7.72.dist-info/METADATA,sha256=l8cUtnFpX43L8JVOVMuH9b6dSrNRpAcHTzBYzUtDKB8,5026
|
|
434
|
+
cognite_toolkit-0.7.72.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
from .api import RoboticsAPI
|
|
2
|
-
from .capabilities import CapabilitiesAPI
|
|
3
|
-
from .data_postprocessing import DataPostProcessingAPI
|
|
4
|
-
from .frames import FramesAPI
|
|
5
|
-
from .locations import LocationsAPI
|
|
6
|
-
from .maps import MapsAPI
|
|
7
|
-
|
|
8
|
-
__all__ = ["CapabilitiesAPI", "DataPostProcessingAPI", "FramesAPI", "LocationsAPI", "MapsAPI", "RoboticsAPI"]
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
from cognite.client import ClientConfig, CogniteClient
|
|
2
|
-
from cognite.client._api_client import APIClient
|
|
3
|
-
|
|
4
|
-
from .capabilities import CapabilitiesAPI
|
|
5
|
-
from .data_postprocessing import DataPostProcessingAPI
|
|
6
|
-
from .frames import FramesAPI
|
|
7
|
-
from .locations import LocationsAPI
|
|
8
|
-
from .maps import MapsAPI
|
|
9
|
-
from .robots import RobotsAPI
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class RoboticsAPI(APIClient):
|
|
13
|
-
def __init__(self, config: ClientConfig, api_version: str | None, cognite_client: CogniteClient) -> None:
|
|
14
|
-
super().__init__(config, api_version, cognite_client)
|
|
15
|
-
self.robots = RobotsAPI(config, api_version, cognite_client)
|
|
16
|
-
self.data_postprocessing = DataPostProcessingAPI(config, api_version, cognite_client)
|
|
17
|
-
self.locations = LocationsAPI(config, api_version, cognite_client)
|
|
18
|
-
self.frames = FramesAPI(config, api_version, cognite_client)
|
|
19
|
-
self.maps = MapsAPI(config, api_version, cognite_client)
|
|
20
|
-
self.capabilities = CapabilitiesAPI(config, api_version, cognite_client)
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
from collections.abc import Iterator, Sequence
|
|
2
|
-
from typing import overload
|
|
3
|
-
|
|
4
|
-
from cognite.client._api_client import APIClient
|
|
5
|
-
from cognite.client.utils._identifier import IdentifierSequence
|
|
6
|
-
from cognite.client.utils.useful_types import SequenceNotStr
|
|
7
|
-
|
|
8
|
-
from cognite_toolkit._cdf_tk.client.resource_classes.legacy.robotics import (
|
|
9
|
-
RobotCapability,
|
|
10
|
-
RobotCapabilityList,
|
|
11
|
-
RobotCapabilityWrite,
|
|
12
|
-
_RobotCapabilityUpdate,
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
from .utlis import tmp_disable_gzip
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class CapabilitiesAPI(APIClient):
|
|
19
|
-
_RESOURCE_PATH = "/robotics/capabilities"
|
|
20
|
-
|
|
21
|
-
@overload
|
|
22
|
-
def __call__(self) -> Iterator[RobotCapability]: ...
|
|
23
|
-
|
|
24
|
-
@overload
|
|
25
|
-
def __call__(self, chunk_size: int) -> Iterator[RobotCapabilityList]: ...
|
|
26
|
-
|
|
27
|
-
def __call__(self, chunk_size: int | None = None) -> Iterator[RobotCapability] | Iterator[RobotCapabilityList]:
|
|
28
|
-
"""Iterate over robot capabilities.
|
|
29
|
-
|
|
30
|
-
Args:
|
|
31
|
-
chunk_size: The number of robot capabilities to return in each chunk. None will return all robot capabilities.
|
|
32
|
-
|
|
33
|
-
Yields:
|
|
34
|
-
RobotCapability or RobotCapabilityList
|
|
35
|
-
|
|
36
|
-
"""
|
|
37
|
-
return self._list_generator(
|
|
38
|
-
method="GET", resource_cls=RobotCapability, list_cls=RobotCapabilityList, chunk_size=chunk_size
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
def __iter__(self) -> Iterator[RobotCapability]:
|
|
42
|
-
return self.__call__()
|
|
43
|
-
|
|
44
|
-
@overload
|
|
45
|
-
def create(self, capability: RobotCapabilityWrite) -> RobotCapability: ...
|
|
46
|
-
|
|
47
|
-
@overload
|
|
48
|
-
def create(self, capability: Sequence[RobotCapabilityWrite]) -> RobotCapabilityList: ...
|
|
49
|
-
|
|
50
|
-
def create(
|
|
51
|
-
self, capability: RobotCapabilityWrite | Sequence[RobotCapabilityWrite]
|
|
52
|
-
) -> RobotCapability | RobotCapabilityList:
|
|
53
|
-
"""Create a new robot capability.
|
|
54
|
-
|
|
55
|
-
Args:
|
|
56
|
-
capability: RobotCapabilityWrite or list of RobotCapabilityWrite.
|
|
57
|
-
|
|
58
|
-
Returns:
|
|
59
|
-
RobotCapability object.
|
|
60
|
-
|
|
61
|
-
"""
|
|
62
|
-
with tmp_disable_gzip():
|
|
63
|
-
return self._create_multiple(
|
|
64
|
-
list_cls=RobotCapabilityList,
|
|
65
|
-
resource_cls=RobotCapability,
|
|
66
|
-
items=capability,
|
|
67
|
-
input_resource_cls=RobotCapabilityWrite,
|
|
68
|
-
)
|
|
69
|
-
|
|
70
|
-
@overload
|
|
71
|
-
def retrieve(self, external_id: str) -> RobotCapability | None: ...
|
|
72
|
-
|
|
73
|
-
@overload
|
|
74
|
-
def retrieve(self, external_id: SequenceNotStr[str]) -> RobotCapabilityList: ...
|
|
75
|
-
|
|
76
|
-
def retrieve(self, external_id: str | SequenceNotStr[str]) -> RobotCapability | None | RobotCapabilityList:
|
|
77
|
-
"""Retrieve a robot capability.
|
|
78
|
-
|
|
79
|
-
Args:
|
|
80
|
-
external_id: External id of the robot capability.
|
|
81
|
-
|
|
82
|
-
Returns:
|
|
83
|
-
RobotCapability object.
|
|
84
|
-
|
|
85
|
-
"""
|
|
86
|
-
identifiers = IdentifierSequence.load(external_ids=external_id)
|
|
87
|
-
with tmp_disable_gzip():
|
|
88
|
-
return self._retrieve_multiple(
|
|
89
|
-
identifiers=identifiers,
|
|
90
|
-
resource_cls=RobotCapability,
|
|
91
|
-
list_cls=RobotCapabilityList,
|
|
92
|
-
)
|
|
93
|
-
|
|
94
|
-
@overload
|
|
95
|
-
def update(self, capability: RobotCapabilityWrite) -> RobotCapability: ...
|
|
96
|
-
|
|
97
|
-
@overload
|
|
98
|
-
def update(self, capability: Sequence[RobotCapabilityWrite]) -> RobotCapabilityList: ...
|
|
99
|
-
|
|
100
|
-
def update(
|
|
101
|
-
self, capability: RobotCapabilityWrite | Sequence[RobotCapabilityWrite]
|
|
102
|
-
) -> RobotCapability | RobotCapabilityList:
|
|
103
|
-
"""Update a robot capability.
|
|
104
|
-
|
|
105
|
-
Args:
|
|
106
|
-
capability: RobotCapabilityWrite or list of RobotCapabilityWrite.
|
|
107
|
-
|
|
108
|
-
Returns:
|
|
109
|
-
RobotCapability object.
|
|
110
|
-
|
|
111
|
-
"""
|
|
112
|
-
with tmp_disable_gzip():
|
|
113
|
-
return self._update_multiple(
|
|
114
|
-
items=capability,
|
|
115
|
-
resource_cls=RobotCapability,
|
|
116
|
-
list_cls=RobotCapabilityList,
|
|
117
|
-
update_cls=_RobotCapabilityUpdate,
|
|
118
|
-
)
|
|
119
|
-
|
|
120
|
-
def delete(self, external_id: str | SequenceNotStr[str]) -> None:
|
|
121
|
-
"""Delete a robot capability.
|
|
122
|
-
|
|
123
|
-
Args:
|
|
124
|
-
external_id: External id of the robot capability.
|
|
125
|
-
|
|
126
|
-
Returns:
|
|
127
|
-
None
|
|
128
|
-
|
|
129
|
-
"""
|
|
130
|
-
identifiers = IdentifierSequence.load(external_ids=external_id)
|
|
131
|
-
with tmp_disable_gzip():
|
|
132
|
-
self._delete_multiple(identifiers=identifiers, wrap_ids=True)
|
|
133
|
-
|
|
134
|
-
def list(self) -> RobotCapabilityList:
|
|
135
|
-
"""List robot capabilities.
|
|
136
|
-
|
|
137
|
-
Returns:
|
|
138
|
-
RobotCapabilityList
|
|
139
|
-
|
|
140
|
-
"""
|
|
141
|
-
with tmp_disable_gzip():
|
|
142
|
-
return self._list(method="GET", resource_cls=RobotCapability, list_cls=RobotCapabilityList)
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
from collections.abc import Iterator, Sequence
|
|
2
|
-
from typing import overload
|
|
3
|
-
|
|
4
|
-
from cognite.client._api_client import APIClient
|
|
5
|
-
from cognite.client.utils._identifier import IdentifierSequence
|
|
6
|
-
from cognite.client.utils.useful_types import SequenceNotStr
|
|
7
|
-
|
|
8
|
-
from cognite_toolkit._cdf_tk.client.resource_classes.legacy.robotics import (
|
|
9
|
-
DataPostProcessing,
|
|
10
|
-
DataPostProcessingList,
|
|
11
|
-
DataPostProcessingWrite,
|
|
12
|
-
_DataProcessingUpdate,
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
from .utlis import tmp_disable_gzip
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class DataPostProcessingAPI(APIClient):
|
|
19
|
-
_RESOURCE_PATH = "/robotics/data_postprocessing"
|
|
20
|
-
|
|
21
|
-
@overload
|
|
22
|
-
def __call__(self) -> Iterator[DataPostProcessing]: ...
|
|
23
|
-
|
|
24
|
-
@overload
|
|
25
|
-
def __call__(self, chunk_size: int) -> Iterator[DataPostProcessingList]: ...
|
|
26
|
-
|
|
27
|
-
def __call__(
|
|
28
|
-
self, chunk_size: int | None = None
|
|
29
|
-
) -> Iterator[DataPostProcessing] | Iterator[DataPostProcessingList]:
|
|
30
|
-
"""Iterate over robot data_processing.
|
|
31
|
-
|
|
32
|
-
Args:
|
|
33
|
-
chunk_size: The number of robot data_processing to return in each chunk. None will return all robot data_processing.
|
|
34
|
-
|
|
35
|
-
Yields:
|
|
36
|
-
DataProcessing or DataProcessingList
|
|
37
|
-
|
|
38
|
-
"""
|
|
39
|
-
return self._list_generator(
|
|
40
|
-
method="GET", resource_cls=DataPostProcessing, list_cls=DataPostProcessingList, chunk_size=chunk_size
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
def __iter__(self) -> Iterator[DataPostProcessing]:
|
|
44
|
-
return self.__call__()
|
|
45
|
-
|
|
46
|
-
@overload
|
|
47
|
-
def create(self, dataProcessing: DataPostProcessingWrite) -> DataPostProcessing: ...
|
|
48
|
-
|
|
49
|
-
@overload
|
|
50
|
-
def create(self, dataProcessing: Sequence[DataPostProcessingWrite]) -> DataPostProcessingList: ...
|
|
51
|
-
|
|
52
|
-
def create(
|
|
53
|
-
self, dataProcessing: DataPostProcessingWrite | Sequence[DataPostProcessingWrite]
|
|
54
|
-
) -> DataPostProcessing | DataPostProcessingList:
|
|
55
|
-
"""Create a new robot dataProcessing.
|
|
56
|
-
|
|
57
|
-
Args:
|
|
58
|
-
dataProcessing: DataProcessingWrite or list of DataProcessingWrite.
|
|
59
|
-
|
|
60
|
-
Returns:
|
|
61
|
-
DataProcessing object.
|
|
62
|
-
|
|
63
|
-
"""
|
|
64
|
-
with tmp_disable_gzip():
|
|
65
|
-
return self._create_multiple(
|
|
66
|
-
list_cls=DataPostProcessingList,
|
|
67
|
-
resource_cls=DataPostProcessing,
|
|
68
|
-
items=dataProcessing,
|
|
69
|
-
input_resource_cls=DataPostProcessingWrite,
|
|
70
|
-
)
|
|
71
|
-
|
|
72
|
-
@overload
|
|
73
|
-
def retrieve(self, external_id: str) -> DataPostProcessing | None: ...
|
|
74
|
-
|
|
75
|
-
@overload
|
|
76
|
-
def retrieve(self, external_id: SequenceNotStr[str]) -> DataPostProcessingList: ...
|
|
77
|
-
|
|
78
|
-
def retrieve(self, external_id: str | SequenceNotStr[str]) -> DataPostProcessing | None | DataPostProcessingList:
|
|
79
|
-
"""Retrieve a robot dataProcessing.
|
|
80
|
-
|
|
81
|
-
Args:
|
|
82
|
-
external_id: External id of the robot dataProcessing.
|
|
83
|
-
|
|
84
|
-
Returns:
|
|
85
|
-
DataProcessing object.
|
|
86
|
-
|
|
87
|
-
"""
|
|
88
|
-
identifiers = IdentifierSequence.load(external_ids=external_id)
|
|
89
|
-
with tmp_disable_gzip():
|
|
90
|
-
return self._retrieve_multiple(
|
|
91
|
-
identifiers=identifiers,
|
|
92
|
-
resource_cls=DataPostProcessing,
|
|
93
|
-
list_cls=DataPostProcessingList,
|
|
94
|
-
)
|
|
95
|
-
|
|
96
|
-
@overload
|
|
97
|
-
def update(self, dataProcessing: DataPostProcessingWrite) -> DataPostProcessing: ...
|
|
98
|
-
|
|
99
|
-
@overload
|
|
100
|
-
def update(self, dataProcessing: Sequence[DataPostProcessingWrite]) -> DataPostProcessingList: ...
|
|
101
|
-
|
|
102
|
-
def update(
|
|
103
|
-
self, dataProcessing: DataPostProcessingWrite | Sequence[DataPostProcessingWrite]
|
|
104
|
-
) -> DataPostProcessing | DataPostProcessingList:
|
|
105
|
-
"""Update a robot dataProcessing.
|
|
106
|
-
|
|
107
|
-
Args:
|
|
108
|
-
dataProcessing: DataProcessingWrite or list of DataProcessingWrite.
|
|
109
|
-
|
|
110
|
-
Returns:
|
|
111
|
-
DataProcessing object.
|
|
112
|
-
|
|
113
|
-
"""
|
|
114
|
-
with tmp_disable_gzip():
|
|
115
|
-
return self._update_multiple(
|
|
116
|
-
items=dataProcessing,
|
|
117
|
-
resource_cls=DataPostProcessing,
|
|
118
|
-
list_cls=DataPostProcessingList,
|
|
119
|
-
update_cls=_DataProcessingUpdate,
|
|
120
|
-
)
|
|
121
|
-
|
|
122
|
-
def delete(self, external_id: str | SequenceNotStr[str]) -> None:
|
|
123
|
-
"""Delete a robot dataProcessing.
|
|
124
|
-
|
|
125
|
-
Args:
|
|
126
|
-
external_id: External id of the robot dataProcessing.
|
|
127
|
-
|
|
128
|
-
Returns:
|
|
129
|
-
None
|
|
130
|
-
|
|
131
|
-
"""
|
|
132
|
-
identifiers = IdentifierSequence.load(external_ids=external_id)
|
|
133
|
-
with tmp_disable_gzip():
|
|
134
|
-
self._delete_multiple(identifiers=identifiers, wrap_ids=True)
|
|
135
|
-
|
|
136
|
-
def list(self) -> DataPostProcessingList:
|
|
137
|
-
"""List robot data_processing.
|
|
138
|
-
|
|
139
|
-
Returns:
|
|
140
|
-
DataProcessingList
|
|
141
|
-
|
|
142
|
-
"""
|
|
143
|
-
with tmp_disable_gzip():
|
|
144
|
-
return self._list(method="GET", resource_cls=DataPostProcessing, list_cls=DataPostProcessingList)
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
from collections.abc import Iterator, Sequence
|
|
2
|
-
from typing import overload
|
|
3
|
-
|
|
4
|
-
from cognite.client._api_client import APIClient
|
|
5
|
-
from cognite.client.utils._identifier import IdentifierSequence
|
|
6
|
-
from cognite.client.utils.useful_types import SequenceNotStr
|
|
7
|
-
|
|
8
|
-
from cognite_toolkit._cdf_tk.client.resource_classes.legacy.robotics import (
|
|
9
|
-
Frame,
|
|
10
|
-
FrameList,
|
|
11
|
-
FrameWrite,
|
|
12
|
-
_FrameUpdate,
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
from .utlis import tmp_disable_gzip
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class FramesAPI(APIClient):
|
|
19
|
-
_RESOURCE_PATH = "/robotics/frames"
|
|
20
|
-
|
|
21
|
-
@overload
|
|
22
|
-
def __call__(self) -> Iterator[Frame]: ...
|
|
23
|
-
|
|
24
|
-
@overload
|
|
25
|
-
def __call__(self, chunk_size: int) -> Iterator[FrameList]: ...
|
|
26
|
-
|
|
27
|
-
def __call__(self, chunk_size: int | None = None) -> Iterator[Frame] | Iterator[FrameList]:
|
|
28
|
-
"""Iterate over robot frames.
|
|
29
|
-
|
|
30
|
-
Args:
|
|
31
|
-
chunk_size: The number of robot frames to return in each chunk. None will return all robot frames.
|
|
32
|
-
|
|
33
|
-
Yields:
|
|
34
|
-
Frame or FrameList
|
|
35
|
-
|
|
36
|
-
"""
|
|
37
|
-
return self._list_generator(method="GET", resource_cls=Frame, list_cls=FrameList, chunk_size=chunk_size)
|
|
38
|
-
|
|
39
|
-
def __iter__(self) -> Iterator[Frame]:
|
|
40
|
-
return self.__call__()
|
|
41
|
-
|
|
42
|
-
@overload
|
|
43
|
-
def create(self, frame: FrameWrite) -> Frame: ...
|
|
44
|
-
|
|
45
|
-
@overload
|
|
46
|
-
def create(self, frame: Sequence[FrameWrite]) -> FrameList: ...
|
|
47
|
-
|
|
48
|
-
def create(self, frame: FrameWrite | Sequence[FrameWrite]) -> Frame | FrameList:
|
|
49
|
-
"""Create a new robot frame.
|
|
50
|
-
|
|
51
|
-
Args:
|
|
52
|
-
frame: FrameWrite or list of FrameWrite.
|
|
53
|
-
|
|
54
|
-
Returns:
|
|
55
|
-
Frame object.
|
|
56
|
-
|
|
57
|
-
"""
|
|
58
|
-
with tmp_disable_gzip():
|
|
59
|
-
return self._create_multiple(
|
|
60
|
-
list_cls=FrameList,
|
|
61
|
-
resource_cls=Frame,
|
|
62
|
-
items=frame,
|
|
63
|
-
input_resource_cls=FrameWrite,
|
|
64
|
-
)
|
|
65
|
-
|
|
66
|
-
@overload
|
|
67
|
-
def retrieve(self, external_id: str) -> Frame | None: ...
|
|
68
|
-
|
|
69
|
-
@overload
|
|
70
|
-
def retrieve(self, external_id: SequenceNotStr[str]) -> FrameList: ...
|
|
71
|
-
|
|
72
|
-
def retrieve(self, external_id: str | SequenceNotStr[str]) -> Frame | None | FrameList:
|
|
73
|
-
"""Retrieve a robot frame.
|
|
74
|
-
|
|
75
|
-
Args:
|
|
76
|
-
external_id: External id of the robot frame.
|
|
77
|
-
|
|
78
|
-
Returns:
|
|
79
|
-
Frame object.
|
|
80
|
-
|
|
81
|
-
"""
|
|
82
|
-
identifiers = IdentifierSequence.load(external_ids=external_id)
|
|
83
|
-
with tmp_disable_gzip():
|
|
84
|
-
return self._retrieve_multiple(
|
|
85
|
-
identifiers=identifiers,
|
|
86
|
-
resource_cls=Frame,
|
|
87
|
-
list_cls=FrameList,
|
|
88
|
-
)
|
|
89
|
-
|
|
90
|
-
@overload
|
|
91
|
-
def update(self, frame: FrameWrite) -> Frame: ...
|
|
92
|
-
|
|
93
|
-
@overload
|
|
94
|
-
def update(self, frame: Sequence[FrameWrite]) -> FrameList: ...
|
|
95
|
-
|
|
96
|
-
def update(self, frame: FrameWrite | Sequence[FrameWrite]) -> Frame | FrameList:
|
|
97
|
-
"""Update a robot frame.
|
|
98
|
-
|
|
99
|
-
Args:
|
|
100
|
-
frame: FrameWrite or list of FrameWrite.
|
|
101
|
-
|
|
102
|
-
Returns:
|
|
103
|
-
Frame object.
|
|
104
|
-
|
|
105
|
-
"""
|
|
106
|
-
with tmp_disable_gzip():
|
|
107
|
-
return self._update_multiple(
|
|
108
|
-
items=frame,
|
|
109
|
-
resource_cls=Frame,
|
|
110
|
-
list_cls=FrameList,
|
|
111
|
-
update_cls=_FrameUpdate,
|
|
112
|
-
)
|
|
113
|
-
|
|
114
|
-
def delete(self, external_id: str | SequenceNotStr[str]) -> None:
|
|
115
|
-
"""Delete a robot frame.
|
|
116
|
-
|
|
117
|
-
Args:
|
|
118
|
-
external_id: External id of the robot frame.
|
|
119
|
-
|
|
120
|
-
Returns:
|
|
121
|
-
None
|
|
122
|
-
|
|
123
|
-
"""
|
|
124
|
-
identifiers = IdentifierSequence.load(external_ids=external_id)
|
|
125
|
-
with tmp_disable_gzip():
|
|
126
|
-
self._delete_multiple(identifiers=identifiers, wrap_ids=True)
|
|
127
|
-
|
|
128
|
-
def list(self) -> FrameList:
|
|
129
|
-
"""List robot frames.
|
|
130
|
-
|
|
131
|
-
Returns:
|
|
132
|
-
FrameList
|
|
133
|
-
|
|
134
|
-
"""
|
|
135
|
-
with tmp_disable_gzip():
|
|
136
|
-
return self._list(method="GET", resource_cls=Frame, list_cls=FrameList)
|