wandelbots-api-client 26.9.0.dev89__py3-none-any.whl → 26.9.0.dev91__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.
@@ -13,7 +13,7 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
  Do not edit the class manually.
14
14
  """ # noqa: E501
15
15
 
16
- __version__ = "26.9.0.dev89"
16
+ __version__ = "26.9.0.dev91"
17
17
 
18
18
  from . import api
19
19
  from . import api_client
@@ -1428,7 +1428,7 @@ class DatasetsApi:
1428
1428
  ) -> CommandRoutine:
1429
1429
  """Resolve Command Routine (Dataset)
1430
1430
 
1431
- **Required permissions:** `can_read_datasets` - Read stored datasets ___ <!-- theme: danger --> > **Experimental** Return a command routine of the dataset with all pose references resolved. Every pose the routine refers to by its dataset identifier, and every inline pose expressed in a dataset frame, is replaced by an inline pose in the `world` frame. The resolved routine can be executed without access to the dataset.
1431
+ **Required permissions:** `can_read_datasets` - Read stored datasets ___ <!-- theme: danger --> > **Experimental** Return a command routine of the dataset with all pose references resolved. Every pose the routine refers to by its dataset identifier, and every inline pose expressed in a dataset frame or a controller coordinate system, is replaced by an inline pose in the `world` frame. A controller coordinate system is looked up on its controller at the time of the request, so a re-taught coordinate system is always reflected. The resolved routine can be executed without access to the dataset.
1432
1432
 
1433
1433
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1434
1434
  :type cell: str
@@ -1503,7 +1503,7 @@ class DatasetsApi:
1503
1503
  ) -> ApiResponse[CommandRoutine]:
1504
1504
  """Resolve Command Routine (Dataset)
1505
1505
 
1506
- **Required permissions:** `can_read_datasets` - Read stored datasets ___ <!-- theme: danger --> > **Experimental** Return a command routine of the dataset with all pose references resolved. Every pose the routine refers to by its dataset identifier, and every inline pose expressed in a dataset frame, is replaced by an inline pose in the `world` frame. The resolved routine can be executed without access to the dataset.
1506
+ **Required permissions:** `can_read_datasets` - Read stored datasets ___ <!-- theme: danger --> > **Experimental** Return a command routine of the dataset with all pose references resolved. Every pose the routine refers to by its dataset identifier, and every inline pose expressed in a dataset frame or a controller coordinate system, is replaced by an inline pose in the `world` frame. A controller coordinate system is looked up on its controller at the time of the request, so a re-taught coordinate system is always reflected. The resolved routine can be executed without access to the dataset.
1507
1507
 
1508
1508
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1509
1509
  :type cell: str
@@ -1578,7 +1578,7 @@ class DatasetsApi:
1578
1578
  ) -> RESTResponseType:
1579
1579
  """Resolve Command Routine (Dataset)
1580
1580
 
1581
- **Required permissions:** `can_read_datasets` - Read stored datasets ___ <!-- theme: danger --> > **Experimental** Return a command routine of the dataset with all pose references resolved. Every pose the routine refers to by its dataset identifier, and every inline pose expressed in a dataset frame, is replaced by an inline pose in the `world` frame. The resolved routine can be executed without access to the dataset.
1581
+ **Required permissions:** `can_read_datasets` - Read stored datasets ___ <!-- theme: danger --> > **Experimental** Return a command routine of the dataset with all pose references resolved. Every pose the routine refers to by its dataset identifier, and every inline pose expressed in a dataset frame or a controller coordinate system, is replaced by an inline pose in the `world` frame. A controller coordinate system is looked up on its controller at the time of the request, so a re-taught coordinate system is always reflected. The resolved routine can be executed without access to the dataset.
1582
1582
 
1583
1583
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1584
1584
  :type cell: str
@@ -46,6 +46,8 @@ from urllib.parse import quote
46
46
  from pydantic import Field, StrictBytes, StrictStr
47
47
  from typing import Any, Dict, List, Optional, Tuple, Union
