standardbots 2.20250801.35__py3-none-any.whl → 2.20250920.2__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 standardbots might be problematic. Click here for more details.

@@ -8183,6 +8183,7 @@ def serialize_get_messages_response(data: GetMessagesResponse) -> object:
8183
8183
  class RecorderConfig:
8184
8184
  """Config of the recorder"""
8185
8185
  isSecondary: Union[bool, None] = None
8186
+ isInference: Union[bool, None] = None
8186
8187
  userId: Union[str, None] = None
8187
8188
  taskId: Union[str, None] = None
8188
8189
  bots: Union[RecorderBotDetailsList, None] = None
@@ -8199,6 +8200,15 @@ class RecorderConfig:
8199
8200
 
8200
8201
  return [True, ""]
8201
8202
 
8203
+ def validate_isInference(self, value: bool) -> Tuple[bool, str]:
8204
+ if value is None:
8205
+ return [True, ""]
8206
+
8207
+ if not isinstance(value, bool):
8208
+ return [False, "isInference must be of type bool for RecorderConfig, got " + type(value).__name__]
8209
+
8210
+ return [True, ""]
8211
+
8202
8212
  def validate_userId(self, value: str) -> Tuple[bool, str]:
8203
8213
  if value is None:
8204
8214
  return [True, ""]
@@ -8256,6 +8266,9 @@ class RecorderConfig:
8256
8266
  def __post_init__(self):
8257
8267
  # Type check incoming model - raise error if invalid (required or wrong type)
8258
8268
  is_valid, error_str = self.validate_isSecondary(self.isSecondary)
8269
+ if not is_valid:
8270
+ raise TypeError(error_str)
8271
+ is_valid, error_str = self.validate_isInference(self.isInference)
8259
8272
  if not is_valid:
8260
8273
  raise TypeError(error_str)
8261
8274
  is_valid, error_str = self.validate_userId(self.userId)
@@ -8280,6 +8293,7 @@ class RecorderConfig:
8280
8293
  def parse_recorder_config(data: object):
8281
8294
  return RecorderConfig(
8282
8295
  isSecondary=parse_bool(data["isSecondary"]) if "isSecondary" in data and data.get("isSecondary") is not None else None,
8296
+ isInference=parse_bool(data["isInference"]) if "isInference" in data and data.get("isInference") is not None else None,
8283
8297
  userId=parse_str(data["userId"]) if "userId" in data and data.get("userId") is not None else None,
8284
8298
  taskId=parse_str(data["taskId"]) if "taskId" in data and data.get("taskId") is not None else None,
8285
8299
  bots=parse_recorder_bot_details_list(data["bots"]) if "bots" in data and data.get("bots") is not None else None,
@@ -8291,6 +8305,7 @@ def parse_recorder_config(data: object):
8291
8305
  def serialize_recorder_config(data: RecorderConfig) -> object:
8292
8306
  return {
8293
8307
  "isSecondary": None if data.isSecondary is None else serialize_bool(data.isSecondary),
8308
+ "isInference": None if data.isInference is None else serialize_bool(data.isInference),
8294
8309
  "userId": None if data.userId is None else serialize_str(data.userId),
8295
8310
  "taskId": None if data.taskId is None else serialize_str(data.taskId),
8296
8311
  "bots": None if data.bots is None else serialize_recorder_bot_details_list(data.bots),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: standardbots
3
- Version: 2.20250801.35
3
+ Version: 2.20250920.2
4
4
  Summary: Standard Bots RO1 Robotics API
5
5
  Home-page:
6
6
  Author: Standard Bots Support
@@ -1,12 +1,12 @@
1
1
  standardbots/__init__.py,sha256=PT6Z2HPama2fb6SaNhF3J1skpYABQWGgDzKEtQY6BDM,29
2
2
  standardbots/auto_generated/__init__.py,sha256=PZtDUzYcjIO6R-gE-0NzY0vFXk1Je1tJ3je0ivV5o-k,98
3
3
  standardbots/auto_generated/apis.py,sha256=PImtR3DhXTi2SAMyaXavFwKIPL_UDU8t7f50E9m-GLw,135953
4
- standardbots/auto_generated/models.py,sha256=wRruVCwZIQgMO6bQ1nvDHEPGInZWGPS8zes6rJIEJ50,375566
4
+ standardbots/auto_generated/models.py,sha256=AddfJrpXqOL0C24Qo7t60fQ4PxZXb3VaHtkNWTfY5qI,376224
5
5
  tests/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  tests/fixtures/client_fixt.py,sha256=LfeKYuYfHui-7YEFBlgtV33QN-MEI7DhAkJ6BUoZP6s,633
7
7
  tests/fixtures/robot_fixt.py,sha256=6-0SgAjhEOUeydfRRu4dRVX-no1yYQxGKesAtvoPppc,1716
8
8
  tests/fixtures/routines_fixt.py,sha256=XdcWUM0dl2SWJhtLd8-xYqI4nh4ge23SqJWquCIrQe0,2124
9
- standardbots-2.20250801.35.dist-info/METADATA,sha256=LqOFkIMQKsswYru3X4MAClJMKjADzOMFieKEj1xzjJU,552
10
- standardbots-2.20250801.35.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- standardbots-2.20250801.35.dist-info/top_level.txt,sha256=eHgNxowGe-eEE7gOyeuwXN3bHLClu-TQ1VnsOOzzTkw,19
12
- standardbots-2.20250801.35.dist-info/RECORD,,
9
+ standardbots-2.20250920.2.dist-info/METADATA,sha256=t2TwU_vyMaOLvxUMxfwiapXpmjesYo2kztodn0dopT4,551
10
+ standardbots-2.20250920.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ standardbots-2.20250920.2.dist-info/top_level.txt,sha256=eHgNxowGe-eEE7gOyeuwXN3bHLClu-TQ1VnsOOzzTkw,19
12
+ standardbots-2.20250920.2.dist-info/RECORD,,