wandelbots_api_client 26.3.0.dev29__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.
Files changed (693) hide show
  1. wandelbots_api_client/__init__.py +48 -0
  2. wandelbots_api_client/api/__init__.py +63 -0
  3. wandelbots_api_client/api/application_api.py +1514 -0
  4. wandelbots_api_client/api/cell_api.py +1424 -0
  5. wandelbots_api_client/api/controller_api.py +2951 -0
  6. wandelbots_api_client/api/controller_ios_api.py +1205 -0
  7. wandelbots_api_client/api/coordinate_systems_api.py +1267 -0
  8. wandelbots_api_client/api/device_configuration_api.py +1193 -0
  9. wandelbots_api_client/api/library_program_api.py +1326 -0
  10. wandelbots_api_client/api/library_program_metadata_api.py +1090 -0
  11. wandelbots_api_client/api/library_recipe_api.py +1351 -0
  12. wandelbots_api_client/api/library_recipe_metadata_api.py +1050 -0
  13. wandelbots_api_client/api/license_api.py +865 -0
  14. wandelbots_api_client/api/motion_api.py +3596 -0
  15. wandelbots_api_client/api/motion_group_api.py +956 -0
  16. wandelbots_api_client/api/motion_group_infos_api.py +2611 -0
  17. wandelbots_api_client/api/motion_group_jogging_api.py +685 -0
  18. wandelbots_api_client/api/motion_group_kinematic_api.py +1055 -0
  19. wandelbots_api_client/api/program_api.py +1987 -0
  20. wandelbots_api_client/api/program_operator_api.py +1881 -0
  21. wandelbots_api_client/api/program_values_api.py +1444 -0
  22. wandelbots_api_client/api/store_collision_components_api.py +3074 -0
  23. wandelbots_api_client/api/store_collision_scenes_api.py +951 -0
  24. wandelbots_api_client/api/store_object_api.py +1387 -0
  25. wandelbots_api_client/api/system_api.py +1075 -0
  26. wandelbots_api_client/api/version_api.py +237 -0
  27. wandelbots_api_client/api/virtual_robot_api.py +1583 -0
  28. wandelbots_api_client/api/virtual_robot_behavior_api.py +649 -0
  29. wandelbots_api_client/api/virtual_robot_mode_api.py +1467 -0
  30. wandelbots_api_client/api/virtual_robot_setup_api.py +2116 -0
  31. wandelbots_api_client/api_client.py +688 -0
  32. wandelbots_api_client/api_response.py +20 -0
  33. wandelbots_api_client/authorization.py +243 -0
  34. wandelbots_api_client/configuration.py +579 -0
  35. wandelbots_api_client/exceptions.py +216 -0
  36. wandelbots_api_client/models/__init__.py +316 -0
  37. wandelbots_api_client/models/abb_controller.py +112 -0
  38. wandelbots_api_client/models/abb_controller_egm_server.py +87 -0
  39. wandelbots_api_client/models/activate_license_request.py +86 -0
  40. wandelbots_api_client/models/add_request.py +95 -0
  41. wandelbots_api_client/models/all_joint_positions_request.py +96 -0
  42. wandelbots_api_client/models/all_joint_positions_response.py +109 -0
  43. wandelbots_api_client/models/api_version.py +86 -0
  44. wandelbots_api_client/models/app.py +148 -0
  45. wandelbots_api_client/models/array_input.py +114 -0
  46. wandelbots_api_client/models/array_output.py +116 -0
  47. wandelbots_api_client/models/behavior.py +35 -0
  48. wandelbots_api_client/models/blending_auto.py +99 -0
  49. wandelbots_api_client/models/blending_position.py +97 -0
  50. wandelbots_api_client/models/box.py +98 -0
  51. wandelbots_api_client/models/box2.py +112 -0
  52. wandelbots_api_client/models/box3.py +112 -0
  53. wandelbots_api_client/models/capsule.py +87 -0
  54. wandelbots_api_client/models/capsule2.py +97 -0
  55. wandelbots_api_client/models/capsule3.py +101 -0
  56. wandelbots_api_client/models/capture.py +86 -0
  57. wandelbots_api_client/models/cell.py +142 -0
  58. wandelbots_api_client/models/circle.py +99 -0
  59. wandelbots_api_client/models/code_with_arguments.py +108 -0
  60. wandelbots_api_client/models/collection_value.py +322 -0
  61. wandelbots_api_client/models/collider.py +105 -0
  62. wandelbots_api_client/models/collider_input.py +105 -0
  63. wandelbots_api_client/models/collider_output.py +105 -0
  64. wandelbots_api_client/models/collider_output_shape.py +242 -0
  65. wandelbots_api_client/models/collider_shape.py +280 -0
  66. wandelbots_api_client/models/collision.py +110 -0
  67. wandelbots_api_client/models/collision_contact.py +92 -0
  68. wandelbots_api_client/models/collision_motion_group.py +124 -0
  69. wandelbots_api_client/models/collision_motion_group_assembly.py +128 -0
  70. wandelbots_api_client/models/collision_robot_configuration_input.py +121 -0
  71. wandelbots_api_client/models/collision_robot_configuration_output.py +121 -0
  72. wandelbots_api_client/models/collision_scene.py +117 -0
  73. wandelbots_api_client/models/collision_scene_assembly.py +133 -0
  74. wandelbots_api_client/models/command.py +140 -0
  75. wandelbots_api_client/models/command_settings.py +104 -0
  76. wandelbots_api_client/models/comparator.py +39 -0
  77. wandelbots_api_client/models/compound.py +114 -0
  78. wandelbots_api_client/models/container_environment_inner.py +87 -0
  79. wandelbots_api_client/models/container_image.py +122 -0
  80. wandelbots_api_client/models/container_image_secrets_inner.py +86 -0
  81. wandelbots_api_client/models/container_resources.py +89 -0
  82. wandelbots_api_client/models/container_storage.py +97 -0
  83. wandelbots_api_client/models/controller_capabilities.py +89 -0
  84. wandelbots_api_client/models/controller_instance.py +148 -0
  85. wandelbots_api_client/models/controller_instance_list.py +109 -0
  86. wandelbots_api_client/models/convex_hull.py +109 -0
  87. wandelbots_api_client/models/convex_hull2.py +97 -0
  88. wandelbots_api_client/models/convex_hull3.py +97 -0
  89. wandelbots_api_client/models/coordinate_system.py +108 -0
  90. wandelbots_api_client/models/coordinate_systems.py +109 -0
  91. wandelbots_api_client/models/create_program_run200_response.py +88 -0
  92. wandelbots_api_client/models/create_program_run_request.py +86 -0
  93. wandelbots_api_client/models/create_trigger200_response.py +86 -0
  94. wandelbots_api_client/models/create_trigger_request.py +101 -0
  95. wandelbots_api_client/models/cubic_spline.py +109 -0
  96. wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +93 -0
  97. wandelbots_api_client/models/cubic_spline_parameter.py +93 -0
  98. wandelbots_api_client/models/cycle_time.py +86 -0
  99. wandelbots_api_client/models/cylinder.py +87 -0
  100. wandelbots_api_client/models/cylinder2.py +95 -0
  101. wandelbots_api_client/models/cylinder3.py +101 -0
  102. wandelbots_api_client/models/devices_inner.py +321 -0
  103. wandelbots_api_client/models/dh_parameter.py +98 -0
  104. wandelbots_api_client/models/direction.py +34 -0
  105. wandelbots_api_client/models/direction_jogging_request.py +136 -0
  106. wandelbots_api_client/models/error.py +87 -0
  107. wandelbots_api_client/models/execute_trajectory_request.py +182 -0
  108. wandelbots_api_client/models/execute_trajectory_response.py +223 -0
  109. wandelbots_api_client/models/execution_result.py +113 -0
  110. wandelbots_api_client/models/external_joint_stream_datapoint.py +96 -0
  111. wandelbots_api_client/models/external_joint_stream_datapoint_value.py +96 -0
  112. wandelbots_api_client/models/fanuc_controller.py +99 -0
  113. wandelbots_api_client/models/feedback_collision.py +126 -0
  114. wandelbots_api_client/models/feedback_joint_limit_exceeded.py +101 -0
  115. wandelbots_api_client/models/feedback_out_of_workspace.py +103 -0
  116. wandelbots_api_client/models/feedback_singularity.py +102 -0
  117. wandelbots_api_client/models/flag.py +86 -0
  118. wandelbots_api_client/models/force_vector.py +103 -0
  119. wandelbots_api_client/models/geometry.py +167 -0
  120. wandelbots_api_client/models/get_all_program_runs200_response.py +109 -0
  121. wandelbots_api_client/models/get_all_triggers200_response.py +109 -0
  122. wandelbots_api_client/models/get_mode_response.py +87 -0
  123. wandelbots_api_client/models/get_trajectory_response.py +112 -0
  124. wandelbots_api_client/models/get_trajectory_sample_response.py +90 -0
  125. wandelbots_api_client/models/google_protobuf_any.py +102 -0
  126. wandelbots_api_client/models/http_exception_response.py +86 -0
  127. wandelbots_api_client/models/http_validation_error.py +109 -0
  128. wandelbots_api_client/models/http_validation_error2.py +109 -0
  129. wandelbots_api_client/models/image_credentials.py +88 -0
  130. wandelbots_api_client/models/info_service_capabilities.py +110 -0
  131. wandelbots_api_client/models/initialize_movement_request.py +111 -0
  132. wandelbots_api_client/models/initialize_movement_response.py +96 -0
  133. wandelbots_api_client/models/initialize_movement_response_init_response.py +89 -0
  134. wandelbots_api_client/models/io.py +105 -0
  135. wandelbots_api_client/models/io_description.py +156 -0
  136. wandelbots_api_client/models/io_value.py +104 -0
  137. wandelbots_api_client/models/ios.py +109 -0
  138. wandelbots_api_client/models/jogging_response.py +117 -0
  139. wandelbots_api_client/models/jogging_service_capabilities.py +87 -0
  140. wandelbots_api_client/models/joint_jogging_request.py +108 -0
  141. wandelbots_api_client/models/joint_limit.py +123 -0
  142. wandelbots_api_client/models/joint_limit_exceeded.py +96 -0
  143. wandelbots_api_client/models/joint_position_request.py +104 -0
  144. wandelbots_api_client/models/joint_trajectory.py +117 -0
  145. wandelbots_api_client/models/joints.py +86 -0
  146. wandelbots_api_client/models/kinematic_service_capabilities.py +96 -0
  147. wandelbots_api_client/models/kuka_controller.py +112 -0
  148. wandelbots_api_client/models/kuka_controller_rsi_server.py +92 -0
  149. wandelbots_api_client/models/license.py +124 -0
  150. wandelbots_api_client/models/license_status.py +88 -0
  151. wandelbots_api_client/models/license_status_enum.py +37 -0
  152. wandelbots_api_client/models/limit_settings.py +223 -0
  153. wandelbots_api_client/models/limits_override.py +132 -0
  154. wandelbots_api_client/models/list_io_descriptions_response.py +109 -0
  155. wandelbots_api_client/models/list_io_values_response.py +109 -0
  156. wandelbots_api_client/models/list_payloads_response.py +109 -0
  157. wandelbots_api_client/models/list_program_metadata_response.py +109 -0
  158. wandelbots_api_client/models/list_recipe_metadata_response.py +109 -0
  159. wandelbots_api_client/models/list_response.py +109 -0
  160. wandelbots_api_client/models/list_tcps_response.py +112 -0
  161. wandelbots_api_client/models/location_inner.py +153 -0
  162. wandelbots_api_client/models/location_inner1.py +142 -0
  163. wandelbots_api_client/models/manufacturer.py +37 -0
  164. wandelbots_api_client/models/mode_change_response.py +97 -0
  165. wandelbots_api_client/models/motion_command.py +109 -0
  166. wandelbots_api_client/models/motion_command_blending.py +164 -0
  167. wandelbots_api_client/models/motion_command_path.py +221 -0
  168. wandelbots_api_client/models/motion_group_behavior_getter.py +87 -0
  169. wandelbots_api_client/models/motion_group_info.py +88 -0
  170. wandelbots_api_client/models/motion_group_infos.py +109 -0
  171. wandelbots_api_client/models/motion_group_instance.py +101 -0
  172. wandelbots_api_client/models/motion_group_instance_list.py +109 -0
  173. wandelbots_api_client/models/motion_group_joints.py +100 -0
  174. wandelbots_api_client/models/motion_group_physical.py +105 -0
  175. wandelbots_api_client/models/motion_group_specification.py +136 -0
  176. wandelbots_api_client/models/motion_group_state.py +180 -0
  177. wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +86 -0
  178. wandelbots_api_client/models/motion_group_state_response.py +103 -0
  179. wandelbots_api_client/models/motion_id.py +88 -0
  180. wandelbots_api_client/models/motion_ids_list_response.py +89 -0
  181. wandelbots_api_client/models/motion_vector.py +103 -0
  182. wandelbots_api_client/models/mounting.py +98 -0
  183. wandelbots_api_client/models/move_request.py +162 -0
  184. wandelbots_api_client/models/move_response.py +91 -0
  185. wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +107 -0
  186. wandelbots_api_client/models/movement.py +90 -0
  187. wandelbots_api_client/models/movement_error.py +90 -0
  188. wandelbots_api_client/models/movement_error_error.py +86 -0
  189. wandelbots_api_client/models/movement_movement.py +98 -0
  190. wandelbots_api_client/models/op_mode.py +93 -0
  191. wandelbots_api_client/models/opcua_node_value_trigger_config.py +100 -0
  192. wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +159 -0
  193. wandelbots_api_client/models/optimizer_setup.py +145 -0
  194. wandelbots_api_client/models/out_of_workspace.py +92 -0
  195. wandelbots_api_client/models/path.py +109 -0
  196. wandelbots_api_client/models/path_cartesian_ptp.py +103 -0
  197. wandelbots_api_client/models/path_circle.py +108 -0
  198. wandelbots_api_client/models/path_cubic_spline.py +118 -0
  199. wandelbots_api_client/models/path_joint_ptp.py +96 -0
  200. wandelbots_api_client/models/path_line.py +103 -0
  201. wandelbots_api_client/models/pause_movement_request.py +95 -0
  202. wandelbots_api_client/models/pause_movement_response.py +96 -0
  203. wandelbots_api_client/models/pause_movement_response_pause_response.py +89 -0
  204. wandelbots_api_client/models/pause_on_io.py +96 -0
  205. wandelbots_api_client/models/payload.py +103 -0
  206. wandelbots_api_client/models/plan_collision_free_ptp_request.py +131 -0
  207. wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +150 -0
  208. wandelbots_api_client/models/plan_failed_on_trajectory_response.py +149 -0
  209. wandelbots_api_client/models/plan_failed_response.py +136 -0
  210. wandelbots_api_client/models/plan_request.py +127 -0
  211. wandelbots_api_client/models/plan_response.py +112 -0
  212. wandelbots_api_client/models/plan_successful_response.py +100 -0
  213. wandelbots_api_client/models/plan_trajectory_failed_response.py +106 -0
  214. wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +209 -0
  215. wandelbots_api_client/models/plan_trajectory_request.py +154 -0
  216. wandelbots_api_client/models/plan_trajectory_response.py +92 -0
  217. wandelbots_api_client/models/plan_trajectory_response_response.py +147 -0
  218. wandelbots_api_client/models/plane2.py +93 -0
  219. wandelbots_api_client/models/plane3.py +93 -0
  220. wandelbots_api_client/models/planned_motion.py +125 -0
  221. wandelbots_api_client/models/planner_pose.py +100 -0
  222. wandelbots_api_client/models/planning_limits.py +168 -0
  223. wandelbots_api_client/models/planning_limits_limit_range.py +87 -0
  224. wandelbots_api_client/models/playback_speed_request.py +94 -0
  225. wandelbots_api_client/models/playback_speed_response.py +96 -0
  226. wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +86 -0
  227. wandelbots_api_client/models/point_cloud.py +86 -0
  228. wandelbots_api_client/models/pose.py +107 -0
  229. wandelbots_api_client/models/pose2.py +93 -0
  230. wandelbots_api_client/models/program_metadata.py +100 -0
  231. wandelbots_api_client/models/program_run.py +168 -0
  232. wandelbots_api_client/models/program_run_object.py +103 -0
  233. wandelbots_api_client/models/program_run_state.py +37 -0
  234. wandelbots_api_client/models/program_runner_reference.py +88 -0
  235. wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +88 -0
  236. wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +87 -0
  237. wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +87 -0
  238. wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +87 -0
  239. wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +101 -0
  240. wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +101 -0
  241. wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +99 -0
  242. wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +107 -0
  243. wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +119 -0
  244. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +130 -0
  245. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +130 -0
  246. wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +102 -0
  247. wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +99 -0
  248. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +94 -0
  249. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +94 -0
  250. wandelbots_api_client/models/quaternion.py +89 -0
  251. wandelbots_api_client/models/recipe_metadata.py +102 -0
  252. wandelbots_api_client/models/rectangle.py +87 -0
  253. wandelbots_api_client/models/rectangle2.py +95 -0
  254. wandelbots_api_client/models/rectangle3.py +101 -0
  255. wandelbots_api_client/models/rectangular_capsule.py +94 -0
  256. wandelbots_api_client/models/rectangular_capsule2.py +103 -0
  257. wandelbots_api_client/models/rectangular_capsule3.py +103 -0
  258. wandelbots_api_client/models/release_channel.py +34 -0
  259. wandelbots_api_client/models/request.py +142 -0
  260. wandelbots_api_client/models/request1.py +140 -0
  261. wandelbots_api_client/models/response_get_devices_devices_get_inner.py +321 -0
  262. wandelbots_api_client/models/response_get_value_programs_values_key_get.py +317 -0
  263. wandelbots_api_client/models/response_get_values_programs_values_get_value.py +322 -0
  264. wandelbots_api_client/models/robot_controller.py +108 -0
  265. wandelbots_api_client/models/robot_controller_configuration.py +262 -0
  266. wandelbots_api_client/models/robot_controller_state.py +191 -0
  267. wandelbots_api_client/models/robot_link_geometry.py +98 -0
  268. wandelbots_api_client/models/robot_state.py +101 -0
  269. wandelbots_api_client/models/robot_system_mode.py +37 -0
  270. wandelbots_api_client/models/robot_tcp.py +104 -0
  271. wandelbots_api_client/models/robot_tcps.py +109 -0
  272. wandelbots_api_client/models/rotation_angle_types.py +58 -0
  273. wandelbots_api_client/models/rotation_angles.py +91 -0
  274. wandelbots_api_client/models/safety_configuration.py +182 -0
  275. wandelbots_api_client/models/safety_setup.py +172 -0
  276. wandelbots_api_client/models/safety_setup_safety_settings.py +106 -0
  277. wandelbots_api_client/models/safety_setup_safety_zone.py +103 -0
  278. wandelbots_api_client/models/safety_zone.py +98 -0
  279. wandelbots_api_client/models/safety_zone_limits.py +96 -0
  280. wandelbots_api_client/models/safety_zone_violation.py +86 -0
  281. wandelbots_api_client/models/service_status.py +96 -0
  282. wandelbots_api_client/models/service_status_phase.py +46 -0
  283. wandelbots_api_client/models/service_status_severity.py +35 -0
  284. wandelbots_api_client/models/service_status_status.py +90 -0
  285. wandelbots_api_client/models/set_io.py +93 -0
  286. wandelbots_api_client/models/set_playback_speed.py +91 -0
  287. wandelbots_api_client/models/single_joint_limit.py +112 -0
  288. wandelbots_api_client/models/singularity.py +110 -0
  289. wandelbots_api_client/models/singularity_type_enum.py +35 -0
  290. wandelbots_api_client/models/sphere.py +86 -0
  291. wandelbots_api_client/models/sphere2.py +94 -0
  292. wandelbots_api_client/models/sphere3.py +96 -0
  293. wandelbots_api_client/models/standstill.py +92 -0
  294. wandelbots_api_client/models/standstill_reason.py +36 -0
  295. wandelbots_api_client/models/standstill_standstill.py +99 -0
  296. wandelbots_api_client/models/start_movement_request.py +135 -0
  297. wandelbots_api_client/models/start_on_io.py +96 -0
  298. wandelbots_api_client/models/status.py +119 -0
  299. wandelbots_api_client/models/stop_response.py +109 -0
  300. wandelbots_api_client/models/store_value.py +349 -0
  301. wandelbots_api_client/models/stream_move_backward.py +90 -0
  302. wandelbots_api_client/models/stream_move_forward.py +90 -0
  303. wandelbots_api_client/models/stream_move_playback_speed.py +92 -0
  304. wandelbots_api_client/models/stream_move_request.py +207 -0
  305. wandelbots_api_client/models/stream_move_response.py +110 -0
  306. wandelbots_api_client/models/stream_move_to_trajectory.py +96 -0
  307. wandelbots_api_client/models/stream_stop.py +90 -0
  308. wandelbots_api_client/models/tcp_pose.py +105 -0
  309. wandelbots_api_client/models/tcp_pose_request.py +106 -0
  310. wandelbots_api_client/models/tool_geometry.py +111 -0
  311. wandelbots_api_client/models/trajectory_sample.py +139 -0
  312. wandelbots_api_client/models/trigger_object.py +110 -0
  313. wandelbots_api_client/models/trigger_type.py +33 -0
  314. wandelbots_api_client/models/universalrobots_controller.py +102 -0
  315. wandelbots_api_client/models/update_nova_version_request.py +87 -0
  316. wandelbots_api_client/models/update_program_metadata_request.py +88 -0
  317. wandelbots_api_client/models/update_recipe_metadata_request.py +88 -0
  318. wandelbots_api_client/models/update_trigger_request.py +100 -0
  319. wandelbots_api_client/models/validation_error.py +113 -0
  320. wandelbots_api_client/models/validation_error2.py +113 -0
  321. wandelbots_api_client/models/value.py +317 -0
  322. wandelbots_api_client/models/vector3d.py +88 -0
  323. wandelbots_api_client/models/version_number.py +113 -0
  324. wandelbots_api_client/models/virtual_controller.py +117 -0
  325. wandelbots_api_client/models/virtual_controller_types.py +153 -0
  326. wandelbots_api_client/models/virtual_robot_configuration.py +91 -0
  327. wandelbots_api_client/models/yaskawa_controller.py +99 -0
  328. wandelbots_api_client/py.typed +0 -0
  329. wandelbots_api_client/rest.py +188 -0
  330. wandelbots_api_client/v2/__init__.py +49 -0
  331. wandelbots_api_client/v2/api/__init__.py +55 -0
  332. wandelbots_api_client/v2/api/application_api.py +1532 -0
  333. wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +4534 -0
  334. wandelbots_api_client/v2/api/cell_api.py +2163 -0
  335. wandelbots_api_client/v2/api/controller_api.py +3238 -0
  336. wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +1244 -0
  337. wandelbots_api_client/v2/api/jogging_api.py +113 -0
  338. wandelbots_api_client/v2/api/kinematics_api.py +555 -0
  339. wandelbots_api_client/v2/api/license_api.py +877 -0
  340. wandelbots_api_client/v2/api/motion_group_api.py +689 -0
  341. wandelbots_api_client/v2/api/motion_group_models_api.py +1222 -0
  342. wandelbots_api_client/v2/api/nova_cloud_api.py +760 -0
  343. wandelbots_api_client/v2/api/program_api.py +988 -0
  344. wandelbots_api_client/v2/api/robot_configurations_api.py +485 -0
  345. wandelbots_api_client/v2/api/store_collision_components_api.py +3479 -0
  346. wandelbots_api_client/v2/api/store_collision_setups_api.py +1169 -0
  347. wandelbots_api_client/v2/api/store_object_api.py +1414 -0
  348. wandelbots_api_client/v2/api/system_api.py +2696 -0
  349. wandelbots_api_client/v2/api/trajectory_caching_api.py +1339 -0
  350. wandelbots_api_client/v2/api/trajectory_execution_api.py +115 -0
  351. wandelbots_api_client/v2/api/trajectory_planning_api.py +811 -0
  352. wandelbots_api_client/v2/api/version_api.py +240 -0
  353. wandelbots_api_client/v2/api/virtual_controller_api.py +4534 -0
  354. wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +863 -0
  355. wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +895 -0
  356. wandelbots_api_client/v2/api_client.py +692 -0
  357. wandelbots_api_client/v2/api_response.py +20 -0
  358. wandelbots_api_client/v2/configuration.py +579 -0
  359. wandelbots_api_client/v2/exceptions.py +216 -0
  360. wandelbots_api_client/v2/models/__init__.py +317 -0
  361. wandelbots_api_client/v2/models/abb_controller.py +104 -0
  362. wandelbots_api_client/v2/models/abb_controller_egm_server.py +84 -0
  363. wandelbots_api_client/v2/models/activate_license_request.py +83 -0
  364. wandelbots_api_client/v2/models/add_trajectory_error.py +95 -0
  365. wandelbots_api_client/v2/models/add_trajectory_error_data.py +298 -0
  366. wandelbots_api_client/v2/models/add_trajectory_request.py +97 -0
  367. wandelbots_api_client/v2/models/add_trajectory_response.py +99 -0
  368. wandelbots_api_client/v2/models/add_virtual_controller_motion_group_request.py +147 -0
  369. wandelbots_api_client/v2/models/api_version.py +83 -0
  370. wandelbots_api_client/v2/models/app.py +156 -0
  371. wandelbots_api_client/v2/models/behavior.py +35 -0
  372. wandelbots_api_client/v2/models/blending_auto.py +97 -0
  373. wandelbots_api_client/v2/models/blending_position.py +143 -0
  374. wandelbots_api_client/v2/models/blending_space.py +34 -0
  375. wandelbots_api_client/v2/models/boolean_value.py +91 -0
  376. wandelbots_api_client/v2/models/box.py +109 -0
  377. wandelbots_api_client/v2/models/bus_io_description.py +111 -0
  378. wandelbots_api_client/v2/models/bus_io_modbus_client.py +100 -0
  379. wandelbots_api_client/v2/models/bus_io_modbus_server.py +127 -0
  380. wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +98 -0
  381. wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +97 -0
  382. wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +90 -0
  383. wandelbots_api_client/v2/models/bus_io_profinet.py +131 -0
  384. wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +84 -0
  385. wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +85 -0
  386. wandelbots_api_client/v2/models/bus_io_profinet_network.py +101 -0
  387. wandelbots_api_client/v2/models/bus_io_profinet_slot.py +92 -0
  388. wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +90 -0
  389. wandelbots_api_client/v2/models/bus_io_type.py +223 -0
  390. wandelbots_api_client/v2/models/bus_ios_state.py +88 -0
  391. wandelbots_api_client/v2/models/bus_ios_state_enum.py +36 -0
  392. wandelbots_api_client/v2/models/capsule.py +94 -0
  393. wandelbots_api_client/v2/models/cartesian_limits.py +108 -0
  394. wandelbots_api_client/v2/models/cell.py +127 -0
  395. wandelbots_api_client/v2/models/cloud_config_status.py +164 -0
  396. wandelbots_api_client/v2/models/cloud_config_status_configured.py +97 -0
  397. wandelbots_api_client/v2/models/cloud_config_status_not_configured.py +90 -0
  398. wandelbots_api_client/v2/models/cloud_configuration.py +84 -0
  399. wandelbots_api_client/v2/models/cloud_connection_error.py +87 -0
  400. wandelbots_api_client/v2/models/cloud_connection_error_error.py +275 -0
  401. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token.py +102 -0
  402. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details.py +95 -0
  403. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details_cloud_response.py +90 -0
  404. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error.py +106 -0
  405. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error_details.py +83 -0
  406. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_timeout.py +91 -0
  407. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_restart_timeout.py +91 -0
  408. wandelbots_api_client/v2/models/cloud_connection_error_nats_failed.py +102 -0
  409. wandelbots_api_client/v2/models/cloud_connection_error_nats_failed_details.py +84 -0
  410. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response.py +104 -0
  411. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details.py +95 -0
  412. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details_cloud_response.py +85 -0
  413. wandelbots_api_client/v2/models/cloud_connection_request.py +98 -0
  414. wandelbots_api_client/v2/models/cloud_disconnection_error.py +89 -0
  415. wandelbots_api_client/v2/models/cloud_disconnection_status_disconnected.py +90 -0
  416. wandelbots_api_client/v2/models/cloud_disconnection_status_disconnecting.py +90 -0
  417. wandelbots_api_client/v2/models/cloud_registration_success_response.py +83 -0
  418. wandelbots_api_client/v2/models/collider.py +102 -0
  419. wandelbots_api_client/v2/models/collider_shape.py +278 -0
  420. wandelbots_api_client/v2/models/collision.py +107 -0
  421. wandelbots_api_client/v2/models/collision_contact.py +89 -0
  422. wandelbots_api_client/v2/models/collision_error.py +100 -0
  423. wandelbots_api_client/v2/models/collision_free_algorithm.py +164 -0
  424. wandelbots_api_client/v2/models/collision_setup.py +130 -0
  425. wandelbots_api_client/v2/models/comparator.py +38 -0
  426. wandelbots_api_client/v2/models/configuration_archive_status.py +197 -0
  427. wandelbots_api_client/v2/models/configuration_archive_status_creating.py +94 -0
  428. wandelbots_api_client/v2/models/configuration_archive_status_error.py +91 -0
  429. wandelbots_api_client/v2/models/configuration_archive_status_success.py +90 -0
  430. wandelbots_api_client/v2/models/configuration_resource.py +104 -0
  431. wandelbots_api_client/v2/models/container_environment_inner.py +84 -0
  432. wandelbots_api_client/v2/models/container_image.py +110 -0
  433. wandelbots_api_client/v2/models/container_image_secrets_inner.py +83 -0
  434. wandelbots_api_client/v2/models/container_resources.py +87 -0
  435. wandelbots_api_client/v2/models/container_storage.py +94 -0
  436. wandelbots_api_client/v2/models/controller_description.py +97 -0
  437. wandelbots_api_client/v2/models/convex_hull.py +94 -0
  438. wandelbots_api_client/v2/models/coordinate_system.py +115 -0
  439. wandelbots_api_client/v2/models/coordinate_system_data.py +106 -0
  440. wandelbots_api_client/v2/models/cubic_spline_parameter.py +90 -0
  441. wandelbots_api_client/v2/models/cycle_time.py +86 -0
  442. wandelbots_api_client/v2/models/cylinder.py +92 -0
  443. wandelbots_api_client/v2/models/dh_parameter.py +98 -0
  444. wandelbots_api_client/v2/models/direction.py +34 -0
  445. wandelbots_api_client/v2/models/error.py +84 -0
  446. wandelbots_api_client/v2/models/error_invalid_joint_count.py +98 -0
  447. wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
  448. wandelbots_api_client/v2/models/error_joint_position_collision.py +106 -0
  449. wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +91 -0
  450. wandelbots_api_client/v2/models/execute.py +95 -0
  451. wandelbots_api_client/v2/models/execute_details.py +164 -0
  452. wandelbots_api_client/v2/models/execute_jogging_request.py +204 -0
  453. wandelbots_api_client/v2/models/execute_jogging_response.py +246 -0
  454. wandelbots_api_client/v2/models/execute_trajectory_request.py +209 -0
  455. wandelbots_api_client/v2/models/execute_trajectory_response.py +246 -0
  456. wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +93 -0
  457. wandelbots_api_client/v2/models/external_joint_stream_request.py +97 -0
  458. wandelbots_api_client/v2/models/fanuc_controller.py +91 -0
  459. wandelbots_api_client/v2/models/feedback_collision.py +112 -0
  460. wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +99 -0
  461. wandelbots_api_client/v2/models/feedback_no_solution_in_current_configuration.py +100 -0
  462. wandelbots_api_client/v2/models/feedback_out_of_workspace.py +100 -0
  463. wandelbots_api_client/v2/models/feedback_singularity.py +99 -0
  464. wandelbots_api_client/v2/models/flag.py +83 -0
  465. wandelbots_api_client/v2/models/flange_payload.py +98 -0
  466. wandelbots_api_client/v2/models/float_value.py +91 -0
  467. wandelbots_api_client/v2/models/forward_kinematics422_response.py +97 -0
  468. wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
  469. wandelbots_api_client/v2/models/forward_kinematics_response.py +93 -0
  470. wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +107 -0
  471. wandelbots_api_client/v2/models/get_trajectory_response.py +97 -0
  472. wandelbots_api_client/v2/models/http_validation_error.py +93 -0
  473. wandelbots_api_client/v2/models/image_credentials.py +85 -0
  474. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +106 -0
  475. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +91 -0
  476. wandelbots_api_client/v2/models/initialize_jogging_request.py +95 -0
  477. wandelbots_api_client/v2/models/initialize_jogging_response.py +91 -0
  478. wandelbots_api_client/v2/models/initialize_movement_request.py +112 -0
  479. wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +164 -0
  480. wandelbots_api_client/v2/models/initialize_movement_response.py +107 -0
  481. wandelbots_api_client/v2/models/integer_value.py +91 -0
  482. wandelbots_api_client/v2/models/invalid_dof_error.py +100 -0
  483. wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +86 -0
  484. wandelbots_api_client/v2/models/inverse_kinematics422_response.py +97 -0
  485. wandelbots_api_client/v2/models/inverse_kinematics_request.py +152 -0
  486. wandelbots_api_client/v2/models/inverse_kinematics_response.py +83 -0
  487. wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +107 -0
  488. wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +164 -0
  489. wandelbots_api_client/v2/models/io_boolean_value.py +92 -0
  490. wandelbots_api_client/v2/models/io_boundary.py +183 -0
  491. wandelbots_api_client/v2/models/io_description.py +116 -0
  492. wandelbots_api_client/v2/models/io_direction.py +34 -0
  493. wandelbots_api_client/v2/models/io_float_value.py +92 -0
  494. wandelbots_api_client/v2/models/io_integer_value.py +94 -0
  495. wandelbots_api_client/v2/models/io_origin.py +34 -0
  496. wandelbots_api_client/v2/models/io_value.py +183 -0
  497. wandelbots_api_client/v2/models/io_value_type.py +35 -0
  498. wandelbots_api_client/v2/models/jogging_details.py +97 -0
  499. wandelbots_api_client/v2/models/jogging_details_state.py +275 -0
  500. wandelbots_api_client/v2/models/jogging_paused_by_user.py +90 -0
  501. wandelbots_api_client/v2/models/jogging_paused_near_collision.py +91 -0
  502. wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +92 -0
  503. wandelbots_api_client/v2/models/jogging_paused_near_singularity.py +91 -0
  504. wandelbots_api_client/v2/models/jogging_paused_on_io.py +90 -0
  505. wandelbots_api_client/v2/models/jogging_running.py +90 -0
  506. wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +102 -0
  507. wandelbots_api_client/v2/models/joint_limits.py +101 -0
  508. wandelbots_api_client/v2/models/joint_trajectory.py +89 -0
  509. wandelbots_api_client/v2/models/joint_type_enum.py +34 -0
  510. wandelbots_api_client/v2/models/joint_velocity_request.py +91 -0
  511. wandelbots_api_client/v2/models/joint_velocity_response.py +91 -0
  512. wandelbots_api_client/v2/models/kinematic_model.py +118 -0
  513. wandelbots_api_client/v2/models/kuka_controller.py +106 -0
  514. wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +89 -0
  515. wandelbots_api_client/v2/models/license.py +121 -0
  516. wandelbots_api_client/v2/models/license_status.py +85 -0
  517. wandelbots_api_client/v2/models/license_status_enum.py +37 -0
  518. wandelbots_api_client/v2/models/limit_range.py +84 -0
  519. wandelbots_api_client/v2/models/limit_set.py +118 -0
  520. wandelbots_api_client/v2/models/limits_override.py +136 -0
  521. wandelbots_api_client/v2/models/list_trajectories_response.py +86 -0
  522. wandelbots_api_client/v2/models/location1_inner.py +153 -0
  523. wandelbots_api_client/v2/models/manufacturer.py +37 -0
  524. wandelbots_api_client/v2/models/merge_trajectories422_response.py +97 -0
  525. wandelbots_api_client/v2/models/merge_trajectories_error.py +97 -0
  526. wandelbots_api_client/v2/models/merge_trajectories_error_error_feedback.py +209 -0
  527. wandelbots_api_client/v2/models/merge_trajectories_request.py +107 -0
  528. wandelbots_api_client/v2/models/merge_trajectories_response.py +109 -0
  529. wandelbots_api_client/v2/models/merge_trajectories_response_feedback_inner.py +147 -0
  530. wandelbots_api_client/v2/models/merge_trajectories_segment.py +126 -0
  531. wandelbots_api_client/v2/models/merge_trajectories_validation_error.py +109 -0
  532. wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +102 -0
  533. wandelbots_api_client/v2/models/modbus_io.py +109 -0
  534. wandelbots_api_client/v2/models/modbus_io_area.py +37 -0
  535. wandelbots_api_client/v2/models/modbus_io_byte_order.py +37 -0
  536. wandelbots_api_client/v2/models/modbus_io_data.py +105 -0
  537. wandelbots_api_client/v2/models/modbus_io_type_enum.py +36 -0
  538. wandelbots_api_client/v2/models/motion_command.py +106 -0
  539. wandelbots_api_client/v2/models/motion_command_blending.py +164 -0
  540. wandelbots_api_client/v2/models/motion_command_path.py +221 -0
  541. wandelbots_api_client/v2/models/motion_group_description.py +235 -0
  542. wandelbots_api_client/v2/models/motion_group_from_json.py +100 -0
  543. wandelbots_api_client/v2/models/motion_group_from_type.py +96 -0
  544. wandelbots_api_client/v2/models/motion_group_info.py +90 -0
  545. wandelbots_api_client/v2/models/motion_group_joints.py +97 -0
  546. wandelbots_api_client/v2/models/motion_group_setup.py +140 -0
  547. wandelbots_api_client/v2/models/motion_group_state.py +182 -0
  548. wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +83 -0
  549. wandelbots_api_client/v2/models/movement_error_response.py +91 -0
  550. wandelbots_api_client/v2/models/nan_value_error.py +100 -0
  551. wandelbots_api_client/v2/models/nan_value_error_nan_value.py +85 -0
  552. wandelbots_api_client/v2/models/network_device.py +85 -0
  553. wandelbots_api_client/v2/models/network_interface.py +86 -0
  554. wandelbots_api_client/v2/models/network_state.py +125 -0
  555. wandelbots_api_client/v2/models/op_mode.py +84 -0
  556. wandelbots_api_client/v2/models/operating_state.py +34 -0
  557. wandelbots_api_client/v2/models/operation_limits.py +106 -0
  558. wandelbots_api_client/v2/models/operation_mode.py +42 -0
  559. wandelbots_api_client/v2/models/orientation_type.py +58 -0
  560. wandelbots_api_client/v2/models/path_cartesian_ptp.py +100 -0
  561. wandelbots_api_client/v2/models/path_circle.py +105 -0
  562. wandelbots_api_client/v2/models/path_cubic_spline.py +106 -0
  563. wandelbots_api_client/v2/models/path_joint_ptp.py +93 -0
  564. wandelbots_api_client/v2/models/path_line.py +100 -0
  565. wandelbots_api_client/v2/models/pause_jogging_request.py +90 -0
  566. wandelbots_api_client/v2/models/pause_jogging_response.py +91 -0
  567. wandelbots_api_client/v2/models/pause_movement_request.py +90 -0
  568. wandelbots_api_client/v2/models/pause_movement_response.py +91 -0
  569. wandelbots_api_client/v2/models/pause_on_io.py +99 -0
  570. wandelbots_api_client/v2/models/payload.py +98 -0
  571. wandelbots_api_client/v2/models/plan422_response.py +93 -0
  572. wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +93 -0
  573. wandelbots_api_client/v2/models/plan_collision_free_request.py +109 -0
  574. wandelbots_api_client/v2/models/plan_collision_free_response.py +89 -0
  575. wandelbots_api_client/v2/models/plan_collision_free_response_response.py +147 -0
  576. wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +105 -0
  577. wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +252 -0
  578. wandelbots_api_client/v2/models/plan_trajectory_request.py +113 -0
  579. wandelbots_api_client/v2/models/plan_trajectory_response.py +89 -0
  580. wandelbots_api_client/v2/models/plan_trajectory_response_response.py +147 -0
  581. wandelbots_api_client/v2/models/plan_validation_error.py +107 -0
  582. wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +183 -0
  583. wandelbots_api_client/v2/models/plane.py +90 -0
  584. wandelbots_api_client/v2/models/playback_speed_request.py +96 -0
  585. wandelbots_api_client/v2/models/playback_speed_response.py +91 -0
  586. wandelbots_api_client/v2/models/pose.py +90 -0
  587. wandelbots_api_client/v2/models/profinet_description.py +112 -0
  588. wandelbots_api_client/v2/models/profinet_input_output_config.py +98 -0
  589. wandelbots_api_client/v2/models/profinet_io.py +109 -0
  590. wandelbots_api_client/v2/models/profinet_io_data.py +105 -0
  591. wandelbots_api_client/v2/models/profinet_io_direction.py +35 -0
  592. wandelbots_api_client/v2/models/profinet_io_type_enum.py +42 -0
  593. wandelbots_api_client/v2/models/profinet_slot_description.py +106 -0
  594. wandelbots_api_client/v2/models/profinet_sub_slot_description.py +92 -0
  595. wandelbots_api_client/v2/models/program.py +105 -0
  596. wandelbots_api_client/v2/models/program_run.py +124 -0
  597. wandelbots_api_client/v2/models/program_run_state.py +37 -0
  598. wandelbots_api_client/v2/models/program_start_request.py +83 -0
  599. wandelbots_api_client/v2/models/rectangle.py +92 -0
  600. wandelbots_api_client/v2/models/rectangular_capsule.py +100 -0
  601. wandelbots_api_client/v2/models/release_channel.py +34 -0
  602. wandelbots_api_client/v2/models/robot_controller.py +105 -0
  603. wandelbots_api_client/v2/models/robot_controller_configuration.py +262 -0
  604. wandelbots_api_client/v2/models/robot_controller_configuration_request.py +99 -0
  605. wandelbots_api_client/v2/models/robot_controller_state.py +138 -0
  606. wandelbots_api_client/v2/models/robot_system_mode.py +37 -0
  607. wandelbots_api_client/v2/models/robot_tcp.py +110 -0
  608. wandelbots_api_client/v2/models/robot_tcp_data.py +108 -0
  609. wandelbots_api_client/v2/models/rrt_connect_algorithm.py +127 -0
  610. wandelbots_api_client/v2/models/safety_state_type.py +48 -0
  611. wandelbots_api_client/v2/models/service_group.py +36 -0
  612. wandelbots_api_client/v2/models/service_status.py +96 -0
  613. wandelbots_api_client/v2/models/service_status_phase.py +46 -0
  614. wandelbots_api_client/v2/models/service_status_response.py +100 -0
  615. wandelbots_api_client/v2/models/service_status_severity.py +35 -0
  616. wandelbots_api_client/v2/models/service_status_status.py +87 -0
  617. wandelbots_api_client/v2/models/set_io.py +96 -0
  618. wandelbots_api_client/v2/models/settable_robot_system_mode.py +36 -0
  619. wandelbots_api_client/v2/models/singularity_type_enum.py +35 -0
  620. wandelbots_api_client/v2/models/sphere.py +91 -0
  621. wandelbots_api_client/v2/models/start_movement_request.py +133 -0
  622. wandelbots_api_client/v2/models/start_movement_response.py +91 -0
  623. wandelbots_api_client/v2/models/start_on_io.py +99 -0
  624. wandelbots_api_client/v2/models/stream_io_values_response.py +103 -0
  625. wandelbots_api_client/v2/models/tcp_offset.py +88 -0
  626. wandelbots_api_client/v2/models/tcp_required_error.py +96 -0
  627. wandelbots_api_client/v2/models/tcp_velocity_request.py +110 -0
  628. wandelbots_api_client/v2/models/tcp_velocity_response.py +91 -0
  629. wandelbots_api_client/v2/models/torque_exceeded_error.py +102 -0
  630. wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +86 -0
  631. wandelbots_api_client/v2/models/trajectory_data.py +106 -0
  632. wandelbots_api_client/v2/models/trajectory_details.py +106 -0
  633. wandelbots_api_client/v2/models/trajectory_details_state.py +239 -0
  634. wandelbots_api_client/v2/models/trajectory_ended.py +90 -0
  635. wandelbots_api_client/v2/models/trajectory_id.py +93 -0
  636. wandelbots_api_client/v2/models/trajectory_paused_by_user.py +90 -0
  637. wandelbots_api_client/v2/models/trajectory_paused_on_io.py +90 -0
  638. wandelbots_api_client/v2/models/trajectory_running.py +94 -0
  639. wandelbots_api_client/v2/models/trajectory_section.py +84 -0
  640. wandelbots_api_client/v2/models/trajectory_wait_for_io.py +90 -0
  641. wandelbots_api_client/v2/models/unit_type.py +42 -0
  642. wandelbots_api_client/v2/models/universalrobots_controller.py +91 -0
  643. wandelbots_api_client/v2/models/update_cell_version_request.py +84 -0
  644. wandelbots_api_client/v2/models/update_nova_version_request.py +90 -0
  645. wandelbots_api_client/v2/models/validation_error.py +101 -0
  646. wandelbots_api_client/v2/models/validation_error2.py +85 -0
  647. wandelbots_api_client/v2/models/virtual_controller.py +113 -0
  648. wandelbots_api_client/v2/models/virtual_robot_configuration.py +88 -0
  649. wandelbots_api_client/v2/models/wait_for_io_event_request.py +93 -0
  650. wandelbots_api_client/v2/models/yaskawa_controller.py +91 -0
  651. wandelbots_api_client/v2/models/zod_validation_error.py +87 -0
  652. wandelbots_api_client/v2/models/zod_validation_error_error.py +108 -0
  653. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py +101 -0
  654. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py +153 -0
  655. wandelbots_api_client/v2/py.typed +0 -0
  656. wandelbots_api_client/v2/rest.py +188 -0
  657. wandelbots_api_client/v2_pydantic/__init__.py +49 -0
  658. wandelbots_api_client/v2_pydantic/api/__init__.py +55 -0
  659. wandelbots_api_client/v2_pydantic/api/application_api.py +1532 -0
  660. wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4534 -0
  661. wandelbots_api_client/v2_pydantic/api/cell_api.py +2163 -0
  662. wandelbots_api_client/v2_pydantic/api/controller_api.py +3238 -0
  663. wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1244 -0
  664. wandelbots_api_client/v2_pydantic/api/jogging_api.py +113 -0
  665. wandelbots_api_client/v2_pydantic/api/kinematics_api.py +555 -0
  666. wandelbots_api_client/v2_pydantic/api/license_api.py +877 -0
  667. wandelbots_api_client/v2_pydantic/api/motion_group_api.py +689 -0
  668. wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +1222 -0
  669. wandelbots_api_client/v2_pydantic/api/nova_cloud_api.py +760 -0
  670. wandelbots_api_client/v2_pydantic/api/program_api.py +988 -0
  671. wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +485 -0
  672. wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +3479 -0
  673. wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1169 -0
  674. wandelbots_api_client/v2_pydantic/api/store_object_api.py +1414 -0
  675. wandelbots_api_client/v2_pydantic/api/system_api.py +2696 -0
  676. wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1339 -0
  677. wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +115 -0
  678. wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +811 -0
  679. wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
  680. wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4534 -0
  681. wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +863 -0
  682. wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +895 -0
  683. wandelbots_api_client/v2_pydantic/api_client.py +692 -0
  684. wandelbots_api_client/v2_pydantic/api_response.py +20 -0
  685. wandelbots_api_client/v2_pydantic/configuration.py +579 -0
  686. wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
  687. wandelbots_api_client/v2_pydantic/models/__init__.py +642 -0
  688. wandelbots_api_client/v2_pydantic/models/models.py +5090 -0
  689. wandelbots_api_client/v2_pydantic/py.typed +0 -0
  690. wandelbots_api_client/v2_pydantic/rest.py +188 -0
  691. wandelbots_api_client-26.3.0.dev29.dist-info/METADATA +241 -0
  692. wandelbots_api_client-26.3.0.dev29.dist-info/RECORD +693 -0
  693. wandelbots_api_client-26.3.0.dev29.dist-info/WHEEL +4 -0