48
48
  from typing_extensions import Annotated
49
+ from wandelbots_api_client.v2.models.object_key_page import ObjectKeyPage
50
+ from wandelbots_api_client.v2.models.storage_usage import StorageUsage
49
51
 
50
52
  from wandelbots_api_client.v2.api_client import ApiClient, RequestSerialized
51
53
  from wandelbots_api_client.v2.api_response import ApiResponse
@@ -946,6 +948,219 @@ class StoreObjectApi:
946
948
  _request_auth=_request_auth,
947
949
  )
948
950
 
951
+ @validate_call
952
+ async def get_storage_usage(
953
+ self,
954
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
955
+ _request_timeout: Union[
956
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
957
+ ] = None,
958
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
959
+ _content_type: Optional[StrictStr] = None,
960
+ _headers: Optional[Dict[StrictStr, Any]] = None,
961
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
962
+ ) -> StorageUsage:
963
+ """Get storage usage
964
+
965
+ **Required permissions:** `can_read_objects` - Read stored objects ___ Returns the cell's estimated SeaweedFS volume content and the capacity of the backing filesystem. The cell volume estimate is omitted if it cannot be determined. The filesystem may be shared with other cells and services, so its capacity is not a cell quota.
966
+
967
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
968
+ :type cell: str
969
+ :param _request_timeout: timeout setting for this request. If one
970
+ number provided, it will be total request
971
+ timeout. It can also be a pair (tuple) of
972
+ (connection, read) timeouts.
973
+ :type _request_timeout: int, tuple(int, int), optional
974
+ :param _request_auth: set to override the auth_settings for an a single
975
+ request; this effectively ignores the
976
+ authentication in the spec for a single request.
977
+ :type _request_auth: dict, optional
978
+ :param _content_type: force content-type for the request.
979
+ :type _content_type: str, Optional
980
+ :param _headers: set to override the headers for a single
981
+ request; this effectively ignores the headers
982
+ in the spec for a single request.
983
+ :type _headers: dict, optional
984
+ :param _host_index: set to override the host_index for a single
985
+ request; this effectively ignores the host_index
986
+ in the spec for a single request.
987
+ :type _host_index: int, optional
988
+ :return: Returns the result object.
989
+ """ # noqa: E501
990
+
991
+ _param = self._get_storage_usage_serialize(
992
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
993
+ )
994
+
995
+ _response_types_map: Dict[str, Optional[str]] = {
996
+ "200": "StorageUsage",
997
+ "502": "Error",
998
+ }
999
+
1000
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1001
+ await response_data.read()
1002
+ return self.api_client.response_deserialize(
1003
+ response_data=response_data,
1004
+ response_types_map=_response_types_map,
1005
+ ).data
1006
+
1007
+ @validate_call
1008
+ async def get_storage_usage_with_http_info(
1009
+ self,
1010
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1011
+ _request_timeout: Union[
1012
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1013
+ ] = None,
1014
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1015
+ _content_type: Optional[StrictStr] = None,
1016
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1017
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1018
+ ) -> ApiResponse[StorageUsage]:
1019
+ """Get storage usage
1020
+
1021
+ **Required permissions:** `can_read_objects` - Read stored objects ___ Returns the cell's estimated SeaweedFS volume content and the capacity of the backing filesystem. The cell volume estimate is omitted if it cannot be determined. The filesystem may be shared with other cells and services, so its capacity is not a cell quota.
1022
+
1023
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1024
+ :type cell: str
1025
+ :param _request_timeout: timeout setting for this request. If one
1026
+ number provided, it will be total request
1027
+ timeout. It can also be a pair (tuple) of
1028
+ (connection, read) timeouts.
1029
+ :type _request_timeout: int, tuple(int, int), optional
1030
+ :param _request_auth: set to override the auth_settings for an a single
1031
+ request; this effectively ignores the
1032
+ authentication in the spec for a single request.
1033
+ :type _request_auth: dict, optional
1034
+ :param _content_type: force content-type for the request.
1035
+ :type _content_type: str, Optional
1036
+ :param _headers: set to override the headers for a single
1037
+ request; this effectively ignores the headers
1038
+ in the spec for a single request.
1039
+ :type _headers: dict, optional
1040
+ :param _host_index: set to override the host_index for a single
1041
+ request; this effectively ignores the host_index
1042
+ in the spec for a single request.
1043
+ :type _host_index: int, optional
1044
+ :return: Returns the result object.
1045
+ """ # noqa: E501
1046
+
1047
+ _param = self._get_storage_usage_serialize(
1048
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1049
+ )
1050
+
1051
+ _response_types_map: Dict[str, Optional[str]] = {
1052
+ "200": "StorageUsage",
1053
+ "502": "Error",
1054
+ }
1055
+
1056
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1057
+ await response_data.read()
1058
+ return self.api_client.response_deserialize(
1059
+ response_data=response_data,
1060
+ response_types_map=_response_types_map,
1061
+ )
1062
+
1063
+ @validate_call
1064
+ async def get_storage_usage_without_preload_content(
1065
+ self,
1066
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1067
+ _request_timeout: Union[
1068
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1069
+ ] = None,
1070
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1071
+ _content_type: Optional[StrictStr] = None,
1072
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1073
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1074
+ ) -> RESTResponseType:
1075
+ """Get storage usage
1076
+
1077
+ **Required permissions:** `can_read_objects` - Read stored objects ___ Returns the cell's estimated SeaweedFS volume content and the capacity of the backing filesystem. The cell volume estimate is omitted if it cannot be determined. The filesystem may be shared with other cells and services, so its capacity is not a cell quota.
1078
+
1079
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1080
+ :type cell: str
1081
+ :param _request_timeout: timeout setting for this request. If one
1082
+ number provided, it will be total request
1083
+ timeout. It can also be a pair (tuple) of
1084
+ (connection, read) timeouts.
1085
+ :type _request_timeout: int, tuple(int, int), optional
1086
+ :param _request_auth: set to override the auth_settings for an a single
1087
+ request; this effectively ignores the
1088
+ authentication in the spec for a single request.
1089
+ :type _request_auth: dict, optional
1090
+ :param _content_type: force content-type for the request.
1091
+ :type _content_type: str, Optional
1092
+ :param _headers: set to override the headers for a single
1093
+ request; this effectively ignores the headers
1094
+ in the spec for a single request.
1095
+ :type _headers: dict, optional
1096
+ :param _host_index: set to override the host_index for a single
1097
+ request; this effectively ignores the host_index
1098
+ in the spec for a single request.
1099
+ :type _host_index: int, optional
1100
+ :return: Returns the result object.
1101
+ """ # noqa: E501
1102
+
1103
+ _param = self._get_storage_usage_serialize(
1104
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1105
+ )
1106
+
1107
+ _response_types_map: Dict[str, Optional[str]] = {
1108
+ "200": "StorageUsage",
1109
+ "502": "Error",
1110
+ }
1111
+
1112
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1113
+ return response_data.response
1114
+
1115
+ def _get_storage_usage_serialize(
1116
+ self,
1117
+ cell,
1118
+ _request_auth,
1119
+ _content_type,
1120
+ _headers,
1121
+ _host_index,
1122
+ ) -> RequestSerialized:
1123
+
1124
+ _host = None
1125
+
1126
+ _collection_formats: Dict[str, str] = {}
1127
+
1128
+ _path_params: Dict[str, str] = {}
1129
+ _query_params: List[Tuple[str, str]] = []
1130
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1131
+ _form_params: List[Tuple[str, str]] = []
1132
+ _files: Dict[str, Union[str, bytes]] = {}
1133
+ _body_params: Optional[bytes] = None
1134
+
1135
+ # process the path parameters
1136
+ if cell is not None:
1137
+ _path_params["cell"] = cell
1138
+ # process the query parameters
1139
+ # process the header parameters
1140
+ # process the form parameters
1141
+ # process the body parameter
1142
+
1143
+ # set the HTTP header `Accept`
1144
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1145
+
1146
+ # authentication setting
1147
+ _auth_settings: List[str] = ["BearerAuth"]
1148
+
1149
+ return self.api_client.param_serialize(
1150
+ method="GET",
1151
+ resource_path="/cells/{cell}/store/usage",
1152
+ path_params=_path_params,
1153
+ query_params=_query_params,
1154
+ header_params=_header_params,
1155
+ body=_body_params,
1156
+ post_params=_form_params,
1157
+ files=_files,
1158
+ auth_settings=_auth_settings,
1159
+ collection_formats=_collection_formats,
1160
+ _host=_host,
1161
+ _request_auth=_request_auth,
1162
+ )
1163
+
949
1164
  @validate_call
950
1165
  async def list_all_object_keys(
951
1166
  self,
@@ -960,7 +1175,7 @@ class StoreObjectApi:
960
1175
  ) -> List[str]:
961
1176
  """List all Object Keys
962
1177
 
963
- **Required permissions:** `can_read_objects` - Read stored objects ___ List the keys for all objects.
1178
+ **Required permissions:** `can_read_objects` - Read stored objects ___ List the keys for all objects. For filtered or paginated results, use [listObjectKeys](#/operations/listObjectKeys).
964
1179
 
965
1180
  :param cell: Unique identifier addressing a cell in all API calls. (required)
966
1181
  :type cell: str
@@ -1015,7 +1230,7 @@ class StoreObjectApi:
1015
1230
  ) -> ApiResponse[List[str]]:
1016
1231
  """List all Object Keys
1017
1232
 
1018
- **Required permissions:** `can_read_objects` - Read stored objects ___ List the keys for all objects.
1233
+ **Required permissions:** `can_read_objects` - Read stored objects ___ List the keys for all objects. For filtered or paginated results, use [listObjectKeys](#/operations/listObjectKeys).
1019
1234
 
1020
1235
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1021
1236
  :type cell: str
@@ -1070,7 +1285,7 @@ class StoreObjectApi:
1070
1285
  ) -> RESTResponseType:
1071
1286
  """List all Object Keys
1072
1287
 
1073
- **Required permissions:** `can_read_objects` - Read stored objects ___ List the keys for all objects.
1288
+ **Required permissions:** `can_read_objects` - Read stored objects ___ List the keys for all objects. For filtered or paginated results, use [listObjectKeys](#/operations/listObjectKeys).
1074
1289
 
1075
1290
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1076
1291
  :type cell: str
@@ -1156,6 +1371,294 @@ class StoreObjectApi:
1156
1371
  _request_auth=_request_auth,
1157
1372
  )
1158
1373
 
1374
+ @validate_call
1375
+ async def list_object_keys(
1376
+ self,
1377
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1378
+ prefix: Annotated[Optional[StrictStr], Field(description="Return only keys beginning with this prefix.")] = None,
1379
+ page_size: Annotated[
1380
+ Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]],
1381
+ Field(description="Maximum number of keys to return. Defaults to 1000."),
1382
+ ] = None,
1383
+ continuation_token: Annotated[
1384
+ Optional[StrictStr], Field(description="Token returned by the previous page. Reuse the same cell and prefix.")
1385
+ ] = None,
1386
+ _request_timeout: Union[
1387
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1388
+ ] = None,
1389
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1390
+ _content_type: Optional[StrictStr] = None,
1391
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1392
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1393
+ ) -> ObjectKeyPage:
1394
+ """List Object Keys
1395
+
1396
+ **Required permissions:** `can_read_objects` - Read stored objects ___ Returns a page of stored object keys, optionally filtered by prefix. Pass the returned continuation token to retrieve the next page. Omission of the token means there are no more keys. The listing is not a snapshot; concurrent writes or deletions may affect subsequent pages. Tokens are opaque and must be reused unchanged with the same cell and prefix. Invalid tokens may not be detected.
1397
+
1398
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1399
+ :type cell: str
1400
+ :param prefix: Return only keys beginning with this prefix.
1401
+ :type prefix: str
1402
+ :param page_size: Maximum number of keys to return. Defaults to 1000.
1403
+ :type page_size: int
1404
+ :param continuation_token: Token returned by the previous page. Reuse the same cell and prefix.
1405
+ :type continuation_token: str
1406
+ :param _request_timeout: timeout setting for this request. If one
1407
+ number provided, it will be total request
1408
+ timeout. It can also be a pair (tuple) of
1409
+ (connection, read) timeouts.
1410
+ :type _request_timeout: int, tuple(int, int), optional
1411
+ :param _request_auth: set to override the auth_settings for an a single
1412
+ request; this effectively ignores the
1413
+ authentication in the spec for a single request.
1414
+ :type _request_auth: dict, optional
1415
+ :param _content_type: force content-type for the request.
1416
+ :type _content_type: str, Optional
1417
+ :param _headers: set to override the headers for a single
1418
+ request; this effectively ignores the headers
1419
+ in the spec for a single request.
1420
+ :type _headers: dict, optional
1421
+ :param _host_index: set to override the host_index for a single
1422
+ request; this effectively ignores the host_index
1423
+ in the spec for a single request.
1424
+ :type _host_index: int, optional
1425
+ :return: Returns the result object.
1426
+ """ # noqa: E501
1427
+
1428
+ _param = self._list_object_keys_serialize(
1429
+ cell=cell,
1430
+ prefix=prefix,
1431
+ page_size=page_size,
1432
+ continuation_token=continuation_token,
1433
+ _request_auth=_request_auth,
1434
+ _content_type=_content_type,
1435
+ _headers=_headers,
1436
+ _host_index=_host_index,
1437
+ )
1438
+
1439
+ _response_types_map: Dict[str, Optional[str]] = {
1440
+ "200": "ObjectKeyPage",
1441
+ "400": "Error",
1442
+ }
1443
+
1444
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1445
+ await response_data.read()
1446
+ return self.api_client.response_deserialize(
1447
+ response_data=response_data,
1448
+ response_types_map=_response_types_map,
1449
+ ).data
1450
+
1451
+ @validate_call
1452
+ async def list_object_keys_with_http_info(
1453
+ self,
1454
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1455
+ prefix: Annotated[Optional[StrictStr], Field(description="Return only keys beginning with this prefix.")] = None,
1456
+ page_size: Annotated[
1457
+ Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]],
1458
+ Field(description="Maximum number of keys to return. Defaults to 1000."),
1459
+ ] = None,
1460
+ continuation_token: Annotated[
1461
+ Optional[StrictStr], Field(description="Token returned by the previous page. Reuse the same cell and prefix.")
1462
+ ] = None,
1463
+ _request_timeout: Union[
1464
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1465
+ ] = None,
1466
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1467
+ _content_type: Optional[StrictStr] = None,
1468
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1469
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1470
+ ) -> ApiResponse[ObjectKeyPage]:
1471
+ """List Object Keys
1472
+
1473
+ **Required permissions:** `can_read_objects` - Read stored objects ___ Returns a page of stored object keys, optionally filtered by prefix. Pass the returned continuation token to retrieve the next page. Omission of the token means there are no more keys. The listing is not a snapshot; concurrent writes or deletions may affect subsequent pages. Tokens are opaque and must be reused unchanged with the same cell and prefix. Invalid tokens may not be detected.
1474
+
1475
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1476
+ :type cell: str
1477
+ :param prefix: Return only keys beginning with this prefix.
1478
+ :type prefix: str
1479
+ :param page_size: Maximum number of keys to return. Defaults to 1000.
1480
+ :type page_size: int
1481
+ :param continuation_token: Token returned by the previous page. Reuse the same cell and prefix.
1482
+ :type continuation_token: str
1483
+ :param _request_timeout: timeout setting for this request. If one
1484
+ number provided, it will be total request
1485
+ timeout. It can also be a pair (tuple) of
1486
+ (connection, read) timeouts.
1487
+ :type _request_timeout: int, tuple(int, int), optional
1488
+ :param _request_auth: set to override the auth_settings for an a single
1489
+ request; this effectively ignores the
1490
+ authentication in the spec for a single request.
1491
+ :type _request_auth: dict, optional
1492
+ :param _content_type: force content-type for the request.
1493
+ :type _content_type: str, Optional
1494
+ :param _headers: set to override the headers for a single
1495
+ request; this effectively ignores the headers
1496
+ in the spec for a single request.
1497
+ :type _headers: dict, optional
1498
+ :param _host_index: set to override the host_index for a single
1499
+ request; this effectively ignores the host_index
1500
+ in the spec for a single request.
1501
+ :type _host_index: int, optional
1502
+ :return: Returns the result object.
1503
+ """ # noqa: E501
1504
+
1505
+ _param = self._list_object_keys_serialize(
1506
+ cell=cell,
1507
+ prefix=prefix,
1508
+ page_size=page_size,
1509
+ continuation_token=continuation_token,
1510
+ _request_auth=_request_auth,
1511
+ _content_type=_content_type,
1512
+ _headers=_headers,
1513
+ _host_index=_host_index,
1514
+ )
1515
+
1516
+ _response_types_map: Dict[str, Optional[str]] = {
1517
+ "200": "ObjectKeyPage",
1518
+ "400": "Error",
1519
+ }
1520
+
1521
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1522
+ await response_data.read()
1523
+ return self.api_client.response_deserialize(
1524
+ response_data=response_data,
1525
+ response_types_map=_response_types_map,
1526
+ )
1527
+
1528
+ @validate_call
1529
+ async def list_object_keys_without_preload_content(
1530
+ self,
1531
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1532
+ prefix: Annotated[Optional[StrictStr], Field(description="Return only keys beginning with this prefix.")] = None,
1533
+ page_size: Annotated[
1534
+ Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]],
1535
+ Field(description="Maximum number of keys to return. Defaults to 1000."),
1536
+ ] = None,
1537
+ continuation_token: Annotated[
1538
+ Optional[StrictStr], Field(description="Token returned by the previous page. Reuse the same cell and prefix.")
1539
+ ] = None,
1540
+ _request_timeout: Union[
1541
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1542
+ ] = None,
1543
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1544
+ _content_type: Optional[StrictStr] = None,
1545
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1546
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1547
+ ) -> RESTResponseType:
1548
+ """List Object Keys
1549
+
1550
+ **Required permissions:** `can_read_objects` - Read stored objects ___ Returns a page of stored object keys, optionally filtered by prefix. Pass the returned continuation token to retrieve the next page. Omission of the token means there are no more keys. The listing is not a snapshot; concurrent writes or deletions may affect subsequent pages. Tokens are opaque and must be reused unchanged with the same cell and prefix. Invalid tokens may not be detected.
1551
+
1552
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1553
+ :type cell: str
1554
+ :param prefix: Return only keys beginning with this prefix.
1555
+ :type prefix: str
1556
+ :param page_size: Maximum number of keys to return. Defaults to 1000.
1557
+ :type page_size: int
1558
+ :param continuation_token: Token returned by the previous page. Reuse the same cell and prefix.
1559
+ :type continuation_token: str
1560
+ :param _request_timeout: timeout setting for this request. If one
1561
+ number provided, it will be total request
1562
+ timeout. It can also be a pair (tuple) of
1563
+ (connection, read) timeouts.
1564
+ :type _request_timeout: int, tuple(int, int), optional
1565
+ :param _request_auth: set to override the auth_settings for an a single
1566
+ request; this effectively ignores the
1567
+ authentication in the spec for a single request.
1568
+ :type _request_auth: dict, optional
1569
+ :param _content_type: force content-type for the request.
1570
+ :type _content_type: str, Optional
1571
+ :param _headers: set to override the headers for a single
1572
+ request; this effectively ignores the headers
1573
+ in the spec for a single request.
1574
+ :type _headers: dict, optional
1575
+ :param _host_index: set to override the host_index for a single
1576
+ request; this effectively ignores the host_index
1577
+ in the spec for a single request.
1578
+ :type _host_index: int, optional
1579
+ :return: Returns the result object.
1580
+ """ # noqa: E501
1581
+
1582
+ _param = self._list_object_keys_serialize(
1583
+ cell=cell,
1584
+ prefix=prefix,
1585
+ page_size=page_size,
1586
+ continuation_token=continuation_token,
1587
+ _request_auth=_request_auth,
1588
+ _content_type=_content_type,
1589
+ _headers=_headers,
1590
+ _host_index=_host_index,
1591
+ )
1592
+
1593
+ _response_types_map: Dict[str, Optional[str]] = {
1594
+ "200": "ObjectKeyPage",
1595
+ "400": "Error",
1596
+ }
1597
+
1598
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1599
+ return response_data.response
1600
+
1601
+ def _list_object_keys_serialize(
1602
+ self,
1603
+ cell,
1604
+ prefix,
1605
+ page_size,
1606
+ continuation_token,
1607
+ _request_auth,
1608
+ _content_type,
1609
+ _headers,
1610
+ _host_index,
1611
+ ) -> RequestSerialized:
1612
+
1613
+ _host = None
1614
+
1615
+ _collection_formats: Dict[str, str] = {}
1616
+
1617
+ _path_params: Dict[str, str] = {}
1618
+ _query_params: List[Tuple[str, str]] = []
1619
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1620
+ _form_params: List[Tuple[str, str]] = []
1621
+ _files: Dict[str, Union[str, bytes]] = {}
1622
+ _body_params: Optional[bytes] = None
1623
+
1624
+ # process the path parameters
1625
+ if cell is not None:
1626
+ _path_params["cell"] = cell
1627
+ # process the query parameters
1628
+ if prefix is not None:
1629
+ _query_params.append(("prefix", prefix))
1630
+
1631
+ if page_size is not None:
1632
+ _query_params.append(("page_size", page_size))
1633
+
1634
+ if continuation_token is not None:
1635
+ _query_params.append(("continuation_token", continuation_token))
1636
+
1637
+ # process the header parameters
1638
+ # process the form parameters
1639
+ # process the body parameter
1640
+
1641
+ # set the HTTP header `Accept`
1642
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1643
+
1644
+ # authentication setting
1645
+ _auth_settings: List[str] = ["BearerAuth"]
1646
+
1647
+ return self.api_client.param_serialize(
1648
+ method="GET",
1649
+ resource_path="/cells/{cell}/store/objects-keys",
1650
+ path_params=_path_params,
1651
+ query_params=_query_params,
1652
+ header_params=_header_params,
1653
+ body=_body_params,
1654
+ post_params=_form_params,
1655
+ files=_files,
1656
+ auth_settings=_auth_settings,
1657
+ collection_formats=_collection_formats,
1658
+ _host=_host,
1659
+ _request_auth=_request_auth,
1660
+ )
1661
+
1159
1662
  @validate_call
1160
1663
  async def store_object(
1161
1664
  self,
@@ -106,7 +106,7 @@ class ApiClient:
106
106
  self.default_headers[header_name] = header_value
107
107
  self.cookie = cookie
108
108
  # Set default User-Agent.
109
- self.user_agent = "Wandelbots-Nova-API-Python-Client/26.9.0.dev89"
109
+ self.user_agent = "Wandelbots-Nova-API-Python-Client/26.9.0.dev91"
110
110
  self.client_side_validation = configuration.client_side_validation
111
111
 
112
112
  async def __aenter__(self):
@@ -557,7 +557,7 @@ class Configuration:
557
557
  "OS: {env}\n"
558
558
  "Python Version: {pyversion}\n"
559
559
  "Version of the API: 2.9.0 dev\n"
560
- "SDK Package Version: 26.9.0.dev89".format(env=sys.platform, pyversion=sys.version)
560
+ "SDK Package Version: 26.9.0.dev91".format(env=sys.platform, pyversion=sys.version)
561
561
  )
562
562
 
563
563
  def get_host_settings(self) -> List[HostSetting]:
@@ -128,6 +128,7 @@ from wandelbots_api_client.v2.models.container_image import ContainerImage
128
128
  from wandelbots_api_client.v2.models.container_image_secrets_inner import ContainerImageSecretsInner
129
129
  from wandelbots_api_client.v2.models.container_resources import ContainerResources
130
130
  from wandelbots_api_client.v2.models.container_storage import ContainerStorage
131
+ from wandelbots_api_client.v2.models.controller_coordinate_system_reference import ControllerCoordinateSystemReference
131
132
  from wandelbots_api_client.v2.models.controller_description import ControllerDescription
132
133
  from wandelbots_api_client.v2.models.controller_network_interface import ControllerNetworkInterface
133
134
  from wandelbots_api_client.v2.models.convert_vendor_configured_pose422_response import ConvertVendorConfiguredPose422Response
@@ -343,6 +344,7 @@ from wandelbots_api_client.v2.models.network_device import NetworkDevice
343
344
  from wandelbots_api_client.v2.models.network_interface import NetworkInterface
344
345
  from wandelbots_api_client.v2.models.network_link_state import NetworkLinkState
345
346
  from wandelbots_api_client.v2.models.network_state import NetworkState
347
+ from wandelbots_api_client.v2.models.object_key_page import ObjectKeyPage
346
348
  from wandelbots_api_client.v2.models.op_mode import OpMode
347
349
  from wandelbots_api_client.v2.models.operating_state import OperatingState
348
350
  from wandelbots_api_client.v2.models.operation_limits import OperationLimits
@@ -477,6 +479,7 @@ from wandelbots_api_client.v2.models.staubli_controller_rti_server import Staubl
477
479
  from wandelbots_api_client.v2.models.stop_action_chunks_request import StopActionChunksRequest
478
480
  from wandelbots_api_client.v2.models.stop_action_chunks_response import StopActionChunksResponse
479
481
  from wandelbots_api_client.v2.models.storage_key import StorageKey
482
+ from wandelbots_api_client.v2.models.storage_usage import StorageUsage
480
483
  from wandelbots_api_client.v2.models.stream_io_values_response import StreamIOValuesResponse
481
484
  from wandelbots_api_client.v2.models.system_features import SystemFeatures
482
485
  from wandelbots_api_client.v2.models.tcp_offset import TcpOffset
@@ -29,7 +29,7 @@ from pydantic_core import to_jsonable_python
29
29
 
30
30
  class AnchoredPose(BaseModel):
31
31
  """
32
- A pose that states everything that decides where the robot goes: the frame it is expressed in, the tool it was taught with, and its arm posture. All three are required, and none of them is implied by a missing or null value. It follows its frame if the frame is re-taught. Frame and tool are resolved by name when the pose is planned. The tool default is never the active tool of the motion group. A `dataset_frame` reference is only valid for a pose stored in a dataset and names a frame of that dataset (`DatasetFrame`). With a `specified` kinematic configuration, the pose reproduces the same posture. With an `unspecified` one, the planning endpoint determines the posture.
32
+ A pose that states everything that decides where the robot goes: the frame it is expressed in, the tool it was taught with, and its arm posture. All three are required, and none of them is implied by a missing or null value. It follows its frame if the frame is re-taught. Frame and tool are resolved by name when the pose is planned. The tool default is never the active tool of the motion group. A `dataset_frame` reference is only valid for a pose stored in a dataset and names a frame of that dataset (`DatasetFrame`). A `coordinate_system` reference is valid for every pose and names a coordinate system configured on a controller of the cell. With a `specified` kinematic configuration, the pose reproduces the same posture. With an `unspecified` one, the planning endpoint determines the posture.
33
33
  """ # noqa: E501
34
34
 
35
35
  pose: Pose