@@ -0,0 +1,1987 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Wandelbots NOVA API
5
+
6
+ Interact with robots in an easy and intuitive way.
7
+
8
+ The version of the OpenAPI document: 1.4.0 dev
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ from furl import furl
15
+ import json
16
+ import humps
17
+ import re
18
+ import warnings
19
+ import websockets
20
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
21
+ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
22
+ from typing_extensions import Annotated
23
+ from urllib.parse import quote
24
+
25
+ from pydantic import Field, StrictStr
26
+ from typing import Any, List, Optional
27
+ from typing_extensions import Annotated
28
+ from wandelbots_api_client.models.code_with_arguments import CodeWithArguments
29
+ from wandelbots_api_client.models.program_run import ProgramRun
30
+ from wandelbots_api_client.models.program_runner_reference import ProgramRunnerReference
31
+ from wandelbots_api_client.models.request import Request
32
+ from wandelbots_api_client.models.request1 import Request1
33
+
34
+ from wandelbots_api_client.api_client import ApiClient, RequestSerialized
35
+ from wandelbots_api_client.api_response import ApiResponse
36
+ from wandelbots_api_client.rest import RESTResponseType
37
+
38
+
39
+ class ProgramApi:
40
+ """NOTE: This class is auto generated by OpenAPI Generator
41
+ Ref: https://openapi-generator.tech
42
+
43
+ Do not edit the class manually.
44
+ """
45
+
46
+ def __init__(self, api_client=None) -> None:
47
+ if api_client is None:
48
+ api_client = ApiClient.get_default()
49
+ self.api_client = api_client
50
+
51
+ @validate_call
52
+ async def create_program_runner(
53
+ self,
54
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
55
+ request: Request,
56
+ _request_timeout: Union[
57
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
58
+ ] = None,
59
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
60
+ _content_type: Optional[StrictStr] = None,
61
+ _headers: Optional[Dict[StrictStr, Any]] = None,
62
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
63
+ ) -> ProgramRunnerReference:
64
+ """Create Program Runner
65
+
66
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ This endpoint accepts a program written in Wandelscript and if desired, initial arguments (in the form of a dict). It will then execute this Wandelscript asynchronously. It returns a program runner reference which can be used to query the state of the program runner. ## Parameters See the **Schema** tab for information about the request body. ## Returns A program runner reference which can be used to query the state of the program runner. ## Receiving state updates Receive state updates of the program runner via polling the `/programs/runners/{runner_id}/` ### Via polling You can receive updates about the state of the program runner by polling the `/programs/runners/{runner_id}/` endpoint. ```
67
+
68
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
69
+ :type cell: str
70
+ :param request: (required)
71
+ :type request: Request
72
+ :param _request_timeout: timeout setting for this request. If one
73
+ number provided, it will be total request
74
+ timeout. It can also be a pair (tuple) of
75
+ (connection, read) timeouts.
76
+ :type _request_timeout: int, tuple(int, int), optional
77
+ :param _request_auth: set to override the auth_settings for an a single
78
+ request; this effectively ignores the
79
+ authentication in the spec for a single request.
80
+ :type _request_auth: dict, optional
81
+ :param _content_type: force content-type for the request.
82
+ :type _content_type: str, Optional
83
+ :param _headers: set to override the headers for a single
84
+ request; this effectively ignores the headers
85
+ in the spec for a single request.
86
+ :type _headers: dict, optional
87
+ :param _host_index: set to override the host_index for a single
88
+ request; this effectively ignores the host_index
89
+ in the spec for a single request.
90
+ :type _host_index: int, optional
91
+ :return: Returns the result object.
92
+ """ # noqa: E501
93
+
94
+ _param = self._create_program_runner_serialize(
95
+ cell=cell, request=request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
96
+ )
97
+
98
+ _response_types_map: Dict[str, Optional[str]] = {
99
+ "200": "ProgramRunnerReference",
100
+ "400": None,
101
+ "404": None,
102
+ "406": None,
103
+ "422": "HTTPValidationError2",
104
+ "452": None,
105
+ "500": None,
106
+ }
107
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
108
+ await response_data.read()
109
+ return self.api_client.response_deserialize(
110
+ response_data=response_data,
111
+ response_types_map=_response_types_map,
112
+ ).data
113
+
114
+ @validate_call
115
+ async def create_program_runner_with_http_info(
116
+ self,
117
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
118
+ request: Request,
119
+ _request_timeout: Union[
120
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
121
+ ] = None,
122
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
123
+ _content_type: Optional[StrictStr] = None,
124
+ _headers: Optional[Dict[StrictStr, Any]] = None,
125
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
126
+ ) -> ApiResponse[ProgramRunnerReference]:
127
+ """Create Program Runner
128
+
129
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ This endpoint accepts a program written in Wandelscript and if desired, initial arguments (in the form of a dict). It will then execute this Wandelscript asynchronously. It returns a program runner reference which can be used to query the state of the program runner. ## Parameters See the **Schema** tab for information about the request body. ## Returns A program runner reference which can be used to query the state of the program runner. ## Receiving state updates Receive state updates of the program runner via polling the `/programs/runners/{runner_id}/` ### Via polling You can receive updates about the state of the program runner by polling the `/programs/runners/{runner_id}/` endpoint. ```
130
+
131
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
132
+ :type cell: str
133
+ :param request: (required)
134
+ :type request: Request
135
+ :param _request_timeout: timeout setting for this request. If one
136
+ number provided, it will be total request
137
+ timeout. It can also be a pair (tuple) of
138
+ (connection, read) timeouts.
139
+ :type _request_timeout: int, tuple(int, int), optional
140
+ :param _request_auth: set to override the auth_settings for an a single
141
+ request; this effectively ignores the
142
+ authentication in the spec for a single request.
143
+ :type _request_auth: dict, optional
144
+ :param _content_type: force content-type for the request.
145
+ :type _content_type: str, Optional
146
+ :param _headers: set to override the headers for a single
147
+ request; this effectively ignores the headers
148
+ in the spec for a single request.
149
+ :type _headers: dict, optional
150
+ :param _host_index: set to override the host_index for a single
151
+ request; this effectively ignores the host_index
152
+ in the spec for a single request.
153
+ :type _host_index: int, optional
154
+ :return: Returns the result object.
155
+ """ # noqa: E501
156
+
157
+ _param = self._create_program_runner_serialize(
158
+ cell=cell, request=request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
159
+ )
160
+
161
+ _response_types_map: Dict[str, Optional[str]] = {
162
+ "200": "ProgramRunnerReference",
163
+ "400": None,
164
+ "404": None,
165
+ "406": None,
166
+ "422": "HTTPValidationError2",
167
+ "452": None,
168
+ "500": None,
169
+ }
170
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
171
+ await response_data.read()
172
+ return self.api_client.response_deserialize(
173
+ response_data=response_data,
174
+ response_types_map=_response_types_map,
175
+ )
176
+
177
+ @validate_call
178
+ async def create_program_runner_without_preload_content(
179
+ self,
180
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
181
+ request: Request,
182
+ _request_timeout: Union[
183
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
184
+ ] = None,
185
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
186
+ _content_type: Optional[StrictStr] = None,
187
+ _headers: Optional[Dict[StrictStr, Any]] = None,
188
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
189
+ ) -> RESTResponseType:
190
+ """Create Program Runner
191
+
192
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ This endpoint accepts a program written in Wandelscript and if desired, initial arguments (in the form of a dict). It will then execute this Wandelscript asynchronously. It returns a program runner reference which can be used to query the state of the program runner. ## Parameters See the **Schema** tab for information about the request body. ## Returns A program runner reference which can be used to query the state of the program runner. ## Receiving state updates Receive state updates of the program runner via polling the `/programs/runners/{runner_id}/` ### Via polling You can receive updates about the state of the program runner by polling the `/programs/runners/{runner_id}/` endpoint. ```
193
+
194
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
195
+ :type cell: str
196
+ :param request: (required)
197
+ :type request: Request
198
+ :param _request_timeout: timeout setting for this request. If one
199
+ number provided, it will be total request
200
+ timeout. It can also be a pair (tuple) of
201
+ (connection, read) timeouts.
202
+ :type _request_timeout: int, tuple(int, int), optional
203
+ :param _request_auth: set to override the auth_settings for an a single
204
+ request; this effectively ignores the
205
+ authentication in the spec for a single request.
206
+ :type _request_auth: dict, optional
207
+ :param _content_type: force content-type for the request.
208
+ :type _content_type: str, Optional
209
+ :param _headers: set to override the headers for a single
210
+ request; this effectively ignores the headers
211
+ in the spec for a single request.
212
+ :type _headers: dict, optional
213
+ :param _host_index: set to override the host_index for a single
214
+ request; this effectively ignores the host_index
215
+ in the spec for a single request.
216
+ :type _host_index: int, optional
217
+ :return: Returns the result object.
218
+ """ # noqa: E501
219
+
220
+ _param = self._create_program_runner_serialize(
221
+ cell=cell, request=request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
222
+ )
223
+
224
+ _response_types_map: Dict[str, Optional[str]] = {
225
+ "200": "ProgramRunnerReference",
226
+ "400": None,
227
+ "404": None,
228
+ "406": None,
229
+ "422": "HTTPValidationError2",
230
+ "452": None,
231
+ "500": None,
232
+ }
233
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
234
+ return response_data.response
235
+
236
+ def _create_program_runner_serialize(
237
+ self,
238
+ cell,
239
+ request,
240
+ _request_auth,
241
+ _content_type,
242
+ _headers,
243
+ _host_index,
244
+ ) -> RequestSerialized:
245
+
246
+ _host = None
247
+
248
+ _collection_formats: Dict[str, str] = {}
249
+
250
+ _path_params: Dict[str, str] = {}
251
+ _query_params: List[Tuple[str, str]] = []
252
+ _header_params: Dict[str, Optional[str]] = _headers or {}
253
+ _form_params: List[Tuple[str, str]] = []
254
+ _files: Dict[str, Union[str, bytes]] = {}
255
+ _body_params: Optional[bytes] = None
256
+
257
+ # process the path parameters
258
+ if cell is not None:
259
+ _path_params["cell"] = cell
260
+ # process the query parameters
261
+ # process the header parameters
262
+ # process the form parameters
263
+ # process the body parameter
264
+ if request is not None:
265
+ _body_params = request
266
+
267
+ # set the HTTP header `Accept`
268
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
269
+
270
+ # set the HTTP header `Content-Type`
271
+ if _content_type:
272
+ _header_params["Content-Type"] = _content_type
273
+ else:
274
+ _default_content_type = self.api_client.select_header_content_type(["text/plain"])
275
+ if _default_content_type is not None:
276
+ _header_params["Content-Type"] = _default_content_type
277
+
278
+ # authentication setting
279
+ _auth_settings: List[str] = ["BearerAuth"]
280
+
281
+ return self.api_client.param_serialize(
282
+ method="POST",
283
+ resource_path="/cells/{cell}/programs/runners",
284
+ path_params=_path_params,
285
+ query_params=_query_params,
286
+ header_params=_header_params,
287
+ body=_body_params,
288
+ post_params=_form_params,
289
+ files=_files,
290
+ auth_settings=_auth_settings,
291
+ collection_formats=_collection_formats,
292
+ _host=_host,
293
+ _request_auth=_request_auth,
294
+ )
295
+
296
+ @validate_call
297
+ async def execute_program(
298
+ self,
299
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
300
+ code_with_arguments: CodeWithArguments,
301
+ _request_timeout: Union[
302
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
303
+ ] = None,
304
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
305
+ _content_type: Optional[StrictStr] = None,
306
+ _headers: Optional[Dict[StrictStr, Any]] = None,
307
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
308
+ ) -> ProgramRun:
309
+ """Execute Program
310
+
311
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Execute a program in Wandelscript. The Wandelscript can also move multiple robots by using the 'do with' syntax. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a succesful execution. Otherwise an error (e.g. out of reach, singularity), is returned. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
312
+
313
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
314
+ :type cell: str
315
+ :param code_with_arguments: (required)
316
+ :type code_with_arguments: CodeWithArguments
317
+ :param _request_timeout: timeout setting for this request. If one
318
+ number provided, it will be total request
319
+ timeout. It can also be a pair (tuple) of
320
+ (connection, read) timeouts.
321
+ :type _request_timeout: int, tuple(int, int), optional
322
+ :param _request_auth: set to override the auth_settings for an a single
323
+ request; this effectively ignores the
324
+ authentication in the spec for a single request.
325
+ :type _request_auth: dict, optional
326
+ :param _content_type: force content-type for the request.
327
+ :type _content_type: str, Optional
328
+ :param _headers: set to override the headers for a single
329
+ request; this effectively ignores the headers
330
+ in the spec for a single request.
331
+ :type _headers: dict, optional
332
+ :param _host_index: set to override the host_index for a single
333
+ request; this effectively ignores the host_index
334
+ in the spec for a single request.
335
+ :type _host_index: int, optional
336
+ :return: Returns the result object.
337
+ """ # noqa: E501
338
+
339
+ _param = self._execute_program_serialize(
340
+ cell=cell,
341
+ code_with_arguments=code_with_arguments,
342
+ _request_auth=_request_auth,
343
+ _content_type=_content_type,
344
+ _headers=_headers,
345
+ _host_index=_host_index,
346
+ )
347
+
348
+ _response_types_map: Dict[str, Optional[str]] = {
349
+ "200": "ProgramRun",
350
+ "400": None,
351
+ "404": None,
352
+ "422": "HTTPValidationError2",
353
+ "452": None,
354
+ "500": None,
355
+ }
356
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
357
+ await response_data.read()
358
+ return self.api_client.response_deserialize(
359
+ response_data=response_data,
360
+ response_types_map=_response_types_map,
361
+ ).data
362
+
363
+ @validate_call
364
+ async def execute_program_with_http_info(
365
+ self,
366
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
367
+ code_with_arguments: CodeWithArguments,
368
+ _request_timeout: Union[
369
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
370
+ ] = None,
371
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
372
+ _content_type: Optional[StrictStr] = None,
373
+ _headers: Optional[Dict[StrictStr, Any]] = None,
374
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
375
+ ) -> ApiResponse[ProgramRun]:
376
+ """Execute Program
377
+
378
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Execute a program in Wandelscript. The Wandelscript can also move multiple robots by using the 'do with' syntax. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a succesful execution. Otherwise an error (e.g. out of reach, singularity), is returned. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
379
+
380
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
381
+ :type cell: str
382
+ :param code_with_arguments: (required)
383
+ :type code_with_arguments: CodeWithArguments
384
+ :param _request_timeout: timeout setting for this request. If one
385
+ number provided, it will be total request
386
+ timeout. It can also be a pair (tuple) of
387
+ (connection, read) timeouts.
388
+ :type _request_timeout: int, tuple(int, int), optional
389
+ :param _request_auth: set to override the auth_settings for an a single
390
+ request; this effectively ignores the
391
+ authentication in the spec for a single request.
392
+ :type _request_auth: dict, optional
393
+ :param _content_type: force content-type for the request.
394
+ :type _content_type: str, Optional
395
+ :param _headers: set to override the headers for a single
396
+ request; this effectively ignores the headers
397
+ in the spec for a single request.
398
+ :type _headers: dict, optional
399
+ :param _host_index: set to override the host_index for a single
400
+ request; this effectively ignores the host_index
401
+ in the spec for a single request.
402
+ :type _host_index: int, optional
403
+ :return: Returns the result object.
404
+ """ # noqa: E501
405
+
406
+ _param = self._execute_program_serialize(
407
+ cell=cell,
408
+ code_with_arguments=code_with_arguments,
409
+ _request_auth=_request_auth,
410
+ _content_type=_content_type,
411
+ _headers=_headers,
412
+ _host_index=_host_index,
413
+ )
414
+
415
+ _response_types_map: Dict[str, Optional[str]] = {
416
+ "200": "ProgramRun",
417
+ "400": None,
418
+ "404": None,
419
+ "422": "HTTPValidationError2",
420
+ "452": None,
421
+ "500": None,
422
+ }
423
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
424
+ await response_data.read()
425
+ return self.api_client.response_deserialize(
426
+ response_data=response_data,
427
+ response_types_map=_response_types_map,
428
+ )
429
+
430
+ @validate_call
431
+ async def execute_program_without_preload_content(
432
+ self,
433
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
434
+ code_with_arguments: CodeWithArguments,
435
+ _request_timeout: Union[
436
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
437
+ ] = None,
438
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
439
+ _content_type: Optional[StrictStr] = None,
440
+ _headers: Optional[Dict[StrictStr, Any]] = None,
441
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
442
+ ) -> RESTResponseType:
443
+ """Execute Program
444
+
445
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Execute a program in Wandelscript. The Wandelscript can also move multiple robots by using the 'do with' syntax. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a succesful execution. Otherwise an error (e.g. out of reach, singularity), is returned. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
446
+
447
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
448
+ :type cell: str
449
+ :param code_with_arguments: (required)
450
+ :type code_with_arguments: CodeWithArguments
451
+ :param _request_timeout: timeout setting for this request. If one
452
+ number provided, it will be total request
453
+ timeout. It can also be a pair (tuple) of
454
+ (connection, read) timeouts.
455
+ :type _request_timeout: int, tuple(int, int), optional
456
+ :param _request_auth: set to override the auth_settings for an a single
457
+ request; this effectively ignores the
458
+ authentication in the spec for a single request.
459
+ :type _request_auth: dict, optional
460
+ :param _content_type: force content-type for the request.
461
+ :type _content_type: str, Optional
462
+ :param _headers: set to override the headers for a single
463
+ request; this effectively ignores the headers
464
+ in the spec for a single request.
465
+ :type _headers: dict, optional
466
+ :param _host_index: set to override the host_index for a single
467
+ request; this effectively ignores the host_index
468
+ in the spec for a single request.
469
+ :type _host_index: int, optional
470
+ :return: Returns the result object.
471
+ """ # noqa: E501
472
+
473
+ _param = self._execute_program_serialize(
474
+ cell=cell,
475
+ code_with_arguments=code_with_arguments,
476
+ _request_auth=_request_auth,
477
+ _content_type=_content_type,
478
+ _headers=_headers,
479
+ _host_index=_host_index,
480
+ )
481
+
482
+ _response_types_map: Dict[str, Optional[str]] = {
483
+ "200": "ProgramRun",
484
+ "400": None,
485
+ "404": None,
486
+ "422": "HTTPValidationError2",
487
+ "452": None,
488
+ "500": None,
489
+ }
490
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
491
+ return response_data.response
492
+
493
+ def _execute_program_serialize(
494
+ self,
495
+ cell,
496
+ code_with_arguments,
497
+ _request_auth,
498
+ _content_type,
499
+ _headers,
500
+ _host_index,
501
+ ) -> RequestSerialized:
502
+
503
+ _host = None
504
+
505
+ _collection_formats: Dict[str, str] = {}
506
+
507
+ _path_params: Dict[str, str] = {}
508
+ _query_params: List[Tuple[str, str]] = []
509
+ _header_params: Dict[str, Optional[str]] = _headers or {}
510
+ _form_params: List[Tuple[str, str]] = []
511
+ _files: Dict[str, Union[str, bytes]] = {}
512
+ _body_params: Optional[bytes] = None
513
+
514
+ # process the path parameters
515
+ if cell is not None:
516
+ _path_params["cell"] = cell
517
+ # process the query parameters
518
+ # process the header parameters
519
+ # process the form parameters
520
+ # process the body parameter
521
+ if code_with_arguments is not None:
522
+ _body_params = code_with_arguments
523
+
524
+ # set the HTTP header `Accept`
525
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
526
+
527
+ # set the HTTP header `Content-Type`
528
+ if _content_type:
529
+ _header_params["Content-Type"] = _content_type
530
+ else:
531
+ _default_content_type = self.api_client.select_header_content_type(["application/json", "text/plain"])
532
+ if _default_content_type is not None:
533
+ _header_params["Content-Type"] = _default_content_type
534
+
535
+ # authentication setting
536
+ _auth_settings: List[str] = ["BearerAuth"]
537
+
538
+ return self.api_client.param_serialize(
539
+ method="POST",
540
+ resource_path="/cells/{cell}/programs/execute",
541
+ path_params=_path_params,
542
+ query_params=_query_params,
543
+ header_params=_header_params,
544
+ body=_body_params,
545
+ post_params=_form_params,
546
+ files=_files,
547
+ auth_settings=_auth_settings,
548
+ collection_formats=_collection_formats,
549
+ _host=_host,
550
+ _request_auth=_request_auth,
551
+ )
552
+
553
+ @validate_call
554
+ async def get_program_runner(
555
+ self,
556
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
557
+ runner: StrictStr,
558
+ _request_timeout: Union[
559
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
560
+ ] = None,
561
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
562
+ _content_type: Optional[StrictStr] = None,
563
+ _headers: Optional[Dict[StrictStr, Any]] = None,
564
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
565
+ ) -> ProgramRun:
566
+ """Get Program Runner
567
+
568
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Returns information about a program currently executed. When a program is finished: Program response, result, collected Wandelscript logs, etc. When a program is running: Running status, current executed line, etc. ## Parameters - **runner_id**: The id of the program runner
569
+
570
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
571
+ :type cell: str
572
+ :param runner: (required)
573
+ :type runner: str
574
+ :param _request_timeout: timeout setting for this request. If one
575
+ number provided, it will be total request
576
+ timeout. It can also be a pair (tuple) of
577
+ (connection, read) timeouts.
578
+ :type _request_timeout: int, tuple(int, int), optional
579
+ :param _request_auth: set to override the auth_settings for an a single
580
+ request; this effectively ignores the
581
+ authentication in the spec for a single request.
582
+ :type _request_auth: dict, optional
583
+ :param _content_type: force content-type for the request.
584
+ :type _content_type: str, Optional
585
+ :param _headers: set to override the headers for a single
586
+ request; this effectively ignores the headers
587
+ in the spec for a single request.
588
+ :type _headers: dict, optional
589
+ :param _host_index: set to override the host_index for a single
590
+ request; this effectively ignores the host_index
591
+ in the spec for a single request.
592
+ :type _host_index: int, optional
593
+ :return: Returns the result object.
594
+ """ # noqa: E501
595
+
596
+ _param = self._get_program_runner_serialize(
597
+ cell=cell, runner=runner, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
598
+ )
599
+
600
+ _response_types_map: Dict[str, Optional[str]] = {
601
+ "200": "ProgramRun",
602
+ "400": None,
603
+ "404": None,
604
+ "422": "HTTPValidationError2",
605
+ "452": None,
606
+ "500": None,
607
+ }
608
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
609
+ await response_data.read()
610
+ return self.api_client.response_deserialize(
611
+ response_data=response_data,
612
+ response_types_map=_response_types_map,
613
+ ).data
614
+
615
+ @validate_call
616
+ async def get_program_runner_with_http_info(
617
+ self,
618
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
619
+ runner: StrictStr,
620
+ _request_timeout: Union[
621
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
622
+ ] = None,
623
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
624
+ _content_type: Optional[StrictStr] = None,
625
+ _headers: Optional[Dict[StrictStr, Any]] = None,
626
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
627
+ ) -> ApiResponse[ProgramRun]:
628
+ """Get Program Runner
629
+
630
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Returns information about a program currently executed. When a program is finished: Program response, result, collected Wandelscript logs, etc. When a program is running: Running status, current executed line, etc. ## Parameters - **runner_id**: The id of the program runner
631
+
632
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
633
+ :type cell: str
634
+ :param runner: (required)
635
+ :type runner: str
636
+ :param _request_timeout: timeout setting for this request. If one
637
+ number provided, it will be total request
638
+ timeout. It can also be a pair (tuple) of
639
+ (connection, read) timeouts.
640
+ :type _request_timeout: int, tuple(int, int), optional
641
+ :param _request_auth: set to override the auth_settings for an a single
642
+ request; this effectively ignores the
643
+ authentication in the spec for a single request.
644
+ :type _request_auth: dict, optional
645
+ :param _content_type: force content-type for the request.
646
+ :type _content_type: str, Optional
647
+ :param _headers: set to override the headers for a single
648
+ request; this effectively ignores the headers
649
+ in the spec for a single request.
650
+ :type _headers: dict, optional
651
+ :param _host_index: set to override the host_index for a single
652
+ request; this effectively ignores the host_index
653
+ in the spec for a single request.
654
+ :type _host_index: int, optional
655
+ :return: Returns the result object.
656
+ """ # noqa: E501
657
+
658
+ _param = self._get_program_runner_serialize(
659
+ cell=cell, runner=runner, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
660
+ )
661
+
662
+ _response_types_map: Dict[str, Optional[str]] = {
663
+ "200": "ProgramRun",
664
+ "400": None,
665
+ "404": None,
666
+ "422": "HTTPValidationError2",
667
+ "452": None,
668
+ "500": None,
669
+ }
670
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
671
+ await response_data.read()
672
+ return self.api_client.response_deserialize(
673
+ response_data=response_data,
674
+ response_types_map=_response_types_map,
675
+ )
676
+
677
+ @validate_call
678
+ async def get_program_runner_without_preload_content(
679
+ self,
680
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
681
+ runner: StrictStr,
682
+ _request_timeout: Union[
683
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
684
+ ] = None,
685
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
686
+ _content_type: Optional[StrictStr] = None,
687
+ _headers: Optional[Dict[StrictStr, Any]] = None,
688
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
689
+ ) -> RESTResponseType:
690
+ """Get Program Runner
691
+
692
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Returns information about a program currently executed. When a program is finished: Program response, result, collected Wandelscript logs, etc. When a program is running: Running status, current executed line, etc. ## Parameters - **runner_id**: The id of the program runner
693
+
694
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
695
+ :type cell: str
696
+ :param runner: (required)
697
+ :type runner: str
698
+ :param _request_timeout: timeout setting for this request. If one
699
+ number provided, it will be total request
700
+ timeout. It can also be a pair (tuple) of
701
+ (connection, read) timeouts.
702
+ :type _request_timeout: int, tuple(int, int), optional
703
+ :param _request_auth: set to override the auth_settings for an a single
704
+ request; this effectively ignores the
705
+ authentication in the spec for a single request.
706
+ :type _request_auth: dict, optional
707
+ :param _content_type: force content-type for the request.
708
+ :type _content_type: str, Optional
709
+ :param _headers: set to override the headers for a single
710
+ request; this effectively ignores the headers
711
+ in the spec for a single request.
712
+ :type _headers: dict, optional
713
+ :param _host_index: set to override the host_index for a single
714
+ request; this effectively ignores the host_index
715
+ in the spec for a single request.
716
+ :type _host_index: int, optional
717
+ :return: Returns the result object.
718
+ """ # noqa: E501
719
+
720
+ _param = self._get_program_runner_serialize(
721
+ cell=cell, runner=runner, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
722
+ )
723
+
724
+ _response_types_map: Dict[str, Optional[str]] = {
725
+ "200": "ProgramRun",
726
+ "400": None,
727
+ "404": None,
728
+ "422": "HTTPValidationError2",
729
+ "452": None,
730
+ "500": None,
731
+ }
732
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
733
+ return response_data.response
734
+
735
+ def _get_program_runner_serialize(
736
+ self,
737
+ cell,
738
+ runner,
739
+ _request_auth,
740
+ _content_type,
741
+ _headers,
742
+ _host_index,
743
+ ) -> RequestSerialized:
744
+
745
+ _host = None
746
+
747
+ _collection_formats: Dict[str, str] = {}
748
+
749
+ _path_params: Dict[str, str] = {}
750
+ _query_params: List[Tuple[str, str]] = []
751
+ _header_params: Dict[str, Optional[str]] = _headers or {}
752
+ _form_params: List[Tuple[str, str]] = []
753
+ _files: Dict[str, Union[str, bytes]] = {}
754
+ _body_params: Optional[bytes] = None
755
+
756
+ # process the path parameters
757
+ if cell is not None:
758
+ _path_params["cell"] = cell
759
+ if runner is not None:
760
+ _path_params["runner"] = runner
761
+ # process the query parameters
762
+ # process the header parameters
763
+ # process the form parameters
764
+ # process the body parameter
765
+
766
+ # set the HTTP header `Accept`
767
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
768
+
769
+ # authentication setting
770
+ _auth_settings: List[str] = ["BearerAuth"]
771
+
772
+ return self.api_client.param_serialize(
773
+ method="GET",
774
+ resource_path="/cells/{cell}/programs/runners/{runner}",
775
+ path_params=_path_params,
776
+ query_params=_query_params,
777
+ header_params=_header_params,
778
+ body=_body_params,
779
+ post_params=_form_params,
780
+ files=_files,
781
+ auth_settings=_auth_settings,
782
+ collection_formats=_collection_formats,
783
+ _host=_host,
784
+ _request_auth=_request_auth,
785
+ )
786
+
787
+ @validate_call
788
+ async def list_program_runners(
789
+ self,
790
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
791
+ _request_timeout: Union[
792
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
793
+ ] = None,
794
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
795
+ _content_type: Optional[StrictStr] = None,
796
+ _headers: Optional[Dict[StrictStr, Any]] = None,
797
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
798
+ ) -> List[ProgramRunnerReference]:
799
+ """List Program Runners
800
+
801
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Get details about all existing program runners.
802
+
803
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
804
+ :type cell: str
805
+ :param _request_timeout: timeout setting for this request. If one
806
+ number provided, it will be total request
807
+ timeout. It can also be a pair (tuple) of
808
+ (connection, read) timeouts.
809
+ :type _request_timeout: int, tuple(int, int), optional
810
+ :param _request_auth: set to override the auth_settings for an a single
811
+ request; this effectively ignores the
812
+ authentication in the spec for a single request.
813
+ :type _request_auth: dict, optional
814
+ :param _content_type: force content-type for the request.
815
+ :type _content_type: str, Optional
816
+ :param _headers: set to override the headers for a single
817
+ request; this effectively ignores the headers
818
+ in the spec for a single request.
819
+ :type _headers: dict, optional
820
+ :param _host_index: set to override the host_index for a single
821
+ request; this effectively ignores the host_index
822
+ in the spec for a single request.
823
+ :type _host_index: int, optional
824
+ :return: Returns the result object.
825
+ """ # noqa: E501
826
+
827
+ _param = self._list_program_runners_serialize(
828
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
829
+ )
830
+
831
+ _response_types_map: Dict[str, Optional[str]] = {
832
+ "200": "List[ProgramRunnerReference]",
833
+ "400": None,
834
+ "404": None,
835
+ "452": None,
836
+ "500": None,
837
+ }
838
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
839
+ await response_data.read()
840
+ return self.api_client.response_deserialize(
841
+ response_data=response_data,
842
+ response_types_map=_response_types_map,
843
+ ).data
844
+
845
+ @validate_call
846
+ async def list_program_runners_with_http_info(
847
+ self,
848
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
849
+ _request_timeout: Union[
850
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
851
+ ] = None,
852
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
853
+ _content_type: Optional[StrictStr] = None,
854
+ _headers: Optional[Dict[StrictStr, Any]] = None,
855
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
856
+ ) -> ApiResponse[List[ProgramRunnerReference]]:
857
+ """List Program Runners
858
+
859
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Get details about all existing program runners.
860
+
861
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
862
+ :type cell: str
863
+ :param _request_timeout: timeout setting for this request. If one
864
+ number provided, it will be total request
865
+ timeout. It can also be a pair (tuple) of
866
+ (connection, read) timeouts.
867
+ :type _request_timeout: int, tuple(int, int), optional
868
+ :param _request_auth: set to override the auth_settings for an a single
869
+ request; this effectively ignores the
870
+ authentication in the spec for a single request.
871
+ :type _request_auth: dict, optional
872
+ :param _content_type: force content-type for the request.
873
+ :type _content_type: str, Optional
874
+ :param _headers: set to override the headers for a single
875
+ request; this effectively ignores the headers
876
+ in the spec for a single request.
877
+ :type _headers: dict, optional
878
+ :param _host_index: set to override the host_index for a single
879
+ request; this effectively ignores the host_index
880
+ in the spec for a single request.
881
+ :type _host_index: int, optional
882
+ :return: Returns the result object.
883
+ """ # noqa: E501
884
+
885
+ _param = self._list_program_runners_serialize(
886
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
887
+ )
888
+
889
+ _response_types_map: Dict[str, Optional[str]] = {
890
+ "200": "List[ProgramRunnerReference]",
891
+ "400": None,
892
+ "404": None,
893
+ "452": None,
894
+ "500": None,
895
+ }
896
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
897
+ await response_data.read()
898
+ return self.api_client.response_deserialize(
899
+ response_data=response_data,
900
+ response_types_map=_response_types_map,
901
+ )
902
+
903
+ @validate_call
904
+ async def list_program_runners_without_preload_content(
905
+ self,
906
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
907
+ _request_timeout: Union[
908
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
909
+ ] = None,
910
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
911
+ _content_type: Optional[StrictStr] = None,
912
+ _headers: Optional[Dict[StrictStr, Any]] = None,
913
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
914
+ ) -> RESTResponseType:
915
+ """List Program Runners
916
+
917
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Get details about all existing program runners.
918
+
919
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
920
+ :type cell: str
921
+ :param _request_timeout: timeout setting for this request. If one
922
+ number provided, it will be total request
923
+ timeout. It can also be a pair (tuple) of
924
+ (connection, read) timeouts.
925
+ :type _request_timeout: int, tuple(int, int), optional
926
+ :param _request_auth: set to override the auth_settings for an a single
927
+ request; this effectively ignores the
928
+ authentication in the spec for a single request.
929
+ :type _request_auth: dict, optional
930
+ :param _content_type: force content-type for the request.
931
+ :type _content_type: str, Optional
932
+ :param _headers: set to override the headers for a single
933
+ request; this effectively ignores the headers
934
+ in the spec for a single request.
935
+ :type _headers: dict, optional
936
+ :param _host_index: set to override the host_index for a single
937
+ request; this effectively ignores the host_index
938
+ in the spec for a single request.
939
+ :type _host_index: int, optional
940
+ :return: Returns the result object.
941
+ """ # noqa: E501
942
+
943
+ _param = self._list_program_runners_serialize(
944
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
945
+ )
946
+
947
+ _response_types_map: Dict[str, Optional[str]] = {
948
+ "200": "List[ProgramRunnerReference]",
949
+ "400": None,
950
+ "404": None,
951
+ "452": None,
952
+ "500": None,
953
+ }
954
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
955
+ return response_data.response
956
+
957
+ def _list_program_runners_serialize(
958
+ self,
959
+ cell,
960
+ _request_auth,
961
+ _content_type,
962
+ _headers,
963
+ _host_index,
964
+ ) -> RequestSerialized:
965
+
966
+ _host = None
967
+
968
+ _collection_formats: Dict[str, str] = {}
969
+
970
+ _path_params: Dict[str, str] = {}
971
+ _query_params: List[Tuple[str, str]] = []
972
+ _header_params: Dict[str, Optional[str]] = _headers or {}
973
+ _form_params: List[Tuple[str, str]] = []
974
+ _files: Dict[str, Union[str, bytes]] = {}
975
+ _body_params: Optional[bytes] = None
976
+
977
+ # process the path parameters
978
+ if cell is not None:
979
+ _path_params["cell"] = cell
980
+ # process the query parameters
981
+ # process the header parameters
982
+ # process the form parameters
983
+ # process the body parameter
984
+
985
+ # set the HTTP header `Accept`
986
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
987
+
988
+ # authentication setting
989
+ _auth_settings: List[str] = ["BearerAuth"]
990
+
991
+ return self.api_client.param_serialize(
992
+ method="GET",
993
+ resource_path="/cells/{cell}/programs/runners",
994
+ path_params=_path_params,
995
+ query_params=_query_params,
996
+ header_params=_header_params,
997
+ body=_body_params,
998
+ post_params=_form_params,
999
+ files=_files,
1000
+ auth_settings=_auth_settings,
1001
+ collection_formats=_collection_formats,
1002
+ _host=_host,
1003
+ _request_auth=_request_auth,
1004
+ )
1005
+
1006
+ @validate_call
1007
+ async def migrate_program(
1008
+ self,
1009
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1010
+ request1: Request1,
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
+ ) -> str:
1019
+ """Migrate Program
1020
+
1021
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Migrate a program ## Parameters See the **Schema** tab for information about the request body
1022
+
1023
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1024
+ :type cell: str
1025
+ :param request1: (required)
1026
+ :type request1: Request1
1027
+ :param _request_timeout: timeout setting for this request. If one
1028
+ number provided, it will be total request
1029
+ timeout. It can also be a pair (tuple) of
1030
+ (connection, read) timeouts.
1031
+ :type _request_timeout: int, tuple(int, int), optional
1032
+ :param _request_auth: set to override the auth_settings for an a single
1033
+ request; this effectively ignores the
1034
+ authentication in the spec for a single request.
1035
+ :type _request_auth: dict, optional
1036
+ :param _content_type: force content-type for the request.
1037
+ :type _content_type: str, Optional
1038
+ :param _headers: set to override the headers for a single
1039
+ request; this effectively ignores the headers
1040
+ in the spec for a single request.
1041
+ :type _headers: dict, optional
1042
+ :param _host_index: set to override the host_index for a single
1043
+ request; this effectively ignores the host_index
1044
+ in the spec for a single request.
1045
+ :type _host_index: int, optional
1046
+ :return: Returns the result object.
1047
+ """ # noqa: E501
1048
+
1049
+ _param = self._migrate_program_serialize(
1050
+ cell=cell,
1051
+ request1=request1,
1052
+ _request_auth=_request_auth,
1053
+ _content_type=_content_type,
1054
+ _headers=_headers,
1055
+ _host_index=_host_index,
1056
+ )
1057
+
1058
+ _response_types_map: Dict[str, Optional[str]] = {
1059
+ "200": "str",
1060
+ "400": None,
1061
+ "404": None,
1062
+ "422": "HTTPValidationError2",
1063
+ "452": None,
1064
+ "500": None,
1065
+ }
1066
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1067
+ await response_data.read()
1068
+ return self.api_client.response_deserialize(
1069
+ response_data=response_data,
1070
+ response_types_map=_response_types_map,
1071
+ ).data
1072
+
1073
+ @validate_call
1074
+ async def migrate_program_with_http_info(
1075
+ self,
1076
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1077
+ request1: Request1,
1078
+ _request_timeout: Union[
1079
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1080
+ ] = None,
1081
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1082
+ _content_type: Optional[StrictStr] = None,
1083
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1084
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1085
+ ) -> ApiResponse[str]:
1086
+ """Migrate Program
1087
+
1088
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Migrate a program ## Parameters See the **Schema** tab for information about the request body
1089
+
1090
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1091
+ :type cell: str
1092
+ :param request1: (required)
1093
+ :type request1: Request1
1094
+ :param _request_timeout: timeout setting for this request. If one
1095
+ number provided, it will be total request
1096
+ timeout. It can also be a pair (tuple) of
1097
+ (connection, read) timeouts.
1098
+ :type _request_timeout: int, tuple(int, int), optional
1099
+ :param _request_auth: set to override the auth_settings for an a single
1100
+ request; this effectively ignores the
1101
+ authentication in the spec for a single request.
1102
+ :type _request_auth: dict, optional
1103
+ :param _content_type: force content-type for the request.
1104
+ :type _content_type: str, Optional
1105
+ :param _headers: set to override the headers for a single
1106
+ request; this effectively ignores the headers
1107
+ in the spec for a single request.
1108
+ :type _headers: dict, optional
1109
+ :param _host_index: set to override the host_index for a single
1110
+ request; this effectively ignores the host_index
1111
+ in the spec for a single request.
1112
+ :type _host_index: int, optional
1113
+ :return: Returns the result object.
1114
+ """ # noqa: E501
1115
+
1116
+ _param = self._migrate_program_serialize(
1117
+ cell=cell,
1118
+ request1=request1,
1119
+ _request_auth=_request_auth,
1120
+ _content_type=_content_type,
1121
+ _headers=_headers,
1122
+ _host_index=_host_index,
1123
+ )
1124
+
1125
+ _response_types_map: Dict[str, Optional[str]] = {
1126
+ "200": "str",
1127
+ "400": None,
1128
+ "404": None,
1129
+ "422": "HTTPValidationError2",
1130
+ "452": None,
1131
+ "500": None,
1132
+ }
1133
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1134
+ await response_data.read()
1135
+ return self.api_client.response_deserialize(
1136
+ response_data=response_data,
1137
+ response_types_map=_response_types_map,
1138
+ )
1139
+
1140
+ @validate_call
1141
+ async def migrate_program_without_preload_content(
1142
+ self,
1143
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1144
+ request1: Request1,
1145
+ _request_timeout: Union[
1146
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1147
+ ] = None,
1148
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1149
+ _content_type: Optional[StrictStr] = None,
1150
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1151
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1152
+ ) -> RESTResponseType:
1153
+ """Migrate Program
1154
+
1155
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Migrate a program ## Parameters See the **Schema** tab for information about the request body
1156
+
1157
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1158
+ :type cell: str
1159
+ :param request1: (required)
1160
+ :type request1: Request1
1161
+ :param _request_timeout: timeout setting for this request. If one
1162
+ number provided, it will be total request
1163
+ timeout. It can also be a pair (tuple) of
1164
+ (connection, read) timeouts.
1165
+ :type _request_timeout: int, tuple(int, int), optional
1166
+ :param _request_auth: set to override the auth_settings for an a single
1167
+ request; this effectively ignores the
1168
+ authentication in the spec for a single request.
1169
+ :type _request_auth: dict, optional
1170
+ :param _content_type: force content-type for the request.
1171
+ :type _content_type: str, Optional
1172
+ :param _headers: set to override the headers for a single
1173
+ request; this effectively ignores the headers
1174
+ in the spec for a single request.
1175
+ :type _headers: dict, optional
1176
+ :param _host_index: set to override the host_index for a single
1177
+ request; this effectively ignores the host_index
1178
+ in the spec for a single request.
1179
+ :type _host_index: int, optional
1180
+ :return: Returns the result object.
1181
+ """ # noqa: E501
1182
+
1183
+ _param = self._migrate_program_serialize(
1184
+ cell=cell,
1185
+ request1=request1,
1186
+ _request_auth=_request_auth,
1187
+ _content_type=_content_type,
1188
+ _headers=_headers,
1189
+ _host_index=_host_index,
1190
+ )
1191
+
1192
+ _response_types_map: Dict[str, Optional[str]] = {
1193
+ "200": "str",
1194
+ "400": None,
1195
+ "404": None,
1196
+ "422": "HTTPValidationError2",
1197
+ "452": None,
1198
+ "500": None,
1199
+ }
1200
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1201
+ return response_data.response
1202
+
1203
+ def _migrate_program_serialize(
1204
+ self,
1205
+ cell,
1206
+ request1,
1207
+ _request_auth,
1208
+ _content_type,
1209
+ _headers,
1210
+ _host_index,
1211
+ ) -> RequestSerialized:
1212
+
1213
+ _host = None
1214
+
1215
+ _collection_formats: Dict[str, str] = {}
1216
+
1217
+ _path_params: Dict[str, str] = {}
1218
+ _query_params: List[Tuple[str, str]] = []
1219
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1220
+ _form_params: List[Tuple[str, str]] = []
1221
+ _files: Dict[str, Union[str, bytes]] = {}
1222
+ _body_params: Optional[bytes] = None
1223
+
1224
+ # process the path parameters
1225
+ if cell is not None:
1226
+ _path_params["cell"] = cell
1227
+ # process the query parameters
1228
+ # process the header parameters
1229
+ # process the form parameters
1230
+ # process the body parameter
1231
+ if request1 is not None:
1232
+ _body_params = request1
1233
+
1234
+ # set the HTTP header `Accept`
1235
+ _header_params["Accept"] = self.api_client.select_header_accept(["text/plain", "application/json"])
1236
+
1237
+ # set the HTTP header `Content-Type`
1238
+ if _content_type:
1239
+ _header_params["Content-Type"] = _content_type
1240
+ else:
1241
+ _default_content_type = self.api_client.select_header_content_type(["text/plain"])
1242
+ if _default_content_type is not None:
1243
+ _header_params["Content-Type"] = _default_content_type
1244
+
1245
+ # authentication setting
1246
+ _auth_settings: List[str] = ["BearerAuth"]
1247
+
1248
+ return self.api_client.param_serialize(
1249
+ method="POST",
1250
+ resource_path="/cells/{cell}/programs/migrate",
1251
+ path_params=_path_params,
1252
+ query_params=_query_params,
1253
+ header_params=_header_params,
1254
+ body=_body_params,
1255
+ post_params=_form_params,
1256
+ files=_files,
1257
+ auth_settings=_auth_settings,
1258
+ collection_formats=_collection_formats,
1259
+ _host=_host,
1260
+ _request_auth=_request_auth,
1261
+ )
1262
+
1263
+ @validate_call
1264
+ async def plan_program(
1265
+ self,
1266
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1267
+ request: Request,
1268
+ identifier: Optional[StrictStr] = None,
1269
+ _request_timeout: Union[
1270
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1271
+ ] = None,
1272
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1273
+ _content_type: Optional[StrictStr] = None,
1274
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1275
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1276
+ ) -> ProgramRun:
1277
+ """Plan Program
1278
+
1279
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Plan a program based on the specified robot type. The plan operation can be used to check if a Wandelscript is executable, given the current joint configuration of the robot. If the Wandelscript is executable, the result contains the motion path. If the Wandelscript is not executable, e.g. points that are out of reach, or the joints encounter a singularity, the reason is returned. The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as Content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
1280
+
1281
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1282
+ :type cell: str
1283
+ :param request: (required)
1284
+ :type request: Request
1285
+ :param identifier:
1286
+ :type identifier: str
1287
+ :param _request_timeout: timeout setting for this request. If one
1288
+ number provided, it will be total request
1289
+ timeout. It can also be a pair (tuple) of
1290
+ (connection, read) timeouts.
1291
+ :type _request_timeout: int, tuple(int, int), optional
1292
+ :param _request_auth: set to override the auth_settings for an a single
1293
+ request; this effectively ignores the
1294
+ authentication in the spec for a single request.
1295
+ :type _request_auth: dict, optional
1296
+ :param _content_type: force content-type for the request.
1297
+ :type _content_type: str, Optional
1298
+ :param _headers: set to override the headers for a single
1299
+ request; this effectively ignores the headers
1300
+ in the spec for a single request.
1301
+ :type _headers: dict, optional
1302
+ :param _host_index: set to override the host_index for a single
1303
+ request; this effectively ignores the host_index
1304
+ in the spec for a single request.
1305
+ :type _host_index: int, optional
1306
+ :return: Returns the result object.
1307
+ """ # noqa: E501
1308
+
1309
+ _param = self._plan_program_serialize(
1310
+ cell=cell,
1311
+ request=request,
1312
+ identifier=identifier,
1313
+ _request_auth=_request_auth,
1314
+ _content_type=_content_type,
1315
+ _headers=_headers,
1316
+ _host_index=_host_index,
1317
+ )
1318
+
1319
+ _response_types_map: Dict[str, Optional[str]] = {
1320
+ "200": "ProgramRun",
1321
+ "400": None,
1322
+ "404": None,
1323
+ "422": "HTTPValidationError2",
1324
+ "452": None,
1325
+ "500": None,
1326
+ }
1327
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1328
+ await response_data.read()
1329
+ return self.api_client.response_deserialize(
1330
+ response_data=response_data,
1331
+ response_types_map=_response_types_map,
1332
+ ).data
1333
+
1334
+ @validate_call
1335
+ async def plan_program_with_http_info(
1336
+ self,
1337
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1338
+ request: Request,
1339
+ identifier: Optional[StrictStr] = None,
1340
+ _request_timeout: Union[
1341
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1342
+ ] = None,
1343
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1344
+ _content_type: Optional[StrictStr] = None,
1345
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1346
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1347
+ ) -> ApiResponse[ProgramRun]:
1348
+ """Plan Program
1349
+
1350
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Plan a program based on the specified robot type. The plan operation can be used to check if a Wandelscript is executable, given the current joint configuration of the robot. If the Wandelscript is executable, the result contains the motion path. If the Wandelscript is not executable, e.g. points that are out of reach, or the joints encounter a singularity, the reason is returned. The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as Content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
1351
+
1352
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1353
+ :type cell: str
1354
+ :param request: (required)
1355
+ :type request: Request
1356
+ :param identifier:
1357
+ :type identifier: str
1358
+ :param _request_timeout: timeout setting for this request. If one
1359
+ number provided, it will be total request
1360
+ timeout. It can also be a pair (tuple) of
1361
+ (connection, read) timeouts.
1362
+ :type _request_timeout: int, tuple(int, int), optional
1363
+ :param _request_auth: set to override the auth_settings for an a single
1364
+ request; this effectively ignores the
1365
+ authentication in the spec for a single request.
1366
+ :type _request_auth: dict, optional
1367
+ :param _content_type: force content-type for the request.
1368
+ :type _content_type: str, Optional
1369
+ :param _headers: set to override the headers for a single
1370
+ request; this effectively ignores the headers
1371
+ in the spec for a single request.
1372
+ :type _headers: dict, optional
1373
+ :param _host_index: set to override the host_index for a single
1374
+ request; this effectively ignores the host_index
1375
+ in the spec for a single request.
1376
+ :type _host_index: int, optional
1377
+ :return: Returns the result object.
1378
+ """ # noqa: E501
1379
+
1380
+ _param = self._plan_program_serialize(
1381
+ cell=cell,
1382
+ request=request,
1383
+ identifier=identifier,
1384
+ _request_auth=_request_auth,
1385
+ _content_type=_content_type,
1386
+ _headers=_headers,
1387
+ _host_index=_host_index,
1388
+ )
1389
+
1390
+ _response_types_map: Dict[str, Optional[str]] = {
1391
+ "200": "ProgramRun",
1392
+ "400": None,
1393
+ "404": None,
1394
+ "422": "HTTPValidationError2",
1395
+ "452": None,
1396
+ "500": None,
1397
+ }
1398
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1399
+ await response_data.read()
1400
+ return self.api_client.response_deserialize(
1401
+ response_data=response_data,
1402
+ response_types_map=_response_types_map,
1403
+ )
1404
+
1405
+ @validate_call
1406
+ async def plan_program_without_preload_content(
1407
+ self,
1408
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1409
+ request: Request,
1410
+ identifier: Optional[StrictStr] = None,
1411
+ _request_timeout: Union[
1412
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1413
+ ] = None,
1414
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1415
+ _content_type: Optional[StrictStr] = None,
1416
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1417
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1418
+ ) -> RESTResponseType:
1419
+ """Plan Program
1420
+
1421
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Plan a program based on the specified robot type. The plan operation can be used to check if a Wandelscript is executable, given the current joint configuration of the robot. If the Wandelscript is executable, the result contains the motion path. If the Wandelscript is not executable, e.g. points that are out of reach, or the joints encounter a singularity, the reason is returned. The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". The plan operation can be used in other operating modes besides control mode. The Wandelscript can either be submitted as is, using Content-type text/plain, or as Content-type application/json with the Wandelscript under \"code\" alongside a set of values provided under \"initial_state\". * [WandelEngine & Wandelscript Documentation](/docs/docs/wandelscript)
1422
+
1423
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1424
+ :type cell: str
1425
+ :param request: (required)
1426
+ :type request: Request
1427
+ :param identifier:
1428
+ :type identifier: str
1429
+ :param _request_timeout: timeout setting for this request. If one
1430
+ number provided, it will be total request
1431
+ timeout. It can also be a pair (tuple) of
1432
+ (connection, read) timeouts.
1433
+ :type _request_timeout: int, tuple(int, int), optional
1434
+ :param _request_auth: set to override the auth_settings for an a single
1435
+ request; this effectively ignores the
1436
+ authentication in the spec for a single request.
1437
+ :type _request_auth: dict, optional
1438
+ :param _content_type: force content-type for the request.
1439
+ :type _content_type: str, Optional
1440
+ :param _headers: set to override the headers for a single
1441
+ request; this effectively ignores the headers
1442
+ in the spec for a single request.
1443
+ :type _headers: dict, optional
1444
+ :param _host_index: set to override the host_index for a single
1445
+ request; this effectively ignores the host_index
1446
+ in the spec for a single request.
1447
+ :type _host_index: int, optional
1448
+ :return: Returns the result object.
1449
+ """ # noqa: E501
1450
+
1451
+ _param = self._plan_program_serialize(
1452
+ cell=cell,
1453
+ request=request,
1454
+ identifier=identifier,
1455
+ _request_auth=_request_auth,
1456
+ _content_type=_content_type,
1457
+ _headers=_headers,
1458
+ _host_index=_host_index,
1459
+ )
1460
+
1461
+ _response_types_map: Dict[str, Optional[str]] = {
1462
+ "200": "ProgramRun",
1463
+ "400": None,
1464
+ "404": None,
1465
+ "422": "HTTPValidationError2",
1466
+ "452": None,
1467
+ "500": None,
1468
+ }
1469
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1470
+ return response_data.response
1471
+
1472
+ def _plan_program_serialize(
1473
+ self,
1474
+ cell,
1475
+ request,
1476
+ identifier,
1477
+ _request_auth,
1478
+ _content_type,
1479
+ _headers,
1480
+ _host_index,
1481
+ ) -> RequestSerialized:
1482
+
1483
+ _host = None
1484
+
1485
+ _collection_formats: Dict[str, str] = {}
1486
+
1487
+ _path_params: Dict[str, str] = {}
1488
+ _query_params: List[Tuple[str, str]] = []
1489
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1490
+ _form_params: List[Tuple[str, str]] = []
1491
+ _files: Dict[str, Union[str, bytes]] = {}
1492
+ _body_params: Optional[bytes] = None
1493
+
1494
+ # process the path parameters
1495
+ if cell is not None:
1496
+ _path_params["cell"] = cell
1497
+ # process the query parameters
1498
+ if identifier is not None:
1499
+ _query_params.append(("identifier", identifier))
1500
+
1501
+ # process the header parameters
1502
+ # process the form parameters
1503
+ # process the body parameter
1504
+ if request is not None:
1505
+ _body_params = request
1506
+
1507
+ # set the HTTP header `Accept`
1508
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1509
+
1510
+ # set the HTTP header `Content-Type`
1511
+ if _content_type:
1512
+ _header_params["Content-Type"] = _content_type
1513
+ else:
1514
+ _default_content_type = self.api_client.select_header_content_type(["text/plain"])
1515
+ if _default_content_type is not None:
1516
+ _header_params["Content-Type"] = _default_content_type
1517
+
1518
+ # authentication setting
1519
+ _auth_settings: List[str] = ["BearerAuth"]
1520
+
1521
+ return self.api_client.param_serialize(
1522
+ method="POST",
1523
+ resource_path="/cells/{cell}/programs/plan",
1524
+ path_params=_path_params,
1525
+ query_params=_query_params,
1526
+ header_params=_header_params,
1527
+ body=_body_params,
1528
+ post_params=_form_params,
1529
+ files=_files,
1530
+ auth_settings=_auth_settings,
1531
+ collection_formats=_collection_formats,
1532
+ _host=_host,
1533
+ _request_auth=_request_auth,
1534
+ )
1535
+
1536
+ @validate_call
1537
+ async def stop_all_program_runner(
1538
+ self,
1539
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
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
+ ) -> object:
1548
+ """Stop All Program Runners
1549
+
1550
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Stop all runners.
1551
+
1552
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1553
+ :type cell: str
1554
+ :param _request_timeout: timeout setting for this request. If one
1555
+ number provided, it will be total request
1556
+ timeout. It can also be a pair (tuple) of
1557
+ (connection, read) timeouts.
1558
+ :type _request_timeout: int, tuple(int, int), optional
1559
+ :param _request_auth: set to override the auth_settings for an a single
1560
+ request; this effectively ignores the
1561
+ authentication in the spec for a single request.
1562
+ :type _request_auth: dict, optional
1563
+ :param _content_type: force content-type for the request.
1564
+ :type _content_type: str, Optional
1565
+ :param _headers: set to override the headers for a single
1566
+ request; this effectively ignores the headers
1567
+ in the spec for a single request.
1568
+ :type _headers: dict, optional
1569
+ :param _host_index: set to override the host_index for a single
1570
+ request; this effectively ignores the host_index
1571
+ in the spec for a single request.
1572
+ :type _host_index: int, optional
1573
+ :return: Returns the result object.
1574
+ """ # noqa: E501
1575
+
1576
+ _param = self._stop_all_program_runner_serialize(
1577
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1578
+ )
1579
+
1580
+ _response_types_map: Dict[str, Optional[str]] = {
1581
+ "200": "object",
1582
+ "400": None,
1583
+ "404": None,
1584
+ "452": None,
1585
+ "500": None,
1586
+ }
1587
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1588
+ await response_data.read()
1589
+ return self.api_client.response_deserialize(
1590
+ response_data=response_data,
1591
+ response_types_map=_response_types_map,
1592
+ ).data
1593
+
1594
+ @validate_call
1595
+ async def stop_all_program_runner_with_http_info(
1596
+ self,
1597
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1598
+ _request_timeout: Union[
1599
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1600
+ ] = None,
1601
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1602
+ _content_type: Optional[StrictStr] = None,
1603
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1604
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1605
+ ) -> ApiResponse[object]:
1606
+ """Stop All Program Runners
1607
+
1608
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Stop all runners.
1609
+
1610
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1611
+ :type cell: str
1612
+ :param _request_timeout: timeout setting for this request. If one
1613
+ number provided, it will be total request
1614
+ timeout. It can also be a pair (tuple) of
1615
+ (connection, read) timeouts.
1616
+ :type _request_timeout: int, tuple(int, int), optional
1617
+ :param _request_auth: set to override the auth_settings for an a single
1618
+ request; this effectively ignores the
1619
+ authentication in the spec for a single request.
1620
+ :type _request_auth: dict, optional
1621
+ :param _content_type: force content-type for the request.
1622
+ :type _content_type: str, Optional
1623
+ :param _headers: set to override the headers for a single
1624
+ request; this effectively ignores the headers
1625
+ in the spec for a single request.
1626
+ :type _headers: dict, optional
1627
+ :param _host_index: set to override the host_index for a single
1628
+ request; this effectively ignores the host_index
1629
+ in the spec for a single request.
1630
+ :type _host_index: int, optional
1631
+ :return: Returns the result object.
1632
+ """ # noqa: E501
1633
+
1634
+ _param = self._stop_all_program_runner_serialize(
1635
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1636
+ )
1637
+
1638
+ _response_types_map: Dict[str, Optional[str]] = {
1639
+ "200": "object",
1640
+ "400": None,
1641
+ "404": None,
1642
+ "452": None,
1643
+ "500": None,
1644
+ }
1645
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1646
+ await response_data.read()
1647
+ return self.api_client.response_deserialize(
1648
+ response_data=response_data,
1649
+ response_types_map=_response_types_map,
1650
+ )
1651
+
1652
+ @validate_call
1653
+ async def stop_all_program_runner_without_preload_content(
1654
+ self,
1655
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1656
+ _request_timeout: Union[
1657
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1658
+ ] = None,
1659
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1660
+ _content_type: Optional[StrictStr] = None,
1661
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1662
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1663
+ ) -> RESTResponseType:
1664
+ """Stop All Program Runners
1665
+
1666
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Stop all runners.
1667
+
1668
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1669
+ :type cell: str
1670
+ :param _request_timeout: timeout setting for this request. If one
1671
+ number provided, it will be total request
1672
+ timeout. It can also be a pair (tuple) of
1673
+ (connection, read) timeouts.
1674
+ :type _request_timeout: int, tuple(int, int), optional
1675
+ :param _request_auth: set to override the auth_settings for an a single
1676
+ request; this effectively ignores the
1677
+ authentication in the spec for a single request.
1678
+ :type _request_auth: dict, optional
1679
+ :param _content_type: force content-type for the request.
1680
+ :type _content_type: str, Optional
1681
+ :param _headers: set to override the headers for a single
1682
+ request; this effectively ignores the headers
1683
+ in the spec for a single request.
1684
+ :type _headers: dict, optional
1685
+ :param _host_index: set to override the host_index for a single
1686
+ request; this effectively ignores the host_index
1687
+ in the spec for a single request.
1688
+ :type _host_index: int, optional
1689
+ :return: Returns the result object.
1690
+ """ # noqa: E501
1691
+
1692
+ _param = self._stop_all_program_runner_serialize(
1693
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1694
+ )
1695
+
1696
+ _response_types_map: Dict[str, Optional[str]] = {
1697
+ "200": "object",
1698
+ "400": None,
1699
+ "404": None,
1700
+ "452": None,
1701
+ "500": None,
1702
+ }
1703
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1704
+ return response_data.response
1705
+
1706
+ def _stop_all_program_runner_serialize(
1707
+ self,
1708
+ cell,
1709
+ _request_auth,
1710
+ _content_type,
1711
+ _headers,
1712
+ _host_index,
1713
+ ) -> RequestSerialized:
1714
+
1715
+ _host = None
1716
+
1717
+ _collection_formats: Dict[str, str] = {}
1718
+
1719
+ _path_params: Dict[str, str] = {}
1720
+ _query_params: List[Tuple[str, str]] = []
1721
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1722
+ _form_params: List[Tuple[str, str]] = []
1723
+ _files: Dict[str, Union[str, bytes]] = {}
1724
+ _body_params: Optional[bytes] = None
1725
+
1726
+ # process the path parameters
1727
+ if cell is not None:
1728
+ _path_params["cell"] = cell
1729
+ # process the query parameters
1730
+ # process the header parameters
1731
+ # process the form parameters
1732
+ # process the body parameter
1733
+
1734
+ # set the HTTP header `Accept`
1735
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1736
+
1737
+ # authentication setting
1738
+ _auth_settings: List[str] = ["BearerAuth"]
1739
+
1740
+ return self.api_client.param_serialize(
1741
+ method="POST",
1742
+ resource_path="/cells/{cell}/programs/runners/stop",
1743
+ path_params=_path_params,
1744
+ query_params=_query_params,
1745
+ header_params=_header_params,
1746
+ body=_body_params,
1747
+ post_params=_form_params,
1748
+ files=_files,
1749
+ auth_settings=_auth_settings,
1750
+ collection_formats=_collection_formats,
1751
+ _host=_host,
1752
+ _request_auth=_request_auth,
1753
+ )
1754
+
1755
+ @validate_call
1756
+ async def stop_program_runner(
1757
+ self,
1758
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1759
+ runner: StrictStr,
1760
+ _request_timeout: Union[
1761
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1762
+ ] = None,
1763
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1764
+ _content_type: Optional[StrictStr] = None,
1765
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1766
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1767
+ ) -> None:
1768
+ """Stop Program Runner
1769
+
1770
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Stop a specific program runner. If the indicated runner was not running, an error will be returned. ## Parameters - **runner_id**: The id of the program runner
1771
+
1772
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1773
+ :type cell: str
1774
+ :param runner: (required)
1775
+ :type runner: str
1776
+ :param _request_timeout: timeout setting for this request. If one
1777
+ number provided, it will be total request
1778
+ timeout. It can also be a pair (tuple) of
1779
+ (connection, read) timeouts.
1780
+ :type _request_timeout: int, tuple(int, int), optional
1781
+ :param _request_auth: set to override the auth_settings for an a single
1782
+ request; this effectively ignores the
1783
+ authentication in the spec for a single request.
1784
+ :type _request_auth: dict, optional
1785
+ :param _content_type: force content-type for the request.
1786
+ :type _content_type: str, Optional
1787
+ :param _headers: set to override the headers for a single
1788
+ request; this effectively ignores the headers
1789
+ in the spec for a single request.
1790
+ :type _headers: dict, optional
1791
+ :param _host_index: set to override the host_index for a single
1792
+ request; this effectively ignores the host_index
1793
+ in the spec for a single request.
1794
+ :type _host_index: int, optional
1795
+ :return: Returns the result object.
1796
+ """ # noqa: E501
1797
+
1798
+ _param = self._stop_program_runner_serialize(
1799
+ cell=cell, runner=runner, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1800
+ )
1801
+
1802
+ _response_types_map: Dict[str, Optional[str]] = {
1803
+ "204": None,
1804
+ "400": None,
1805
+ "404": None,
1806
+ "422": "HTTPValidationError2",
1807
+ "452": None,
1808
+ "500": None,
1809
+ }
1810
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1811
+ await response_data.read()
1812
+ return self.api_client.response_deserialize(
1813
+ response_data=response_data,
1814
+ response_types_map=_response_types_map,
1815
+ ).data
1816
+
1817
+ @validate_call
1818
+ async def stop_program_runner_with_http_info(
1819
+ self,
1820
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1821
+ runner: StrictStr,
1822
+ _request_timeout: Union[
1823
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1824
+ ] = None,
1825
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1826
+ _content_type: Optional[StrictStr] = None,
1827
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1828
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1829
+ ) -> ApiResponse[None]:
1830
+ """Stop Program Runner
1831
+
1832
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Stop a specific program runner. If the indicated runner was not running, an error will be returned. ## Parameters - **runner_id**: The id of the program runner
1833
+
1834
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1835
+ :type cell: str
1836
+ :param runner: (required)
1837
+ :type runner: str
1838
+ :param _request_timeout: timeout setting for this request. If one
1839
+ number provided, it will be total request
1840
+ timeout. It can also be a pair (tuple) of
1841
+ (connection, read) timeouts.
1842
+ :type _request_timeout: int, tuple(int, int), optional
1843
+ :param _request_auth: set to override the auth_settings for an a single
1844
+ request; this effectively ignores the
1845
+ authentication in the spec for a single request.
1846
+ :type _request_auth: dict, optional
1847
+ :param _content_type: force content-type for the request.
1848
+ :type _content_type: str, Optional
1849
+ :param _headers: set to override the headers for a single
1850
+ request; this effectively ignores the headers
1851
+ in the spec for a single request.
1852
+ :type _headers: dict, optional
1853
+ :param _host_index: set to override the host_index for a single
1854
+ request; this effectively ignores the host_index
1855
+ in the spec for a single request.
1856
+ :type _host_index: int, optional
1857
+ :return: Returns the result object.
1858
+ """ # noqa: E501
1859
+
1860
+ _param = self._stop_program_runner_serialize(
1861
+ cell=cell, runner=runner, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1862
+ )
1863
+
1864
+ _response_types_map: Dict[str, Optional[str]] = {
1865
+ "204": None,
1866
+ "400": None,
1867
+ "404": None,
1868
+ "422": "HTTPValidationError2",
1869
+ "452": None,
1870
+ "500": None,
1871
+ }
1872
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1873
+ await response_data.read()
1874
+ return self.api_client.response_deserialize(
1875
+ response_data=response_data,
1876
+ response_types_map=_response_types_map,
1877
+ )
1878
+
1879
+ @validate_call
1880
+ async def stop_program_runner_without_preload_content(
1881
+ self,
1882
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1883
+ runner: StrictStr,
1884
+ _request_timeout: Union[
1885
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1886
+ ] = None,
1887
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1888
+ _content_type: Optional[StrictStr] = None,
1889
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1890
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1891
+ ) -> RESTResponseType:
1892
+ """Stop Program Runner
1893
+
1894
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Stop a specific program runner. If the indicated runner was not running, an error will be returned. ## Parameters - **runner_id**: The id of the program runner
1895
+
1896
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1897
+ :type cell: str
1898
+ :param runner: (required)
1899
+ :type runner: str
1900
+ :param _request_timeout: timeout setting for this request. If one
1901
+ number provided, it will be total request
1902
+ timeout. It can also be a pair (tuple) of
1903
+ (connection, read) timeouts.
1904
+ :type _request_timeout: int, tuple(int, int), optional
1905
+ :param _request_auth: set to override the auth_settings for an a single
1906
+ request; this effectively ignores the
1907
+ authentication in the spec for a single request.
1908
+ :type _request_auth: dict, optional
1909
+ :param _content_type: force content-type for the request.
1910
+ :type _content_type: str, Optional
1911
+ :param _headers: set to override the headers for a single
1912
+ request; this effectively ignores the headers
1913
+ in the spec for a single request.
1914
+ :type _headers: dict, optional
1915
+ :param _host_index: set to override the host_index for a single
1916
+ request; this effectively ignores the host_index
1917
+ in the spec for a single request.
1918
+ :type _host_index: int, optional
1919
+ :return: Returns the result object.
1920
+ """ # noqa: E501
1921
+
1922
+ _param = self._stop_program_runner_serialize(
1923
+ cell=cell, runner=runner, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1924
+ )
1925
+
1926
+ _response_types_map: Dict[str, Optional[str]] = {
1927
+ "204": None,
1928
+ "400": None,
1929
+ "404": None,
1930
+ "422": "HTTPValidationError2",
1931
+ "452": None,
1932
+ "500": None,
1933
+ }
1934
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1935
+ return response_data.response
1936
+
1937
+ def _stop_program_runner_serialize(
1938
+ self,
1939
+ cell,
1940
+ runner,
1941
+ _request_auth,
1942
+ _content_type,
1943
+ _headers,
1944
+ _host_index,
1945
+ ) -> RequestSerialized:
1946
+
1947
+ _host = None
1948
+
1949
+ _collection_formats: Dict[str, str] = {}
1950
+
1951
+ _path_params: Dict[str, str] = {}
1952
+ _query_params: List[Tuple[str, str]] = []
1953
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1954
+ _form_params: List[Tuple[str, str]] = []
1955
+ _files: Dict[str, Union[str, bytes]] = {}
1956
+ _body_params: Optional[bytes] = None
1957
+
1958
+ # process the path parameters
1959
+ if cell is not None:
1960
+ _path_params["cell"] = cell
1961
+ if runner is not None:
1962
+ _path_params["runner"] = runner
1963
+ # process the query parameters
1964
+ # process the header parameters
1965
+ # process the form parameters
1966
+ # process the body parameter
1967
+
1968
+ # set the HTTP header `Accept`
1969
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1970
+
1971
+ # authentication setting
1972
+ _auth_settings: List[str] = ["BearerAuth"]
1973
+
1974
+ return self.api_client.param_serialize(
1975
+ method="POST",
1976
+ resource_path="/cells/{cell}/programs/runners/{runner}/stop",
1977
+ path_params=_path_params,
1978
+ query_params=_query_params,
1979
+ header_params=_header_params,
1980
+ body=_body_params,
1981
+ post_params=_form_params,
1982
+ files=_files,
1983
+ auth_settings=_auth_settings,
1984
+ collection_formats=_collection_formats,
1985
+ _host=_host,
1986
+ _request_auth=_request_auth,
1987
+ )