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.
- wandelbots_api_client/__init__.py +48 -0
- wandelbots_api_client/api/__init__.py +63 -0
- wandelbots_api_client/api/application_api.py +1514 -0
- wandelbots_api_client/api/cell_api.py +1424 -0
- wandelbots_api_client/api/controller_api.py +2951 -0
- wandelbots_api_client/api/controller_ios_api.py +1205 -0
- wandelbots_api_client/api/coordinate_systems_api.py +1267 -0
- wandelbots_api_client/api/device_configuration_api.py +1193 -0
- wandelbots_api_client/api/library_program_api.py +1326 -0
- wandelbots_api_client/api/library_program_metadata_api.py +1090 -0
- wandelbots_api_client/api/library_recipe_api.py +1351 -0
- wandelbots_api_client/api/library_recipe_metadata_api.py +1050 -0
- wandelbots_api_client/api/license_api.py +865 -0
- wandelbots_api_client/api/motion_api.py +3596 -0
- wandelbots_api_client/api/motion_group_api.py +956 -0
- wandelbots_api_client/api/motion_group_infos_api.py +2611 -0
- wandelbots_api_client/api/motion_group_jogging_api.py +685 -0
- wandelbots_api_client/api/motion_group_kinematic_api.py +1055 -0
- wandelbots_api_client/api/program_api.py +1987 -0
- wandelbots_api_client/api/program_operator_api.py +1881 -0
- wandelbots_api_client/api/program_values_api.py +1444 -0
- wandelbots_api_client/api/store_collision_components_api.py +3074 -0
- wandelbots_api_client/api/store_collision_scenes_api.py +951 -0
- wandelbots_api_client/api/store_object_api.py +1387 -0
- wandelbots_api_client/api/system_api.py +1075 -0
- wandelbots_api_client/api/version_api.py +237 -0
- wandelbots_api_client/api/virtual_robot_api.py +1583 -0
- wandelbots_api_client/api/virtual_robot_behavior_api.py +649 -0
- wandelbots_api_client/api/virtual_robot_mode_api.py +1467 -0
- wandelbots_api_client/api/virtual_robot_setup_api.py +2116 -0
- wandelbots_api_client/api_client.py +688 -0
- wandelbots_api_client/api_response.py +20 -0
- wandelbots_api_client/authorization.py +243 -0
- wandelbots_api_client/configuration.py +579 -0
- wandelbots_api_client/exceptions.py +216 -0
- wandelbots_api_client/models/__init__.py +316 -0
- wandelbots_api_client/models/abb_controller.py +112 -0
- wandelbots_api_client/models/abb_controller_egm_server.py +87 -0
- wandelbots_api_client/models/activate_license_request.py +86 -0
- wandelbots_api_client/models/add_request.py +95 -0
- wandelbots_api_client/models/all_joint_positions_request.py +96 -0
- wandelbots_api_client/models/all_joint_positions_response.py +109 -0
- wandelbots_api_client/models/api_version.py +86 -0
- wandelbots_api_client/models/app.py +148 -0
- wandelbots_api_client/models/array_input.py +114 -0
- wandelbots_api_client/models/array_output.py +116 -0
- wandelbots_api_client/models/behavior.py +35 -0
- wandelbots_api_client/models/blending_auto.py +99 -0
- wandelbots_api_client/models/blending_position.py +97 -0
- wandelbots_api_client/models/box.py +98 -0
- wandelbots_api_client/models/box2.py +112 -0
- wandelbots_api_client/models/box3.py +112 -0
- wandelbots_api_client/models/capsule.py +87 -0
- wandelbots_api_client/models/capsule2.py +97 -0
- wandelbots_api_client/models/capsule3.py +101 -0
- wandelbots_api_client/models/capture.py +86 -0
- wandelbots_api_client/models/cell.py +142 -0
- wandelbots_api_client/models/circle.py +99 -0
- wandelbots_api_client/models/code_with_arguments.py +108 -0
- wandelbots_api_client/models/collection_value.py +322 -0
- wandelbots_api_client/models/collider.py +105 -0
- wandelbots_api_client/models/collider_input.py +105 -0
- wandelbots_api_client/models/collider_output.py +105 -0
- wandelbots_api_client/models/collider_output_shape.py +242 -0
- wandelbots_api_client/models/collider_shape.py +280 -0
- wandelbots_api_client/models/collision.py +110 -0
- wandelbots_api_client/models/collision_contact.py +92 -0
- wandelbots_api_client/models/collision_motion_group.py +124 -0
- wandelbots_api_client/models/collision_motion_group_assembly.py +128 -0
- wandelbots_api_client/models/collision_robot_configuration_input.py +121 -0
- wandelbots_api_client/models/collision_robot_configuration_output.py +121 -0
- wandelbots_api_client/models/collision_scene.py +117 -0
- wandelbots_api_client/models/collision_scene_assembly.py +133 -0
- wandelbots_api_client/models/command.py +140 -0
- wandelbots_api_client/models/command_settings.py +104 -0
- wandelbots_api_client/models/comparator.py +39 -0
- wandelbots_api_client/models/compound.py +114 -0
- wandelbots_api_client/models/container_environment_inner.py +87 -0
- wandelbots_api_client/models/container_image.py +122 -0
- wandelbots_api_client/models/container_image_secrets_inner.py +86 -0
- wandelbots_api_client/models/container_resources.py +89 -0
- wandelbots_api_client/models/container_storage.py +97 -0
- wandelbots_api_client/models/controller_capabilities.py +89 -0
- wandelbots_api_client/models/controller_instance.py +148 -0
- wandelbots_api_client/models/controller_instance_list.py +109 -0
- wandelbots_api_client/models/convex_hull.py +109 -0
- wandelbots_api_client/models/convex_hull2.py +97 -0
- wandelbots_api_client/models/convex_hull3.py +97 -0
- wandelbots_api_client/models/coordinate_system.py +108 -0
- wandelbots_api_client/models/coordinate_systems.py +109 -0
- wandelbots_api_client/models/create_program_run200_response.py +88 -0
- wandelbots_api_client/models/create_program_run_request.py +86 -0
- wandelbots_api_client/models/create_trigger200_response.py +86 -0
- wandelbots_api_client/models/create_trigger_request.py +101 -0
- wandelbots_api_client/models/cubic_spline.py +109 -0
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +93 -0
- wandelbots_api_client/models/cubic_spline_parameter.py +93 -0
- wandelbots_api_client/models/cycle_time.py +86 -0
- wandelbots_api_client/models/cylinder.py +87 -0
- wandelbots_api_client/models/cylinder2.py +95 -0
- wandelbots_api_client/models/cylinder3.py +101 -0
- wandelbots_api_client/models/devices_inner.py +321 -0
- wandelbots_api_client/models/dh_parameter.py +98 -0
- wandelbots_api_client/models/direction.py +34 -0
- wandelbots_api_client/models/direction_jogging_request.py +136 -0
- wandelbots_api_client/models/error.py +87 -0
- wandelbots_api_client/models/execute_trajectory_request.py +182 -0
- wandelbots_api_client/models/execute_trajectory_response.py +223 -0
- wandelbots_api_client/models/execution_result.py +113 -0
- wandelbots_api_client/models/external_joint_stream_datapoint.py +96 -0
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +96 -0
- wandelbots_api_client/models/fanuc_controller.py +99 -0
- wandelbots_api_client/models/feedback_collision.py +126 -0
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +101 -0
- wandelbots_api_client/models/feedback_out_of_workspace.py +103 -0
- wandelbots_api_client/models/feedback_singularity.py +102 -0
- wandelbots_api_client/models/flag.py +86 -0
- wandelbots_api_client/models/force_vector.py +103 -0
- wandelbots_api_client/models/geometry.py +167 -0
- wandelbots_api_client/models/get_all_program_runs200_response.py +109 -0
- wandelbots_api_client/models/get_all_triggers200_response.py +109 -0
- wandelbots_api_client/models/get_mode_response.py +87 -0
- wandelbots_api_client/models/get_trajectory_response.py +112 -0
- wandelbots_api_client/models/get_trajectory_sample_response.py +90 -0
- wandelbots_api_client/models/google_protobuf_any.py +102 -0
- wandelbots_api_client/models/http_exception_response.py +86 -0
- wandelbots_api_client/models/http_validation_error.py +109 -0
- wandelbots_api_client/models/http_validation_error2.py +109 -0
- wandelbots_api_client/models/image_credentials.py +88 -0
- wandelbots_api_client/models/info_service_capabilities.py +110 -0
- wandelbots_api_client/models/initialize_movement_request.py +111 -0
- wandelbots_api_client/models/initialize_movement_response.py +96 -0
- wandelbots_api_client/models/initialize_movement_response_init_response.py +89 -0
- wandelbots_api_client/models/io.py +105 -0
- wandelbots_api_client/models/io_description.py +156 -0
- wandelbots_api_client/models/io_value.py +104 -0
- wandelbots_api_client/models/ios.py +109 -0
- wandelbots_api_client/models/jogging_response.py +117 -0
- wandelbots_api_client/models/jogging_service_capabilities.py +87 -0
- wandelbots_api_client/models/joint_jogging_request.py +108 -0
- wandelbots_api_client/models/joint_limit.py +123 -0
- wandelbots_api_client/models/joint_limit_exceeded.py +96 -0
- wandelbots_api_client/models/joint_position_request.py +104 -0
- wandelbots_api_client/models/joint_trajectory.py +117 -0
- wandelbots_api_client/models/joints.py +86 -0
- wandelbots_api_client/models/kinematic_service_capabilities.py +96 -0
- wandelbots_api_client/models/kuka_controller.py +112 -0
- wandelbots_api_client/models/kuka_controller_rsi_server.py +92 -0
- wandelbots_api_client/models/license.py +124 -0
- wandelbots_api_client/models/license_status.py +88 -0
- wandelbots_api_client/models/license_status_enum.py +37 -0
- wandelbots_api_client/models/limit_settings.py +223 -0
- wandelbots_api_client/models/limits_override.py +132 -0
- wandelbots_api_client/models/list_io_descriptions_response.py +109 -0
- wandelbots_api_client/models/list_io_values_response.py +109 -0
- wandelbots_api_client/models/list_payloads_response.py +109 -0
- wandelbots_api_client/models/list_program_metadata_response.py +109 -0
- wandelbots_api_client/models/list_recipe_metadata_response.py +109 -0
- wandelbots_api_client/models/list_response.py +109 -0
- wandelbots_api_client/models/list_tcps_response.py +112 -0
- wandelbots_api_client/models/location_inner.py +153 -0
- wandelbots_api_client/models/location_inner1.py +142 -0
- wandelbots_api_client/models/manufacturer.py +37 -0
- wandelbots_api_client/models/mode_change_response.py +97 -0
- wandelbots_api_client/models/motion_command.py +109 -0
- wandelbots_api_client/models/motion_command_blending.py +164 -0
- wandelbots_api_client/models/motion_command_path.py +221 -0
- wandelbots_api_client/models/motion_group_behavior_getter.py +87 -0
- wandelbots_api_client/models/motion_group_info.py +88 -0
- wandelbots_api_client/models/motion_group_infos.py +109 -0
- wandelbots_api_client/models/motion_group_instance.py +101 -0
- wandelbots_api_client/models/motion_group_instance_list.py +109 -0
- wandelbots_api_client/models/motion_group_joints.py +100 -0
- wandelbots_api_client/models/motion_group_physical.py +105 -0
- wandelbots_api_client/models/motion_group_specification.py +136 -0
- wandelbots_api_client/models/motion_group_state.py +180 -0
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +86 -0
- wandelbots_api_client/models/motion_group_state_response.py +103 -0
- wandelbots_api_client/models/motion_id.py +88 -0
- wandelbots_api_client/models/motion_ids_list_response.py +89 -0
- wandelbots_api_client/models/motion_vector.py +103 -0
- wandelbots_api_client/models/mounting.py +98 -0
- wandelbots_api_client/models/move_request.py +162 -0
- wandelbots_api_client/models/move_response.py +91 -0
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +107 -0
- wandelbots_api_client/models/movement.py +90 -0
- wandelbots_api_client/models/movement_error.py +90 -0
- wandelbots_api_client/models/movement_error_error.py +86 -0
- wandelbots_api_client/models/movement_movement.py +98 -0
- wandelbots_api_client/models/op_mode.py +93 -0
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +100 -0
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +159 -0
- wandelbots_api_client/models/optimizer_setup.py +145 -0
- wandelbots_api_client/models/out_of_workspace.py +92 -0
- wandelbots_api_client/models/path.py +109 -0
- wandelbots_api_client/models/path_cartesian_ptp.py +103 -0
- wandelbots_api_client/models/path_circle.py +108 -0
- wandelbots_api_client/models/path_cubic_spline.py +118 -0
- wandelbots_api_client/models/path_joint_ptp.py +96 -0
- wandelbots_api_client/models/path_line.py +103 -0
- wandelbots_api_client/models/pause_movement_request.py +95 -0
- wandelbots_api_client/models/pause_movement_response.py +96 -0
- wandelbots_api_client/models/pause_movement_response_pause_response.py +89 -0
- wandelbots_api_client/models/pause_on_io.py +96 -0
- wandelbots_api_client/models/payload.py +103 -0
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +131 -0
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +150 -0
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +149 -0
- wandelbots_api_client/models/plan_failed_response.py +136 -0
- wandelbots_api_client/models/plan_request.py +127 -0
- wandelbots_api_client/models/plan_response.py +112 -0
- wandelbots_api_client/models/plan_successful_response.py +100 -0
- wandelbots_api_client/models/plan_trajectory_failed_response.py +106 -0
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +209 -0
- wandelbots_api_client/models/plan_trajectory_request.py +154 -0
- wandelbots_api_client/models/plan_trajectory_response.py +92 -0
- wandelbots_api_client/models/plan_trajectory_response_response.py +147 -0
- wandelbots_api_client/models/plane2.py +93 -0
- wandelbots_api_client/models/plane3.py +93 -0
- wandelbots_api_client/models/planned_motion.py +125 -0
- wandelbots_api_client/models/planner_pose.py +100 -0
- wandelbots_api_client/models/planning_limits.py +168 -0
- wandelbots_api_client/models/planning_limits_limit_range.py +87 -0
- wandelbots_api_client/models/playback_speed_request.py +94 -0
- wandelbots_api_client/models/playback_speed_response.py +96 -0
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +86 -0
- wandelbots_api_client/models/point_cloud.py +86 -0
- wandelbots_api_client/models/pose.py +107 -0
- wandelbots_api_client/models/pose2.py +93 -0
- wandelbots_api_client/models/program_metadata.py +100 -0
- wandelbots_api_client/models/program_run.py +168 -0
- wandelbots_api_client/models/program_run_object.py +103 -0
- wandelbots_api_client/models/program_run_state.py +37 -0
- wandelbots_api_client/models/program_runner_reference.py +88 -0
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +88 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +87 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +87 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +87 -0
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +101 -0
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +101 -0
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +99 -0
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +107 -0
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +119 -0
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +130 -0
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +130 -0
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +102 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +99 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +94 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +94 -0
- wandelbots_api_client/models/quaternion.py +89 -0
- wandelbots_api_client/models/recipe_metadata.py +102 -0
- wandelbots_api_client/models/rectangle.py +87 -0
- wandelbots_api_client/models/rectangle2.py +95 -0
- wandelbots_api_client/models/rectangle3.py +101 -0
- wandelbots_api_client/models/rectangular_capsule.py +94 -0
- wandelbots_api_client/models/rectangular_capsule2.py +103 -0
- wandelbots_api_client/models/rectangular_capsule3.py +103 -0
- wandelbots_api_client/models/release_channel.py +34 -0
- wandelbots_api_client/models/request.py +142 -0
- wandelbots_api_client/models/request1.py +140 -0
- wandelbots_api_client/models/response_get_devices_devices_get_inner.py +321 -0
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +317 -0
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +322 -0
- wandelbots_api_client/models/robot_controller.py +108 -0
- wandelbots_api_client/models/robot_controller_configuration.py +262 -0
- wandelbots_api_client/models/robot_controller_state.py +191 -0
- wandelbots_api_client/models/robot_link_geometry.py +98 -0
- wandelbots_api_client/models/robot_state.py +101 -0
- wandelbots_api_client/models/robot_system_mode.py +37 -0
- wandelbots_api_client/models/robot_tcp.py +104 -0
- wandelbots_api_client/models/robot_tcps.py +109 -0
- wandelbots_api_client/models/rotation_angle_types.py +58 -0
- wandelbots_api_client/models/rotation_angles.py +91 -0
- wandelbots_api_client/models/safety_configuration.py +182 -0
- wandelbots_api_client/models/safety_setup.py +172 -0
- wandelbots_api_client/models/safety_setup_safety_settings.py +106 -0
- wandelbots_api_client/models/safety_setup_safety_zone.py +103 -0
- wandelbots_api_client/models/safety_zone.py +98 -0
- wandelbots_api_client/models/safety_zone_limits.py +96 -0
- wandelbots_api_client/models/safety_zone_violation.py +86 -0
- wandelbots_api_client/models/service_status.py +96 -0
- wandelbots_api_client/models/service_status_phase.py +46 -0
- wandelbots_api_client/models/service_status_severity.py +35 -0
- wandelbots_api_client/models/service_status_status.py +90 -0
- wandelbots_api_client/models/set_io.py +93 -0
- wandelbots_api_client/models/set_playback_speed.py +91 -0
- wandelbots_api_client/models/single_joint_limit.py +112 -0
- wandelbots_api_client/models/singularity.py +110 -0
- wandelbots_api_client/models/singularity_type_enum.py +35 -0
- wandelbots_api_client/models/sphere.py +86 -0
- wandelbots_api_client/models/sphere2.py +94 -0
- wandelbots_api_client/models/sphere3.py +96 -0
- wandelbots_api_client/models/standstill.py +92 -0
- wandelbots_api_client/models/standstill_reason.py +36 -0
- wandelbots_api_client/models/standstill_standstill.py +99 -0
- wandelbots_api_client/models/start_movement_request.py +135 -0
- wandelbots_api_client/models/start_on_io.py +96 -0
- wandelbots_api_client/models/status.py +119 -0
- wandelbots_api_client/models/stop_response.py +109 -0
- wandelbots_api_client/models/store_value.py +349 -0
- wandelbots_api_client/models/stream_move_backward.py +90 -0
- wandelbots_api_client/models/stream_move_forward.py +90 -0
- wandelbots_api_client/models/stream_move_playback_speed.py +92 -0
- wandelbots_api_client/models/stream_move_request.py +207 -0
- wandelbots_api_client/models/stream_move_response.py +110 -0
- wandelbots_api_client/models/stream_move_to_trajectory.py +96 -0
- wandelbots_api_client/models/stream_stop.py +90 -0
- wandelbots_api_client/models/tcp_pose.py +105 -0
- wandelbots_api_client/models/tcp_pose_request.py +106 -0
- wandelbots_api_client/models/tool_geometry.py +111 -0
- wandelbots_api_client/models/trajectory_sample.py +139 -0
- wandelbots_api_client/models/trigger_object.py +110 -0
- wandelbots_api_client/models/trigger_type.py +33 -0
- wandelbots_api_client/models/universalrobots_controller.py +102 -0
- wandelbots_api_client/models/update_nova_version_request.py +87 -0
- wandelbots_api_client/models/update_program_metadata_request.py +88 -0
- wandelbots_api_client/models/update_recipe_metadata_request.py +88 -0
- wandelbots_api_client/models/update_trigger_request.py +100 -0
- wandelbots_api_client/models/validation_error.py +113 -0
- wandelbots_api_client/models/validation_error2.py +113 -0
- wandelbots_api_client/models/value.py +317 -0
- wandelbots_api_client/models/vector3d.py +88 -0
- wandelbots_api_client/models/version_number.py +113 -0
- wandelbots_api_client/models/virtual_controller.py +117 -0
- wandelbots_api_client/models/virtual_controller_types.py +153 -0
- wandelbots_api_client/models/virtual_robot_configuration.py +91 -0
- wandelbots_api_client/models/yaskawa_controller.py +99 -0
- wandelbots_api_client/py.typed +0 -0
- wandelbots_api_client/rest.py +188 -0
- wandelbots_api_client/v2/__init__.py +49 -0
- wandelbots_api_client/v2/api/__init__.py +55 -0
- wandelbots_api_client/v2/api/application_api.py +1532 -0
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +4534 -0
- wandelbots_api_client/v2/api/cell_api.py +2163 -0
- wandelbots_api_client/v2/api/controller_api.py +3238 -0
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +1244 -0
- wandelbots_api_client/v2/api/jogging_api.py +113 -0
- wandelbots_api_client/v2/api/kinematics_api.py +555 -0
- wandelbots_api_client/v2/api/license_api.py +877 -0
- wandelbots_api_client/v2/api/motion_group_api.py +689 -0
- wandelbots_api_client/v2/api/motion_group_models_api.py +1222 -0
- wandelbots_api_client/v2/api/nova_cloud_api.py +760 -0
- wandelbots_api_client/v2/api/program_api.py +988 -0
- wandelbots_api_client/v2/api/robot_configurations_api.py +485 -0
- wandelbots_api_client/v2/api/store_collision_components_api.py +3479 -0
- wandelbots_api_client/v2/api/store_collision_setups_api.py +1169 -0
- wandelbots_api_client/v2/api/store_object_api.py +1414 -0
- wandelbots_api_client/v2/api/system_api.py +2696 -0
- wandelbots_api_client/v2/api/trajectory_caching_api.py +1339 -0
- wandelbots_api_client/v2/api/trajectory_execution_api.py +115 -0
- wandelbots_api_client/v2/api/trajectory_planning_api.py +811 -0
- wandelbots_api_client/v2/api/version_api.py +240 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +4534 -0
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +863 -0
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +895 -0
- wandelbots_api_client/v2/api_client.py +692 -0
- wandelbots_api_client/v2/api_response.py +20 -0
- wandelbots_api_client/v2/configuration.py +579 -0
- wandelbots_api_client/v2/exceptions.py +216 -0
- wandelbots_api_client/v2/models/__init__.py +317 -0
- wandelbots_api_client/v2/models/abb_controller.py +104 -0
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +84 -0
- wandelbots_api_client/v2/models/activate_license_request.py +83 -0
- wandelbots_api_client/v2/models/add_trajectory_error.py +95 -0
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +298 -0
- wandelbots_api_client/v2/models/add_trajectory_request.py +97 -0
- wandelbots_api_client/v2/models/add_trajectory_response.py +99 -0
- wandelbots_api_client/v2/models/add_virtual_controller_motion_group_request.py +147 -0
- wandelbots_api_client/v2/models/api_version.py +83 -0
- wandelbots_api_client/v2/models/app.py +156 -0
- wandelbots_api_client/v2/models/behavior.py +35 -0
- wandelbots_api_client/v2/models/blending_auto.py +97 -0
- wandelbots_api_client/v2/models/blending_position.py +143 -0
- wandelbots_api_client/v2/models/blending_space.py +34 -0
- wandelbots_api_client/v2/models/boolean_value.py +91 -0
- wandelbots_api_client/v2/models/box.py +109 -0
- wandelbots_api_client/v2/models/bus_io_description.py +111 -0
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +100 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +127 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +98 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +97 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +90 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +131 -0
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +84 -0
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +85 -0
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +101 -0
- wandelbots_api_client/v2/models/bus_io_profinet_slot.py +92 -0
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +90 -0
- wandelbots_api_client/v2/models/bus_io_type.py +223 -0
- wandelbots_api_client/v2/models/bus_ios_state.py +88 -0
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +36 -0
- wandelbots_api_client/v2/models/capsule.py +94 -0
- wandelbots_api_client/v2/models/cartesian_limits.py +108 -0
- wandelbots_api_client/v2/models/cell.py +127 -0
- wandelbots_api_client/v2/models/cloud_config_status.py +164 -0
- wandelbots_api_client/v2/models/cloud_config_status_configured.py +97 -0
- wandelbots_api_client/v2/models/cloud_config_status_not_configured.py +90 -0
- wandelbots_api_client/v2/models/cloud_configuration.py +84 -0
- wandelbots_api_client/v2/models/cloud_connection_error.py +87 -0
- wandelbots_api_client/v2/models/cloud_connection_error_error.py +275 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token.py +102 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details.py +95 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details_cloud_response.py +90 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error.py +106 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error_details.py +83 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_timeout.py +91 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_restart_timeout.py +91 -0
- wandelbots_api_client/v2/models/cloud_connection_error_nats_failed.py +102 -0
- wandelbots_api_client/v2/models/cloud_connection_error_nats_failed_details.py +84 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response.py +104 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details.py +95 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details_cloud_response.py +85 -0
- wandelbots_api_client/v2/models/cloud_connection_request.py +98 -0
- wandelbots_api_client/v2/models/cloud_disconnection_error.py +89 -0
- wandelbots_api_client/v2/models/cloud_disconnection_status_disconnected.py +90 -0
- wandelbots_api_client/v2/models/cloud_disconnection_status_disconnecting.py +90 -0
- wandelbots_api_client/v2/models/cloud_registration_success_response.py +83 -0
- wandelbots_api_client/v2/models/collider.py +102 -0
- wandelbots_api_client/v2/models/collider_shape.py +278 -0
- wandelbots_api_client/v2/models/collision.py +107 -0
- wandelbots_api_client/v2/models/collision_contact.py +89 -0
- wandelbots_api_client/v2/models/collision_error.py +100 -0
- wandelbots_api_client/v2/models/collision_free_algorithm.py +164 -0
- wandelbots_api_client/v2/models/collision_setup.py +130 -0
- wandelbots_api_client/v2/models/comparator.py +38 -0
- wandelbots_api_client/v2/models/configuration_archive_status.py +197 -0
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +94 -0
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +91 -0
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +90 -0
- wandelbots_api_client/v2/models/configuration_resource.py +104 -0
- wandelbots_api_client/v2/models/container_environment_inner.py +84 -0
- wandelbots_api_client/v2/models/container_image.py +110 -0
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +83 -0
- wandelbots_api_client/v2/models/container_resources.py +87 -0
- wandelbots_api_client/v2/models/container_storage.py +94 -0
- wandelbots_api_client/v2/models/controller_description.py +97 -0
- wandelbots_api_client/v2/models/convex_hull.py +94 -0
- wandelbots_api_client/v2/models/coordinate_system.py +115 -0
- wandelbots_api_client/v2/models/coordinate_system_data.py +106 -0
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +90 -0
- wandelbots_api_client/v2/models/cycle_time.py +86 -0
- wandelbots_api_client/v2/models/cylinder.py +92 -0
- wandelbots_api_client/v2/models/dh_parameter.py +98 -0
- wandelbots_api_client/v2/models/direction.py +34 -0
- wandelbots_api_client/v2/models/error.py +84 -0
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +98 -0
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
- wandelbots_api_client/v2/models/error_joint_position_collision.py +106 -0
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +91 -0
- wandelbots_api_client/v2/models/execute.py +95 -0
- wandelbots_api_client/v2/models/execute_details.py +164 -0
- wandelbots_api_client/v2/models/execute_jogging_request.py +204 -0
- wandelbots_api_client/v2/models/execute_jogging_response.py +246 -0
- wandelbots_api_client/v2/models/execute_trajectory_request.py +209 -0
- wandelbots_api_client/v2/models/execute_trajectory_response.py +246 -0
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +93 -0
- wandelbots_api_client/v2/models/external_joint_stream_request.py +97 -0
- wandelbots_api_client/v2/models/fanuc_controller.py +91 -0
- wandelbots_api_client/v2/models/feedback_collision.py +112 -0
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +99 -0
- wandelbots_api_client/v2/models/feedback_no_solution_in_current_configuration.py +100 -0
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +100 -0
- wandelbots_api_client/v2/models/feedback_singularity.py +99 -0
- wandelbots_api_client/v2/models/flag.py +83 -0
- wandelbots_api_client/v2/models/flange_payload.py +98 -0
- wandelbots_api_client/v2/models/float_value.py +91 -0
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +97 -0
- wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
- wandelbots_api_client/v2/models/forward_kinematics_response.py +93 -0
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +107 -0
- wandelbots_api_client/v2/models/get_trajectory_response.py +97 -0
- wandelbots_api_client/v2/models/http_validation_error.py +93 -0
- wandelbots_api_client/v2/models/image_credentials.py +85 -0
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +106 -0
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +91 -0
- wandelbots_api_client/v2/models/initialize_jogging_request.py +95 -0
- wandelbots_api_client/v2/models/initialize_jogging_response.py +91 -0
- wandelbots_api_client/v2/models/initialize_movement_request.py +112 -0
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +164 -0
- wandelbots_api_client/v2/models/initialize_movement_response.py +107 -0
- wandelbots_api_client/v2/models/integer_value.py +91 -0
- wandelbots_api_client/v2/models/invalid_dof_error.py +100 -0
- wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +86 -0
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +97 -0
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +152 -0
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +83 -0
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +107 -0
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +164 -0
- wandelbots_api_client/v2/models/io_boolean_value.py +92 -0
- wandelbots_api_client/v2/models/io_boundary.py +183 -0
- wandelbots_api_client/v2/models/io_description.py +116 -0
- wandelbots_api_client/v2/models/io_direction.py +34 -0
- wandelbots_api_client/v2/models/io_float_value.py +92 -0
- wandelbots_api_client/v2/models/io_integer_value.py +94 -0
- wandelbots_api_client/v2/models/io_origin.py +34 -0
- wandelbots_api_client/v2/models/io_value.py +183 -0
- wandelbots_api_client/v2/models/io_value_type.py +35 -0
- wandelbots_api_client/v2/models/jogging_details.py +97 -0
- wandelbots_api_client/v2/models/jogging_details_state.py +275 -0
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +90 -0
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +91 -0
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +92 -0
- wandelbots_api_client/v2/models/jogging_paused_near_singularity.py +91 -0
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +90 -0
- wandelbots_api_client/v2/models/jogging_running.py +90 -0
- wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +102 -0
- wandelbots_api_client/v2/models/joint_limits.py +101 -0
- wandelbots_api_client/v2/models/joint_trajectory.py +89 -0
- wandelbots_api_client/v2/models/joint_type_enum.py +34 -0
- wandelbots_api_client/v2/models/joint_velocity_request.py +91 -0
- wandelbots_api_client/v2/models/joint_velocity_response.py +91 -0
- wandelbots_api_client/v2/models/kinematic_model.py +118 -0
- wandelbots_api_client/v2/models/kuka_controller.py +106 -0
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +89 -0
- wandelbots_api_client/v2/models/license.py +121 -0
- wandelbots_api_client/v2/models/license_status.py +85 -0
- wandelbots_api_client/v2/models/license_status_enum.py +37 -0
- wandelbots_api_client/v2/models/limit_range.py +84 -0
- wandelbots_api_client/v2/models/limit_set.py +118 -0
- wandelbots_api_client/v2/models/limits_override.py +136 -0
- wandelbots_api_client/v2/models/list_trajectories_response.py +86 -0
- wandelbots_api_client/v2/models/location1_inner.py +153 -0
- wandelbots_api_client/v2/models/manufacturer.py +37 -0
- wandelbots_api_client/v2/models/merge_trajectories422_response.py +97 -0
- wandelbots_api_client/v2/models/merge_trajectories_error.py +97 -0
- wandelbots_api_client/v2/models/merge_trajectories_error_error_feedback.py +209 -0
- wandelbots_api_client/v2/models/merge_trajectories_request.py +107 -0
- wandelbots_api_client/v2/models/merge_trajectories_response.py +109 -0
- wandelbots_api_client/v2/models/merge_trajectories_response_feedback_inner.py +147 -0
- wandelbots_api_client/v2/models/merge_trajectories_segment.py +126 -0
- wandelbots_api_client/v2/models/merge_trajectories_validation_error.py +109 -0
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +102 -0
- wandelbots_api_client/v2/models/modbus_io.py +109 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +37 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +37 -0
- wandelbots_api_client/v2/models/modbus_io_data.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +36 -0
- wandelbots_api_client/v2/models/motion_command.py +106 -0
- wandelbots_api_client/v2/models/motion_command_blending.py +164 -0
- wandelbots_api_client/v2/models/motion_command_path.py +221 -0
- wandelbots_api_client/v2/models/motion_group_description.py +235 -0
- wandelbots_api_client/v2/models/motion_group_from_json.py +100 -0
- wandelbots_api_client/v2/models/motion_group_from_type.py +96 -0
- wandelbots_api_client/v2/models/motion_group_info.py +90 -0
- wandelbots_api_client/v2/models/motion_group_joints.py +97 -0
- wandelbots_api_client/v2/models/motion_group_setup.py +140 -0
- wandelbots_api_client/v2/models/motion_group_state.py +182 -0
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +83 -0
- wandelbots_api_client/v2/models/movement_error_response.py +91 -0
- wandelbots_api_client/v2/models/nan_value_error.py +100 -0
- wandelbots_api_client/v2/models/nan_value_error_nan_value.py +85 -0
- wandelbots_api_client/v2/models/network_device.py +85 -0
- wandelbots_api_client/v2/models/network_interface.py +86 -0
- wandelbots_api_client/v2/models/network_state.py +125 -0
- wandelbots_api_client/v2/models/op_mode.py +84 -0
- wandelbots_api_client/v2/models/operating_state.py +34 -0
- wandelbots_api_client/v2/models/operation_limits.py +106 -0
- wandelbots_api_client/v2/models/operation_mode.py +42 -0
- wandelbots_api_client/v2/models/orientation_type.py +58 -0
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +100 -0
- wandelbots_api_client/v2/models/path_circle.py +105 -0
- wandelbots_api_client/v2/models/path_cubic_spline.py +106 -0
- wandelbots_api_client/v2/models/path_joint_ptp.py +93 -0
- wandelbots_api_client/v2/models/path_line.py +100 -0
- wandelbots_api_client/v2/models/pause_jogging_request.py +90 -0
- wandelbots_api_client/v2/models/pause_jogging_response.py +91 -0
- wandelbots_api_client/v2/models/pause_movement_request.py +90 -0
- wandelbots_api_client/v2/models/pause_movement_response.py +91 -0
- wandelbots_api_client/v2/models/pause_on_io.py +99 -0
- wandelbots_api_client/v2/models/payload.py +98 -0
- wandelbots_api_client/v2/models/plan422_response.py +93 -0
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +93 -0
- wandelbots_api_client/v2/models/plan_collision_free_request.py +109 -0
- wandelbots_api_client/v2/models/plan_collision_free_response.py +89 -0
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +147 -0
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +105 -0
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +252 -0
- wandelbots_api_client/v2/models/plan_trajectory_request.py +113 -0
- wandelbots_api_client/v2/models/plan_trajectory_response.py +89 -0
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +147 -0
- wandelbots_api_client/v2/models/plan_validation_error.py +107 -0
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +183 -0
- wandelbots_api_client/v2/models/plane.py +90 -0
- wandelbots_api_client/v2/models/playback_speed_request.py +96 -0
- wandelbots_api_client/v2/models/playback_speed_response.py +91 -0
- wandelbots_api_client/v2/models/pose.py +90 -0
- wandelbots_api_client/v2/models/profinet_description.py +112 -0
- wandelbots_api_client/v2/models/profinet_input_output_config.py +98 -0
- wandelbots_api_client/v2/models/profinet_io.py +109 -0
- wandelbots_api_client/v2/models/profinet_io_data.py +105 -0
- wandelbots_api_client/v2/models/profinet_io_direction.py +35 -0
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +42 -0
- wandelbots_api_client/v2/models/profinet_slot_description.py +106 -0
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +92 -0
- wandelbots_api_client/v2/models/program.py +105 -0
- wandelbots_api_client/v2/models/program_run.py +124 -0
- wandelbots_api_client/v2/models/program_run_state.py +37 -0
- wandelbots_api_client/v2/models/program_start_request.py +83 -0
- wandelbots_api_client/v2/models/rectangle.py +92 -0
- wandelbots_api_client/v2/models/rectangular_capsule.py +100 -0
- wandelbots_api_client/v2/models/release_channel.py +34 -0
- wandelbots_api_client/v2/models/robot_controller.py +105 -0
- wandelbots_api_client/v2/models/robot_controller_configuration.py +262 -0
- wandelbots_api_client/v2/models/robot_controller_configuration_request.py +99 -0
- wandelbots_api_client/v2/models/robot_controller_state.py +138 -0
- wandelbots_api_client/v2/models/robot_system_mode.py +37 -0
- wandelbots_api_client/v2/models/robot_tcp.py +110 -0
- wandelbots_api_client/v2/models/robot_tcp_data.py +108 -0
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +127 -0
- wandelbots_api_client/v2/models/safety_state_type.py +48 -0
- wandelbots_api_client/v2/models/service_group.py +36 -0
- wandelbots_api_client/v2/models/service_status.py +96 -0
- wandelbots_api_client/v2/models/service_status_phase.py +46 -0
- wandelbots_api_client/v2/models/service_status_response.py +100 -0
- wandelbots_api_client/v2/models/service_status_severity.py +35 -0
- wandelbots_api_client/v2/models/service_status_status.py +87 -0
- wandelbots_api_client/v2/models/set_io.py +96 -0
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +36 -0
- wandelbots_api_client/v2/models/singularity_type_enum.py +35 -0
- wandelbots_api_client/v2/models/sphere.py +91 -0
- wandelbots_api_client/v2/models/start_movement_request.py +133 -0
- wandelbots_api_client/v2/models/start_movement_response.py +91 -0
- wandelbots_api_client/v2/models/start_on_io.py +99 -0
- wandelbots_api_client/v2/models/stream_io_values_response.py +103 -0
- wandelbots_api_client/v2/models/tcp_offset.py +88 -0
- wandelbots_api_client/v2/models/tcp_required_error.py +96 -0
- wandelbots_api_client/v2/models/tcp_velocity_request.py +110 -0
- wandelbots_api_client/v2/models/tcp_velocity_response.py +91 -0
- wandelbots_api_client/v2/models/torque_exceeded_error.py +102 -0
- wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +86 -0
- wandelbots_api_client/v2/models/trajectory_data.py +106 -0
- wandelbots_api_client/v2/models/trajectory_details.py +106 -0
- wandelbots_api_client/v2/models/trajectory_details_state.py +239 -0
- wandelbots_api_client/v2/models/trajectory_ended.py +90 -0
- wandelbots_api_client/v2/models/trajectory_id.py +93 -0
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +90 -0
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +90 -0
- wandelbots_api_client/v2/models/trajectory_running.py +94 -0
- wandelbots_api_client/v2/models/trajectory_section.py +84 -0
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +90 -0
- wandelbots_api_client/v2/models/unit_type.py +42 -0
- wandelbots_api_client/v2/models/universalrobots_controller.py +91 -0
- wandelbots_api_client/v2/models/update_cell_version_request.py +84 -0
- wandelbots_api_client/v2/models/update_nova_version_request.py +90 -0
- wandelbots_api_client/v2/models/validation_error.py +101 -0
- wandelbots_api_client/v2/models/validation_error2.py +85 -0
- wandelbots_api_client/v2/models/virtual_controller.py +113 -0
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +88 -0
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +93 -0
- wandelbots_api_client/v2/models/yaskawa_controller.py +91 -0
- wandelbots_api_client/v2/models/zod_validation_error.py +87 -0
- wandelbots_api_client/v2/models/zod_validation_error_error.py +108 -0
- wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py +101 -0
- wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py +153 -0
- wandelbots_api_client/v2/py.typed +0 -0
- wandelbots_api_client/v2/rest.py +188 -0
- wandelbots_api_client/v2_pydantic/__init__.py +49 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +55 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1532 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4534 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2163 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3238 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1244 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +113 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +555 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +877 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +689 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +1222 -0
- wandelbots_api_client/v2_pydantic/api/nova_cloud_api.py +760 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +988 -0
- wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +485 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +3479 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1169 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1414 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2696 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1339 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +115 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +811 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4534 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +863 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +895 -0
- wandelbots_api_client/v2_pydantic/api_client.py +692 -0
- wandelbots_api_client/v2_pydantic/api_response.py +20 -0
- wandelbots_api_client/v2_pydantic/configuration.py +579 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models/__init__.py +642 -0
- wandelbots_api_client/v2_pydantic/models/models.py +5090 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +188 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/METADATA +241 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/RECORD +693 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1351 @@
|
|
|
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, Dict, List, Optional
|
|
27
|
+
from typing_extensions import Annotated
|
|
28
|
+
from wandelbots_api_client.models.list_recipe_metadata_response import ListRecipeMetadataResponse
|
|
29
|
+
from wandelbots_api_client.models.recipe_metadata import RecipeMetadata
|
|
30
|
+
|
|
31
|
+
from wandelbots_api_client.api_client import ApiClient, RequestSerialized
|
|
32
|
+
from wandelbots_api_client.api_response import ApiResponse
|
|
33
|
+
from wandelbots_api_client.rest import RESTResponseType
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class LibraryRecipeApi:
|
|
37
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
38
|
+
Ref: https://openapi-generator.tech
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
def __init__(self, api_client=None) -> None:
|
|
44
|
+
if api_client is None:
|
|
45
|
+
api_client = ApiClient.get_default()
|
|
46
|
+
self.api_client = api_client
|
|
47
|
+
|
|
48
|
+
@validate_call
|
|
49
|
+
async def create_recipe(
|
|
50
|
+
self,
|
|
51
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
52
|
+
program_id: Annotated[StrictStr, Field(description="The identifier of the program the recipe will be associated with.")],
|
|
53
|
+
body: Dict[str, Any],
|
|
54
|
+
name: Annotated[
|
|
55
|
+
Optional[StrictStr],
|
|
56
|
+
Field(description="If no initial name is set, a default name based on the program and timestamp is created. "),
|
|
57
|
+
] = None,
|
|
58
|
+
_request_timeout: Union[
|
|
59
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
60
|
+
] = None,
|
|
61
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
62
|
+
_content_type: Optional[StrictStr] = None,
|
|
63
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
64
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
65
|
+
) -> RecipeMetadata:
|
|
66
|
+
"""Create Recipe
|
|
67
|
+
|
|
68
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Creates a new recipe. The corresponding metadata is created as well.
|
|
69
|
+
|
|
70
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
71
|
+
:type cell: str
|
|
72
|
+
:param program_id: The identifier of the program the recipe will be associated with. (required)
|
|
73
|
+
:type program_id: str
|
|
74
|
+
:param body: (required)
|
|
75
|
+
:type body: object
|
|
76
|
+
:param name: If no initial name is set, a default name based on the program and timestamp is created.
|
|
77
|
+
:type name: str
|
|
78
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
79
|
+
number provided, it will be total request
|
|
80
|
+
timeout. It can also be a pair (tuple) of
|
|
81
|
+
(connection, read) timeouts.
|
|
82
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
83
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
84
|
+
request; this effectively ignores the
|
|
85
|
+
authentication in the spec for a single request.
|
|
86
|
+
:type _request_auth: dict, optional
|
|
87
|
+
:param _content_type: force content-type for the request.
|
|
88
|
+
:type _content_type: str, Optional
|
|
89
|
+
:param _headers: set to override the headers for a single
|
|
90
|
+
request; this effectively ignores the headers
|
|
91
|
+
in the spec for a single request.
|
|
92
|
+
:type _headers: dict, optional
|
|
93
|
+
:param _host_index: set to override the host_index for a single
|
|
94
|
+
request; this effectively ignores the host_index
|
|
95
|
+
in the spec for a single request.
|
|
96
|
+
:type _host_index: int, optional
|
|
97
|
+
:return: Returns the result object.
|
|
98
|
+
""" # noqa: E501
|
|
99
|
+
|
|
100
|
+
_param = self._create_recipe_serialize(
|
|
101
|
+
cell=cell,
|
|
102
|
+
program_id=program_id,
|
|
103
|
+
body=body,
|
|
104
|
+
name=name,
|
|
105
|
+
_request_auth=_request_auth,
|
|
106
|
+
_content_type=_content_type,
|
|
107
|
+
_headers=_headers,
|
|
108
|
+
_host_index=_host_index,
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
112
|
+
"200": "RecipeMetadata",
|
|
113
|
+
"404": "HTTPExceptionResponse",
|
|
114
|
+
"422": "HTTPValidationError2",
|
|
115
|
+
}
|
|
116
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
117
|
+
await response_data.read()
|
|
118
|
+
return self.api_client.response_deserialize(
|
|
119
|
+
response_data=response_data,
|
|
120
|
+
response_types_map=_response_types_map,
|
|
121
|
+
).data
|
|
122
|
+
|
|
123
|
+
@validate_call
|
|
124
|
+
async def create_recipe_with_http_info(
|
|
125
|
+
self,
|
|
126
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
127
|
+
program_id: Annotated[StrictStr, Field(description="The identifier of the program the recipe will be associated with.")],
|
|
128
|
+
body: Dict[str, Any],
|
|
129
|
+
name: Annotated[
|
|
130
|
+
Optional[StrictStr],
|
|
131
|
+
Field(description="If no initial name is set, a default name based on the program and timestamp is created. "),
|
|
132
|
+
] = None,
|
|
133
|
+
_request_timeout: Union[
|
|
134
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
135
|
+
] = None,
|
|
136
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
137
|
+
_content_type: Optional[StrictStr] = None,
|
|
138
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
139
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
140
|
+
) -> ApiResponse[RecipeMetadata]:
|
|
141
|
+
"""Create Recipe
|
|
142
|
+
|
|
143
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Creates a new recipe. The corresponding metadata is created as well.
|
|
144
|
+
|
|
145
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
146
|
+
:type cell: str
|
|
147
|
+
:param program_id: The identifier of the program the recipe will be associated with. (required)
|
|
148
|
+
:type program_id: str
|
|
149
|
+
:param body: (required)
|
|
150
|
+
:type body: object
|
|
151
|
+
:param name: If no initial name is set, a default name based on the program and timestamp is created.
|
|
152
|
+
:type name: str
|
|
153
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
154
|
+
number provided, it will be total request
|
|
155
|
+
timeout. It can also be a pair (tuple) of
|
|
156
|
+
(connection, read) timeouts.
|
|
157
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
158
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
159
|
+
request; this effectively ignores the
|
|
160
|
+
authentication in the spec for a single request.
|
|
161
|
+
:type _request_auth: dict, optional
|
|
162
|
+
:param _content_type: force content-type for the request.
|
|
163
|
+
:type _content_type: str, Optional
|
|
164
|
+
:param _headers: set to override the headers for a single
|
|
165
|
+
request; this effectively ignores the headers
|
|
166
|
+
in the spec for a single request.
|
|
167
|
+
:type _headers: dict, optional
|
|
168
|
+
:param _host_index: set to override the host_index for a single
|
|
169
|
+
request; this effectively ignores the host_index
|
|
170
|
+
in the spec for a single request.
|
|
171
|
+
:type _host_index: int, optional
|
|
172
|
+
:return: Returns the result object.
|
|
173
|
+
""" # noqa: E501
|
|
174
|
+
|
|
175
|
+
_param = self._create_recipe_serialize(
|
|
176
|
+
cell=cell,
|
|
177
|
+
program_id=program_id,
|
|
178
|
+
body=body,
|
|
179
|
+
name=name,
|
|
180
|
+
_request_auth=_request_auth,
|
|
181
|
+
_content_type=_content_type,
|
|
182
|
+
_headers=_headers,
|
|
183
|
+
_host_index=_host_index,
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
187
|
+
"200": "RecipeMetadata",
|
|
188
|
+
"404": "HTTPExceptionResponse",
|
|
189
|
+
"422": "HTTPValidationError2",
|
|
190
|
+
}
|
|
191
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
192
|
+
await response_data.read()
|
|
193
|
+
return self.api_client.response_deserialize(
|
|
194
|
+
response_data=response_data,
|
|
195
|
+
response_types_map=_response_types_map,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
@validate_call
|
|
199
|
+
async def create_recipe_without_preload_content(
|
|
200
|
+
self,
|
|
201
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
202
|
+
program_id: Annotated[StrictStr, Field(description="The identifier of the program the recipe will be associated with.")],
|
|
203
|
+
body: Dict[str, Any],
|
|
204
|
+
name: Annotated[
|
|
205
|
+
Optional[StrictStr],
|
|
206
|
+
Field(description="If no initial name is set, a default name based on the program and timestamp is created. "),
|
|
207
|
+
] = None,
|
|
208
|
+
_request_timeout: Union[
|
|
209
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
210
|
+
] = None,
|
|
211
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
212
|
+
_content_type: Optional[StrictStr] = None,
|
|
213
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
214
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
215
|
+
) -> RESTResponseType:
|
|
216
|
+
"""Create Recipe
|
|
217
|
+
|
|
218
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Creates a new recipe. The corresponding metadata is created as well.
|
|
219
|
+
|
|
220
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
221
|
+
:type cell: str
|
|
222
|
+
:param program_id: The identifier of the program the recipe will be associated with. (required)
|
|
223
|
+
:type program_id: str
|
|
224
|
+
:param body: (required)
|
|
225
|
+
:type body: object
|
|
226
|
+
:param name: If no initial name is set, a default name based on the program and timestamp is created.
|
|
227
|
+
:type name: str
|
|
228
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
229
|
+
number provided, it will be total request
|
|
230
|
+
timeout. It can also be a pair (tuple) of
|
|
231
|
+
(connection, read) timeouts.
|
|
232
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
233
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
234
|
+
request; this effectively ignores the
|
|
235
|
+
authentication in the spec for a single request.
|
|
236
|
+
:type _request_auth: dict, optional
|
|
237
|
+
:param _content_type: force content-type for the request.
|
|
238
|
+
:type _content_type: str, Optional
|
|
239
|
+
:param _headers: set to override the headers for a single
|
|
240
|
+
request; this effectively ignores the headers
|
|
241
|
+
in the spec for a single request.
|
|
242
|
+
:type _headers: dict, optional
|
|
243
|
+
:param _host_index: set to override the host_index for a single
|
|
244
|
+
request; this effectively ignores the host_index
|
|
245
|
+
in the spec for a single request.
|
|
246
|
+
:type _host_index: int, optional
|
|
247
|
+
:return: Returns the result object.
|
|
248
|
+
""" # noqa: E501
|
|
249
|
+
|
|
250
|
+
_param = self._create_recipe_serialize(
|
|
251
|
+
cell=cell,
|
|
252
|
+
program_id=program_id,
|
|
253
|
+
body=body,
|
|
254
|
+
name=name,
|
|
255
|
+
_request_auth=_request_auth,
|
|
256
|
+
_content_type=_content_type,
|
|
257
|
+
_headers=_headers,
|
|
258
|
+
_host_index=_host_index,
|
|
259
|
+
)
|
|
260
|
+
|
|
261
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
262
|
+
"200": "RecipeMetadata",
|
|
263
|
+
"404": "HTTPExceptionResponse",
|
|
264
|
+
"422": "HTTPValidationError2",
|
|
265
|
+
}
|
|
266
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
267
|
+
return response_data.response
|
|
268
|
+
|
|
269
|
+
def _create_recipe_serialize(
|
|
270
|
+
self,
|
|
271
|
+
cell,
|
|
272
|
+
program_id,
|
|
273
|
+
body,
|
|
274
|
+
name,
|
|
275
|
+
_request_auth,
|
|
276
|
+
_content_type,
|
|
277
|
+
_headers,
|
|
278
|
+
_host_index,
|
|
279
|
+
) -> RequestSerialized:
|
|
280
|
+
|
|
281
|
+
_host = None
|
|
282
|
+
|
|
283
|
+
_collection_formats: Dict[str, str] = {}
|
|
284
|
+
|
|
285
|
+
_path_params: Dict[str, str] = {}
|
|
286
|
+
_query_params: List[Tuple[str, str]] = []
|
|
287
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
288
|
+
_form_params: List[Tuple[str, str]] = []
|
|
289
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
290
|
+
_body_params: Optional[bytes] = None
|
|
291
|
+
|
|
292
|
+
# process the path parameters
|
|
293
|
+
if cell is not None:
|
|
294
|
+
_path_params["cell"] = cell
|
|
295
|
+
# process the query parameters
|
|
296
|
+
if program_id is not None:
|
|
297
|
+
_query_params.append(("program_id", program_id))
|
|
298
|
+
|
|
299
|
+
if name is not None:
|
|
300
|
+
_query_params.append(("name", name))
|
|
301
|
+
|
|
302
|
+
# process the header parameters
|
|
303
|
+
# process the form parameters
|
|
304
|
+
# process the body parameter
|
|
305
|
+
if body is not None:
|
|
306
|
+
_body_params = body
|
|
307
|
+
|
|
308
|
+
# set the HTTP header `Accept`
|
|
309
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
310
|
+
|
|
311
|
+
# set the HTTP header `Content-Type`
|
|
312
|
+
if _content_type:
|
|
313
|
+
_header_params["Content-Type"] = _content_type
|
|
314
|
+
else:
|
|
315
|
+
_default_content_type = self.api_client.select_header_content_type(["application/json"])
|
|
316
|
+
if _default_content_type is not None:
|
|
317
|
+
_header_params["Content-Type"] = _default_content_type
|
|
318
|
+
|
|
319
|
+
# authentication setting
|
|
320
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
321
|
+
|
|
322
|
+
return self.api_client.param_serialize(
|
|
323
|
+
method="POST",
|
|
324
|
+
resource_path="/cells/{cell}/store/recipes",
|
|
325
|
+
path_params=_path_params,
|
|
326
|
+
query_params=_query_params,
|
|
327
|
+
header_params=_header_params,
|
|
328
|
+
body=_body_params,
|
|
329
|
+
post_params=_form_params,
|
|
330
|
+
files=_files,
|
|
331
|
+
auth_settings=_auth_settings,
|
|
332
|
+
collection_formats=_collection_formats,
|
|
333
|
+
_host=_host,
|
|
334
|
+
_request_auth=_request_auth,
|
|
335
|
+
)
|
|
336
|
+
|
|
337
|
+
@validate_call
|
|
338
|
+
async def delete_recipe(
|
|
339
|
+
self,
|
|
340
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
341
|
+
recipe: Annotated[
|
|
342
|
+
StrictStr,
|
|
343
|
+
Field(
|
|
344
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
345
|
+
),
|
|
346
|
+
],
|
|
347
|
+
_request_timeout: Union[
|
|
348
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
349
|
+
] = None,
|
|
350
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
351
|
+
_content_type: Optional[StrictStr] = None,
|
|
352
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
353
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
354
|
+
) -> RecipeMetadata:
|
|
355
|
+
"""Delete Recipe
|
|
356
|
+
|
|
357
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ # EXPERIMENTAL > **Note:** This endpoint is experimental and might experience functional changes in the future. Deletes a recipe. This action is irreversible.
|
|
358
|
+
|
|
359
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
360
|
+
:type cell: str
|
|
361
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
362
|
+
:type recipe: str
|
|
363
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
364
|
+
number provided, it will be total request
|
|
365
|
+
timeout. It can also be a pair (tuple) of
|
|
366
|
+
(connection, read) timeouts.
|
|
367
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
368
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
369
|
+
request; this effectively ignores the
|
|
370
|
+
authentication in the spec for a single request.
|
|
371
|
+
:type _request_auth: dict, optional
|
|
372
|
+
:param _content_type: force content-type for the request.
|
|
373
|
+
:type _content_type: str, Optional
|
|
374
|
+
:param _headers: set to override the headers for a single
|
|
375
|
+
request; this effectively ignores the headers
|
|
376
|
+
in the spec for a single request.
|
|
377
|
+
:type _headers: dict, optional
|
|
378
|
+
:param _host_index: set to override the host_index for a single
|
|
379
|
+
request; this effectively ignores the host_index
|
|
380
|
+
in the spec for a single request.
|
|
381
|
+
:type _host_index: int, optional
|
|
382
|
+
:return: Returns the result object.
|
|
383
|
+
""" # noqa: E501
|
|
384
|
+
|
|
385
|
+
_param = self._delete_recipe_serialize(
|
|
386
|
+
cell=cell, recipe=recipe, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
387
|
+
)
|
|
388
|
+
|
|
389
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
390
|
+
"200": "RecipeMetadata",
|
|
391
|
+
"404": "HTTPExceptionResponse",
|
|
392
|
+
"422": "HTTPValidationError2",
|
|
393
|
+
}
|
|
394
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
395
|
+
await response_data.read()
|
|
396
|
+
return self.api_client.response_deserialize(
|
|
397
|
+
response_data=response_data,
|
|
398
|
+
response_types_map=_response_types_map,
|
|
399
|
+
).data
|
|
400
|
+
|
|
401
|
+
@validate_call
|
|
402
|
+
async def delete_recipe_with_http_info(
|
|
403
|
+
self,
|
|
404
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
405
|
+
recipe: Annotated[
|
|
406
|
+
StrictStr,
|
|
407
|
+
Field(
|
|
408
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
409
|
+
),
|
|
410
|
+
],
|
|
411
|
+
_request_timeout: Union[
|
|
412
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
413
|
+
] = None,
|
|
414
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
415
|
+
_content_type: Optional[StrictStr] = None,
|
|
416
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
417
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
418
|
+
) -> ApiResponse[RecipeMetadata]:
|
|
419
|
+
"""Delete Recipe
|
|
420
|
+
|
|
421
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ # EXPERIMENTAL > **Note:** This endpoint is experimental and might experience functional changes in the future. Deletes a recipe. This action is irreversible.
|
|
422
|
+
|
|
423
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
424
|
+
:type cell: str
|
|
425
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
426
|
+
:type recipe: str
|
|
427
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
428
|
+
number provided, it will be total request
|
|
429
|
+
timeout. It can also be a pair (tuple) of
|
|
430
|
+
(connection, read) timeouts.
|
|
431
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
432
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
433
|
+
request; this effectively ignores the
|
|
434
|
+
authentication in the spec for a single request.
|
|
435
|
+
:type _request_auth: dict, optional
|
|
436
|
+
:param _content_type: force content-type for the request.
|
|
437
|
+
:type _content_type: str, Optional
|
|
438
|
+
:param _headers: set to override the headers for a single
|
|
439
|
+
request; this effectively ignores the headers
|
|
440
|
+
in the spec for a single request.
|
|
441
|
+
:type _headers: dict, optional
|
|
442
|
+
:param _host_index: set to override the host_index for a single
|
|
443
|
+
request; this effectively ignores the host_index
|
|
444
|
+
in the spec for a single request.
|
|
445
|
+
:type _host_index: int, optional
|
|
446
|
+
:return: Returns the result object.
|
|
447
|
+
""" # noqa: E501
|
|
448
|
+
|
|
449
|
+
_param = self._delete_recipe_serialize(
|
|
450
|
+
cell=cell, recipe=recipe, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
451
|
+
)
|
|
452
|
+
|
|
453
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
454
|
+
"200": "RecipeMetadata",
|
|
455
|
+
"404": "HTTPExceptionResponse",
|
|
456
|
+
"422": "HTTPValidationError2",
|
|
457
|
+
}
|
|
458
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
459
|
+
await response_data.read()
|
|
460
|
+
return self.api_client.response_deserialize(
|
|
461
|
+
response_data=response_data,
|
|
462
|
+
response_types_map=_response_types_map,
|
|
463
|
+
)
|
|
464
|
+
|
|
465
|
+
@validate_call
|
|
466
|
+
async def delete_recipe_without_preload_content(
|
|
467
|
+
self,
|
|
468
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
469
|
+
recipe: Annotated[
|
|
470
|
+
StrictStr,
|
|
471
|
+
Field(
|
|
472
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
473
|
+
),
|
|
474
|
+
],
|
|
475
|
+
_request_timeout: Union[
|
|
476
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
477
|
+
] = None,
|
|
478
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
479
|
+
_content_type: Optional[StrictStr] = None,
|
|
480
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
481
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
482
|
+
) -> RESTResponseType:
|
|
483
|
+
"""Delete Recipe
|
|
484
|
+
|
|
485
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ # EXPERIMENTAL > **Note:** This endpoint is experimental and might experience functional changes in the future. Deletes a recipe. This action is irreversible.
|
|
486
|
+
|
|
487
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
488
|
+
:type cell: str
|
|
489
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
490
|
+
:type recipe: str
|
|
491
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
492
|
+
number provided, it will be total request
|
|
493
|
+
timeout. It can also be a pair (tuple) of
|
|
494
|
+
(connection, read) timeouts.
|
|
495
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
496
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
497
|
+
request; this effectively ignores the
|
|
498
|
+
authentication in the spec for a single request.
|
|
499
|
+
:type _request_auth: dict, optional
|
|
500
|
+
:param _content_type: force content-type for the request.
|
|
501
|
+
:type _content_type: str, Optional
|
|
502
|
+
:param _headers: set to override the headers for a single
|
|
503
|
+
request; this effectively ignores the headers
|
|
504
|
+
in the spec for a single request.
|
|
505
|
+
:type _headers: dict, optional
|
|
506
|
+
:param _host_index: set to override the host_index for a single
|
|
507
|
+
request; this effectively ignores the host_index
|
|
508
|
+
in the spec for a single request.
|
|
509
|
+
:type _host_index: int, optional
|
|
510
|
+
:return: Returns the result object.
|
|
511
|
+
""" # noqa: E501
|
|
512
|
+
|
|
513
|
+
_param = self._delete_recipe_serialize(
|
|
514
|
+
cell=cell, recipe=recipe, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
515
|
+
)
|
|
516
|
+
|
|
517
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
518
|
+
"200": "RecipeMetadata",
|
|
519
|
+
"404": "HTTPExceptionResponse",
|
|
520
|
+
"422": "HTTPValidationError2",
|
|
521
|
+
}
|
|
522
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
523
|
+
return response_data.response
|
|
524
|
+
|
|
525
|
+
def _delete_recipe_serialize(
|
|
526
|
+
self,
|
|
527
|
+
cell,
|
|
528
|
+
recipe,
|
|
529
|
+
_request_auth,
|
|
530
|
+
_content_type,
|
|
531
|
+
_headers,
|
|
532
|
+
_host_index,
|
|
533
|
+
) -> RequestSerialized:
|
|
534
|
+
|
|
535
|
+
_host = None
|
|
536
|
+
|
|
537
|
+
_collection_formats: Dict[str, str] = {}
|
|
538
|
+
|
|
539
|
+
_path_params: Dict[str, str] = {}
|
|
540
|
+
_query_params: List[Tuple[str, str]] = []
|
|
541
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
542
|
+
_form_params: List[Tuple[str, str]] = []
|
|
543
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
544
|
+
_body_params: Optional[bytes] = None
|
|
545
|
+
|
|
546
|
+
# process the path parameters
|
|
547
|
+
if cell is not None:
|
|
548
|
+
_path_params["cell"] = cell
|
|
549
|
+
if recipe is not None:
|
|
550
|
+
_path_params["recipe"] = recipe
|
|
551
|
+
# process the query parameters
|
|
552
|
+
# process the header parameters
|
|
553
|
+
# process the form parameters
|
|
554
|
+
# process the body parameter
|
|
555
|
+
|
|
556
|
+
# set the HTTP header `Accept`
|
|
557
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
558
|
+
|
|
559
|
+
# authentication setting
|
|
560
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
561
|
+
|
|
562
|
+
return self.api_client.param_serialize(
|
|
563
|
+
method="DELETE",
|
|
564
|
+
resource_path="/cells/{cell}/store/recipes/{recipe}",
|
|
565
|
+
path_params=_path_params,
|
|
566
|
+
query_params=_query_params,
|
|
567
|
+
header_params=_header_params,
|
|
568
|
+
body=_body_params,
|
|
569
|
+
post_params=_form_params,
|
|
570
|
+
files=_files,
|
|
571
|
+
auth_settings=_auth_settings,
|
|
572
|
+
collection_formats=_collection_formats,
|
|
573
|
+
_host=_host,
|
|
574
|
+
_request_auth=_request_auth,
|
|
575
|
+
)
|
|
576
|
+
|
|
577
|
+
@validate_call
|
|
578
|
+
async def delete_recipe_list(
|
|
579
|
+
self,
|
|
580
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
581
|
+
recipe_ids: Annotated[
|
|
582
|
+
List[StrictStr],
|
|
583
|
+
Field(
|
|
584
|
+
description="Received from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe)"
|
|
585
|
+
),
|
|
586
|
+
],
|
|
587
|
+
_request_timeout: Union[
|
|
588
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
589
|
+
] = None,
|
|
590
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
591
|
+
_content_type: Optional[StrictStr] = None,
|
|
592
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
593
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
594
|
+
) -> ListRecipeMetadataResponse:
|
|
595
|
+
"""Delete Recipe List
|
|
596
|
+
|
|
597
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Deletes the provided list of recipes. This action is irreversible.
|
|
598
|
+
|
|
599
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
600
|
+
:type cell: str
|
|
601
|
+
:param recipe_ids: Received from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe) (required)
|
|
602
|
+
:type recipe_ids: List[str]
|
|
603
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
604
|
+
number provided, it will be total request
|
|
605
|
+
timeout. It can also be a pair (tuple) of
|
|
606
|
+
(connection, read) timeouts.
|
|
607
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
608
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
609
|
+
request; this effectively ignores the
|
|
610
|
+
authentication in the spec for a single request.
|
|
611
|
+
:type _request_auth: dict, optional
|
|
612
|
+
:param _content_type: force content-type for the request.
|
|
613
|
+
:type _content_type: str, Optional
|
|
614
|
+
:param _headers: set to override the headers for a single
|
|
615
|
+
request; this effectively ignores the headers
|
|
616
|
+
in the spec for a single request.
|
|
617
|
+
:type _headers: dict, optional
|
|
618
|
+
:param _host_index: set to override the host_index for a single
|
|
619
|
+
request; this effectively ignores the host_index
|
|
620
|
+
in the spec for a single request.
|
|
621
|
+
:type _host_index: int, optional
|
|
622
|
+
:return: Returns the result object.
|
|
623
|
+
""" # noqa: E501
|
|
624
|
+
|
|
625
|
+
_param = self._delete_recipe_list_serialize(
|
|
626
|
+
cell=cell,
|
|
627
|
+
recipe_ids=recipe_ids,
|
|
628
|
+
_request_auth=_request_auth,
|
|
629
|
+
_content_type=_content_type,
|
|
630
|
+
_headers=_headers,
|
|
631
|
+
_host_index=_host_index,
|
|
632
|
+
)
|
|
633
|
+
|
|
634
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
635
|
+
"200": "ListRecipeMetadataResponse",
|
|
636
|
+
"404": "HTTPExceptionResponse",
|
|
637
|
+
"422": "HTTPValidationError2",
|
|
638
|
+
}
|
|
639
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
640
|
+
await response_data.read()
|
|
641
|
+
return self.api_client.response_deserialize(
|
|
642
|
+
response_data=response_data,
|
|
643
|
+
response_types_map=_response_types_map,
|
|
644
|
+
).data
|
|
645
|
+
|
|
646
|
+
@validate_call
|
|
647
|
+
async def delete_recipe_list_with_http_info(
|
|
648
|
+
self,
|
|
649
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
650
|
+
recipe_ids: Annotated[
|
|
651
|
+
List[StrictStr],
|
|
652
|
+
Field(
|
|
653
|
+
description="Received from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe)"
|
|
654
|
+
),
|
|
655
|
+
],
|
|
656
|
+
_request_timeout: Union[
|
|
657
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
658
|
+
] = None,
|
|
659
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
660
|
+
_content_type: Optional[StrictStr] = None,
|
|
661
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
662
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
663
|
+
) -> ApiResponse[ListRecipeMetadataResponse]:
|
|
664
|
+
"""Delete Recipe List
|
|
665
|
+
|
|
666
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Deletes the provided list of recipes. This action is irreversible.
|
|
667
|
+
|
|
668
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
669
|
+
:type cell: str
|
|
670
|
+
:param recipe_ids: Received from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe) (required)
|
|
671
|
+
:type recipe_ids: List[str]
|
|
672
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
673
|
+
number provided, it will be total request
|
|
674
|
+
timeout. It can also be a pair (tuple) of
|
|
675
|
+
(connection, read) timeouts.
|
|
676
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
677
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
678
|
+
request; this effectively ignores the
|
|
679
|
+
authentication in the spec for a single request.
|
|
680
|
+
:type _request_auth: dict, optional
|
|
681
|
+
:param _content_type: force content-type for the request.
|
|
682
|
+
:type _content_type: str, Optional
|
|
683
|
+
:param _headers: set to override the headers for a single
|
|
684
|
+
request; this effectively ignores the headers
|
|
685
|
+
in the spec for a single request.
|
|
686
|
+
:type _headers: dict, optional
|
|
687
|
+
:param _host_index: set to override the host_index for a single
|
|
688
|
+
request; this effectively ignores the host_index
|
|
689
|
+
in the spec for a single request.
|
|
690
|
+
:type _host_index: int, optional
|
|
691
|
+
:return: Returns the result object.
|
|
692
|
+
""" # noqa: E501
|
|
693
|
+
|
|
694
|
+
_param = self._delete_recipe_list_serialize(
|
|
695
|
+
cell=cell,
|
|
696
|
+
recipe_ids=recipe_ids,
|
|
697
|
+
_request_auth=_request_auth,
|
|
698
|
+
_content_type=_content_type,
|
|
699
|
+
_headers=_headers,
|
|
700
|
+
_host_index=_host_index,
|
|
701
|
+
)
|
|
702
|
+
|
|
703
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
704
|
+
"200": "ListRecipeMetadataResponse",
|
|
705
|
+
"404": "HTTPExceptionResponse",
|
|
706
|
+
"422": "HTTPValidationError2",
|
|
707
|
+
}
|
|
708
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
709
|
+
await response_data.read()
|
|
710
|
+
return self.api_client.response_deserialize(
|
|
711
|
+
response_data=response_data,
|
|
712
|
+
response_types_map=_response_types_map,
|
|
713
|
+
)
|
|
714
|
+
|
|
715
|
+
@validate_call
|
|
716
|
+
async def delete_recipe_list_without_preload_content(
|
|
717
|
+
self,
|
|
718
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
719
|
+
recipe_ids: Annotated[
|
|
720
|
+
List[StrictStr],
|
|
721
|
+
Field(
|
|
722
|
+
description="Received from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe)"
|
|
723
|
+
),
|
|
724
|
+
],
|
|
725
|
+
_request_timeout: Union[
|
|
726
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
727
|
+
] = None,
|
|
728
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
729
|
+
_content_type: Optional[StrictStr] = None,
|
|
730
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
731
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
732
|
+
) -> RESTResponseType:
|
|
733
|
+
"""Delete Recipe List
|
|
734
|
+
|
|
735
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Deletes the provided list of recipes. This action is irreversible.
|
|
736
|
+
|
|
737
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
738
|
+
:type cell: str
|
|
739
|
+
:param recipe_ids: Received from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe) (required)
|
|
740
|
+
:type recipe_ids: List[str]
|
|
741
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
742
|
+
number provided, it will be total request
|
|
743
|
+
timeout. It can also be a pair (tuple) of
|
|
744
|
+
(connection, read) timeouts.
|
|
745
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
746
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
747
|
+
request; this effectively ignores the
|
|
748
|
+
authentication in the spec for a single request.
|
|
749
|
+
:type _request_auth: dict, optional
|
|
750
|
+
:param _content_type: force content-type for the request.
|
|
751
|
+
:type _content_type: str, Optional
|
|
752
|
+
:param _headers: set to override the headers for a single
|
|
753
|
+
request; this effectively ignores the headers
|
|
754
|
+
in the spec for a single request.
|
|
755
|
+
:type _headers: dict, optional
|
|
756
|
+
:param _host_index: set to override the host_index for a single
|
|
757
|
+
request; this effectively ignores the host_index
|
|
758
|
+
in the spec for a single request.
|
|
759
|
+
:type _host_index: int, optional
|
|
760
|
+
:return: Returns the result object.
|
|
761
|
+
""" # noqa: E501
|
|
762
|
+
|
|
763
|
+
_param = self._delete_recipe_list_serialize(
|
|
764
|
+
cell=cell,
|
|
765
|
+
recipe_ids=recipe_ids,
|
|
766
|
+
_request_auth=_request_auth,
|
|
767
|
+
_content_type=_content_type,
|
|
768
|
+
_headers=_headers,
|
|
769
|
+
_host_index=_host_index,
|
|
770
|
+
)
|
|
771
|
+
|
|
772
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
773
|
+
"200": "ListRecipeMetadataResponse",
|
|
774
|
+
"404": "HTTPExceptionResponse",
|
|
775
|
+
"422": "HTTPValidationError2",
|
|
776
|
+
}
|
|
777
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
778
|
+
return response_data.response
|
|
779
|
+
|
|
780
|
+
def _delete_recipe_list_serialize(
|
|
781
|
+
self,
|
|
782
|
+
cell,
|
|
783
|
+
recipe_ids,
|
|
784
|
+
_request_auth,
|
|
785
|
+
_content_type,
|
|
786
|
+
_headers,
|
|
787
|
+
_host_index,
|
|
788
|
+
) -> RequestSerialized:
|
|
789
|
+
|
|
790
|
+
_host = None
|
|
791
|
+
|
|
792
|
+
_collection_formats: Dict[str, str] = {
|
|
793
|
+
"recipe_ids": "multi",
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
_path_params: Dict[str, str] = {}
|
|
797
|
+
_query_params: List[Tuple[str, str]] = []
|
|
798
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
799
|
+
_form_params: List[Tuple[str, str]] = []
|
|
800
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
801
|
+
_body_params: Optional[bytes] = None
|
|
802
|
+
|
|
803
|
+
# process the path parameters
|
|
804
|
+
if cell is not None:
|
|
805
|
+
_path_params["cell"] = cell
|
|
806
|
+
# process the query parameters
|
|
807
|
+
if recipe_ids is not None:
|
|
808
|
+
_query_params.append(("recipe_ids", recipe_ids))
|
|
809
|
+
|
|
810
|
+
# process the header parameters
|
|
811
|
+
# process the form parameters
|
|
812
|
+
# process the body parameter
|
|
813
|
+
|
|
814
|
+
# set the HTTP header `Accept`
|
|
815
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
816
|
+
|
|
817
|
+
# authentication setting
|
|
818
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
819
|
+
|
|
820
|
+
return self.api_client.param_serialize(
|
|
821
|
+
method="DELETE",
|
|
822
|
+
resource_path="/cells/{cell}/store/recipes",
|
|
823
|
+
path_params=_path_params,
|
|
824
|
+
query_params=_query_params,
|
|
825
|
+
header_params=_header_params,
|
|
826
|
+
body=_body_params,
|
|
827
|
+
post_params=_form_params,
|
|
828
|
+
files=_files,
|
|
829
|
+
auth_settings=_auth_settings,
|
|
830
|
+
collection_formats=_collection_formats,
|
|
831
|
+
_host=_host,
|
|
832
|
+
_request_auth=_request_auth,
|
|
833
|
+
)
|
|
834
|
+
|
|
835
|
+
@validate_call
|
|
836
|
+
async def get_recipe(
|
|
837
|
+
self,
|
|
838
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
839
|
+
recipe: Annotated[
|
|
840
|
+
StrictStr,
|
|
841
|
+
Field(
|
|
842
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
843
|
+
),
|
|
844
|
+
],
|
|
845
|
+
_request_timeout: Union[
|
|
846
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
847
|
+
] = None,
|
|
848
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
849
|
+
_content_type: Optional[StrictStr] = None,
|
|
850
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
851
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
852
|
+
) -> object:
|
|
853
|
+
"""Get Recipe
|
|
854
|
+
|
|
855
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns the content of a recipe. The identifier of the recipe is recieved on creation or from the metadata list of all the recipes.
|
|
856
|
+
|
|
857
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
858
|
+
:type cell: str
|
|
859
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
860
|
+
:type recipe: str
|
|
861
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
862
|
+
number provided, it will be total request
|
|
863
|
+
timeout. It can also be a pair (tuple) of
|
|
864
|
+
(connection, read) timeouts.
|
|
865
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
866
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
867
|
+
request; this effectively ignores the
|
|
868
|
+
authentication in the spec for a single request.
|
|
869
|
+
:type _request_auth: dict, optional
|
|
870
|
+
:param _content_type: force content-type for the request.
|
|
871
|
+
:type _content_type: str, Optional
|
|
872
|
+
:param _headers: set to override the headers for a single
|
|
873
|
+
request; this effectively ignores the headers
|
|
874
|
+
in the spec for a single request.
|
|
875
|
+
:type _headers: dict, optional
|
|
876
|
+
:param _host_index: set to override the host_index for a single
|
|
877
|
+
request; this effectively ignores the host_index
|
|
878
|
+
in the spec for a single request.
|
|
879
|
+
:type _host_index: int, optional
|
|
880
|
+
:return: Returns the result object.
|
|
881
|
+
""" # noqa: E501
|
|
882
|
+
|
|
883
|
+
_param = self._get_recipe_serialize(
|
|
884
|
+
cell=cell, recipe=recipe, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
885
|
+
)
|
|
886
|
+
|
|
887
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
888
|
+
"200": "object",
|
|
889
|
+
"404": "HTTPExceptionResponse",
|
|
890
|
+
"422": "HTTPValidationError2",
|
|
891
|
+
}
|
|
892
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
893
|
+
await response_data.read()
|
|
894
|
+
return self.api_client.response_deserialize(
|
|
895
|
+
response_data=response_data,
|
|
896
|
+
response_types_map=_response_types_map,
|
|
897
|
+
).data
|
|
898
|
+
|
|
899
|
+
@validate_call
|
|
900
|
+
async def get_recipe_with_http_info(
|
|
901
|
+
self,
|
|
902
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
903
|
+
recipe: Annotated[
|
|
904
|
+
StrictStr,
|
|
905
|
+
Field(
|
|
906
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
907
|
+
),
|
|
908
|
+
],
|
|
909
|
+
_request_timeout: Union[
|
|
910
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
911
|
+
] = None,
|
|
912
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
913
|
+
_content_type: Optional[StrictStr] = None,
|
|
914
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
915
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
916
|
+
) -> ApiResponse[object]:
|
|
917
|
+
"""Get Recipe
|
|
918
|
+
|
|
919
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns the content of a recipe. The identifier of the recipe is recieved on creation or from the metadata list of all the recipes.
|
|
920
|
+
|
|
921
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
922
|
+
:type cell: str
|
|
923
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
924
|
+
:type recipe: str
|
|
925
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
926
|
+
number provided, it will be total request
|
|
927
|
+
timeout. It can also be a pair (tuple) of
|
|
928
|
+
(connection, read) timeouts.
|
|
929
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
930
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
931
|
+
request; this effectively ignores the
|
|
932
|
+
authentication in the spec for a single request.
|
|
933
|
+
:type _request_auth: dict, optional
|
|
934
|
+
:param _content_type: force content-type for the request.
|
|
935
|
+
:type _content_type: str, Optional
|
|
936
|
+
:param _headers: set to override the headers for a single
|
|
937
|
+
request; this effectively ignores the headers
|
|
938
|
+
in the spec for a single request.
|
|
939
|
+
:type _headers: dict, optional
|
|
940
|
+
:param _host_index: set to override the host_index for a single
|
|
941
|
+
request; this effectively ignores the host_index
|
|
942
|
+
in the spec for a single request.
|
|
943
|
+
:type _host_index: int, optional
|
|
944
|
+
:return: Returns the result object.
|
|
945
|
+
""" # noqa: E501
|
|
946
|
+
|
|
947
|
+
_param = self._get_recipe_serialize(
|
|
948
|
+
cell=cell, recipe=recipe, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
949
|
+
)
|
|
950
|
+
|
|
951
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
952
|
+
"200": "object",
|
|
953
|
+
"404": "HTTPExceptionResponse",
|
|
954
|
+
"422": "HTTPValidationError2",
|
|
955
|
+
}
|
|
956
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
957
|
+
await response_data.read()
|
|
958
|
+
return self.api_client.response_deserialize(
|
|
959
|
+
response_data=response_data,
|
|
960
|
+
response_types_map=_response_types_map,
|
|
961
|
+
)
|
|
962
|
+
|
|
963
|
+
@validate_call
|
|
964
|
+
async def get_recipe_without_preload_content(
|
|
965
|
+
self,
|
|
966
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
967
|
+
recipe: Annotated[
|
|
968
|
+
StrictStr,
|
|
969
|
+
Field(
|
|
970
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
971
|
+
),
|
|
972
|
+
],
|
|
973
|
+
_request_timeout: Union[
|
|
974
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
975
|
+
] = None,
|
|
976
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
977
|
+
_content_type: Optional[StrictStr] = None,
|
|
978
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
979
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
980
|
+
) -> RESTResponseType:
|
|
981
|
+
"""Get Recipe
|
|
982
|
+
|
|
983
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns the content of a recipe. The identifier of the recipe is recieved on creation or from the metadata list of all the recipes.
|
|
984
|
+
|
|
985
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
986
|
+
:type cell: str
|
|
987
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
988
|
+
:type recipe: str
|
|
989
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
990
|
+
number provided, it will be total request
|
|
991
|
+
timeout. It can also be a pair (tuple) of
|
|
992
|
+
(connection, read) timeouts.
|
|
993
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
994
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
995
|
+
request; this effectively ignores the
|
|
996
|
+
authentication in the spec for a single request.
|
|
997
|
+
:type _request_auth: dict, optional
|
|
998
|
+
:param _content_type: force content-type for the request.
|
|
999
|
+
:type _content_type: str, Optional
|
|
1000
|
+
:param _headers: set to override the headers for a single
|
|
1001
|
+
request; this effectively ignores the headers
|
|
1002
|
+
in the spec for a single request.
|
|
1003
|
+
:type _headers: dict, optional
|
|
1004
|
+
:param _host_index: set to override the host_index for a single
|
|
1005
|
+
request; this effectively ignores the host_index
|
|
1006
|
+
in the spec for a single request.
|
|
1007
|
+
:type _host_index: int, optional
|
|
1008
|
+
:return: Returns the result object.
|
|
1009
|
+
""" # noqa: E501
|
|
1010
|
+
|
|
1011
|
+
_param = self._get_recipe_serialize(
|
|
1012
|
+
cell=cell, recipe=recipe, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
1013
|
+
)
|
|
1014
|
+
|
|
1015
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1016
|
+
"200": "object",
|
|
1017
|
+
"404": "HTTPExceptionResponse",
|
|
1018
|
+
"422": "HTTPValidationError2",
|
|
1019
|
+
}
|
|
1020
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1021
|
+
return response_data.response
|
|
1022
|
+
|
|
1023
|
+
def _get_recipe_serialize(
|
|
1024
|
+
self,
|
|
1025
|
+
cell,
|
|
1026
|
+
recipe,
|
|
1027
|
+
_request_auth,
|
|
1028
|
+
_content_type,
|
|
1029
|
+
_headers,
|
|
1030
|
+
_host_index,
|
|
1031
|
+
) -> RequestSerialized:
|
|
1032
|
+
|
|
1033
|
+
_host = None
|
|
1034
|
+
|
|
1035
|
+
_collection_formats: Dict[str, str] = {}
|
|
1036
|
+
|
|
1037
|
+
_path_params: Dict[str, str] = {}
|
|
1038
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1039
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1040
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1041
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1042
|
+
_body_params: Optional[bytes] = None
|
|
1043
|
+
|
|
1044
|
+
# process the path parameters
|
|
1045
|
+
if cell is not None:
|
|
1046
|
+
_path_params["cell"] = cell
|
|
1047
|
+
if recipe is not None:
|
|
1048
|
+
_path_params["recipe"] = recipe
|
|
1049
|
+
# process the query parameters
|
|
1050
|
+
# process the header parameters
|
|
1051
|
+
# process the form parameters
|
|
1052
|
+
# process the body parameter
|
|
1053
|
+
|
|
1054
|
+
# set the HTTP header `Accept`
|
|
1055
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
1056
|
+
|
|
1057
|
+
# authentication setting
|
|
1058
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
1059
|
+
|
|
1060
|
+
return self.api_client.param_serialize(
|
|
1061
|
+
method="GET",
|
|
1062
|
+
resource_path="/cells/{cell}/store/recipes/{recipe}",
|
|
1063
|
+
path_params=_path_params,
|
|
1064
|
+
query_params=_query_params,
|
|
1065
|
+
header_params=_header_params,
|
|
1066
|
+
body=_body_params,
|
|
1067
|
+
post_params=_form_params,
|
|
1068
|
+
files=_files,
|
|
1069
|
+
auth_settings=_auth_settings,
|
|
1070
|
+
collection_formats=_collection_formats,
|
|
1071
|
+
_host=_host,
|
|
1072
|
+
_request_auth=_request_auth,
|
|
1073
|
+
)
|
|
1074
|
+
|
|
1075
|
+
@validate_call
|
|
1076
|
+
async def update_recipe(
|
|
1077
|
+
self,
|
|
1078
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1079
|
+
recipe: Annotated[
|
|
1080
|
+
StrictStr,
|
|
1081
|
+
Field(
|
|
1082
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
1083
|
+
),
|
|
1084
|
+
],
|
|
1085
|
+
body: Dict[str, Any],
|
|
1086
|
+
_request_timeout: Union[
|
|
1087
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1088
|
+
] = None,
|
|
1089
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1090
|
+
_content_type: Optional[StrictStr] = None,
|
|
1091
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1092
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1093
|
+
) -> RecipeMetadata:
|
|
1094
|
+
"""Update Recipe
|
|
1095
|
+
|
|
1096
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Updates an existing recipe. The update is partial, only the set fields get updated.
|
|
1097
|
+
|
|
1098
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1099
|
+
:type cell: str
|
|
1100
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
1101
|
+
:type recipe: str
|
|
1102
|
+
:param body: (required)
|
|
1103
|
+
:type body: object
|
|
1104
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1105
|
+
number provided, it will be total request
|
|
1106
|
+
timeout. It can also be a pair (tuple) of
|
|
1107
|
+
(connection, read) timeouts.
|
|
1108
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1109
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1110
|
+
request; this effectively ignores the
|
|
1111
|
+
authentication in the spec for a single request.
|
|
1112
|
+
:type _request_auth: dict, optional
|
|
1113
|
+
:param _content_type: force content-type for the request.
|
|
1114
|
+
:type _content_type: str, Optional
|
|
1115
|
+
:param _headers: set to override the headers for a single
|
|
1116
|
+
request; this effectively ignores the headers
|
|
1117
|
+
in the spec for a single request.
|
|
1118
|
+
:type _headers: dict, optional
|
|
1119
|
+
:param _host_index: set to override the host_index for a single
|
|
1120
|
+
request; this effectively ignores the host_index
|
|
1121
|
+
in the spec for a single request.
|
|
1122
|
+
:type _host_index: int, optional
|
|
1123
|
+
:return: Returns the result object.
|
|
1124
|
+
""" # noqa: E501
|
|
1125
|
+
|
|
1126
|
+
_param = self._update_recipe_serialize(
|
|
1127
|
+
cell=cell,
|
|
1128
|
+
recipe=recipe,
|
|
1129
|
+
body=body,
|
|
1130
|
+
_request_auth=_request_auth,
|
|
1131
|
+
_content_type=_content_type,
|
|
1132
|
+
_headers=_headers,
|
|
1133
|
+
_host_index=_host_index,
|
|
1134
|
+
)
|
|
1135
|
+
|
|
1136
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1137
|
+
"200": "RecipeMetadata",
|
|
1138
|
+
"404": "HTTPExceptionResponse",
|
|
1139
|
+
"422": "HTTPValidationError2",
|
|
1140
|
+
}
|
|
1141
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1142
|
+
await response_data.read()
|
|
1143
|
+
return self.api_client.response_deserialize(
|
|
1144
|
+
response_data=response_data,
|
|
1145
|
+
response_types_map=_response_types_map,
|
|
1146
|
+
).data
|
|
1147
|
+
|
|
1148
|
+
@validate_call
|
|
1149
|
+
async def update_recipe_with_http_info(
|
|
1150
|
+
self,
|
|
1151
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1152
|
+
recipe: Annotated[
|
|
1153
|
+
StrictStr,
|
|
1154
|
+
Field(
|
|
1155
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
1156
|
+
),
|
|
1157
|
+
],
|
|
1158
|
+
body: Dict[str, Any],
|
|
1159
|
+
_request_timeout: Union[
|
|
1160
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1161
|
+
] = None,
|
|
1162
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1163
|
+
_content_type: Optional[StrictStr] = None,
|
|
1164
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1165
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1166
|
+
) -> ApiResponse[RecipeMetadata]:
|
|
1167
|
+
"""Update Recipe
|
|
1168
|
+
|
|
1169
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Updates an existing recipe. The update is partial, only the set fields get updated.
|
|
1170
|
+
|
|
1171
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1172
|
+
:type cell: str
|
|
1173
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
1174
|
+
:type recipe: str
|
|
1175
|
+
:param body: (required)
|
|
1176
|
+
:type body: object
|
|
1177
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1178
|
+
number provided, it will be total request
|
|
1179
|
+
timeout. It can also be a pair (tuple) of
|
|
1180
|
+
(connection, read) timeouts.
|
|
1181
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1182
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1183
|
+
request; this effectively ignores the
|
|
1184
|
+
authentication in the spec for a single request.
|
|
1185
|
+
:type _request_auth: dict, optional
|
|
1186
|
+
:param _content_type: force content-type for the request.
|
|
1187
|
+
:type _content_type: str, Optional
|
|
1188
|
+
:param _headers: set to override the headers for a single
|
|
1189
|
+
request; this effectively ignores the headers
|
|
1190
|
+
in the spec for a single request.
|
|
1191
|
+
:type _headers: dict, optional
|
|
1192
|
+
:param _host_index: set to override the host_index for a single
|
|
1193
|
+
request; this effectively ignores the host_index
|
|
1194
|
+
in the spec for a single request.
|
|
1195
|
+
:type _host_index: int, optional
|
|
1196
|
+
:return: Returns the result object.
|
|
1197
|
+
""" # noqa: E501
|
|
1198
|
+
|
|
1199
|
+
_param = self._update_recipe_serialize(
|
|
1200
|
+
cell=cell,
|
|
1201
|
+
recipe=recipe,
|
|
1202
|
+
body=body,
|
|
1203
|
+
_request_auth=_request_auth,
|
|
1204
|
+
_content_type=_content_type,
|
|
1205
|
+
_headers=_headers,
|
|
1206
|
+
_host_index=_host_index,
|
|
1207
|
+
)
|
|
1208
|
+
|
|
1209
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1210
|
+
"200": "RecipeMetadata",
|
|
1211
|
+
"404": "HTTPExceptionResponse",
|
|
1212
|
+
"422": "HTTPValidationError2",
|
|
1213
|
+
}
|
|
1214
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1215
|
+
await response_data.read()
|
|
1216
|
+
return self.api_client.response_deserialize(
|
|
1217
|
+
response_data=response_data,
|
|
1218
|
+
response_types_map=_response_types_map,
|
|
1219
|
+
)
|
|
1220
|
+
|
|
1221
|
+
@validate_call
|
|
1222
|
+
async def update_recipe_without_preload_content(
|
|
1223
|
+
self,
|
|
1224
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1225
|
+
recipe: Annotated[
|
|
1226
|
+
StrictStr,
|
|
1227
|
+
Field(
|
|
1228
|
+
description="Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). "
|
|
1229
|
+
),
|
|
1230
|
+
],
|
|
1231
|
+
body: Dict[str, Any],
|
|
1232
|
+
_request_timeout: Union[
|
|
1233
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1234
|
+
] = None,
|
|
1235
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1236
|
+
_content_type: Optional[StrictStr] = None,
|
|
1237
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1238
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1239
|
+
) -> RESTResponseType:
|
|
1240
|
+
"""Update Recipe
|
|
1241
|
+
|
|
1242
|
+
**Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Updates an existing recipe. The update is partial, only the set fields get updated.
|
|
1243
|
+
|
|
1244
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1245
|
+
:type cell: str
|
|
1246
|
+
:param recipe: Recieved from [listRecipeMetadata](#/operations/listRecipeMetadata) or from the response of [createRecipe](#/operations/createRecipe). (required)
|
|
1247
|
+
:type recipe: str
|
|
1248
|
+
:param body: (required)
|
|
1249
|
+
:type body: object
|
|
1250
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1251
|
+
number provided, it will be total request
|
|
1252
|
+
timeout. It can also be a pair (tuple) of
|
|
1253
|
+
(connection, read) timeouts.
|
|
1254
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1255
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1256
|
+
request; this effectively ignores the
|
|
1257
|
+
authentication in the spec for a single request.
|
|
1258
|
+
:type _request_auth: dict, optional
|
|
1259
|
+
:param _content_type: force content-type for the request.
|
|
1260
|
+
:type _content_type: str, Optional
|
|
1261
|
+
:param _headers: set to override the headers for a single
|
|
1262
|
+
request; this effectively ignores the headers
|
|
1263
|
+
in the spec for a single request.
|
|
1264
|
+
:type _headers: dict, optional
|
|
1265
|
+
:param _host_index: set to override the host_index for a single
|
|
1266
|
+
request; this effectively ignores the host_index
|
|
1267
|
+
in the spec for a single request.
|
|
1268
|
+
:type _host_index: int, optional
|
|
1269
|
+
:return: Returns the result object.
|
|
1270
|
+
""" # noqa: E501
|
|
1271
|
+
|
|
1272
|
+
_param = self._update_recipe_serialize(
|
|
1273
|
+
cell=cell,
|
|
1274
|
+
recipe=recipe,
|
|
1275
|
+
body=body,
|
|
1276
|
+
_request_auth=_request_auth,
|
|
1277
|
+
_content_type=_content_type,
|
|
1278
|
+
_headers=_headers,
|
|
1279
|
+
_host_index=_host_index,
|
|
1280
|
+
)
|
|
1281
|
+
|
|
1282
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1283
|
+
"200": "RecipeMetadata",
|
|
1284
|
+
"404": "HTTPExceptionResponse",
|
|
1285
|
+
"422": "HTTPValidationError2",
|
|
1286
|
+
}
|
|
1287
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1288
|
+
return response_data.response
|
|
1289
|
+
|
|
1290
|
+
def _update_recipe_serialize(
|
|
1291
|
+
self,
|
|
1292
|
+
cell,
|
|
1293
|
+
recipe,
|
|
1294
|
+
body,
|
|
1295
|
+
_request_auth,
|
|
1296
|
+
_content_type,
|
|
1297
|
+
_headers,
|
|
1298
|
+
_host_index,
|
|
1299
|
+
) -> RequestSerialized:
|
|
1300
|
+
|
|
1301
|
+
_host = None
|
|
1302
|
+
|
|
1303
|
+
_collection_formats: Dict[str, str] = {}
|
|
1304
|
+
|
|
1305
|
+
_path_params: Dict[str, str] = {}
|
|
1306
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1307
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1308
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1309
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1310
|
+
_body_params: Optional[bytes] = None
|
|
1311
|
+
|
|
1312
|
+
# process the path parameters
|
|
1313
|
+
if cell is not None:
|
|
1314
|
+
_path_params["cell"] = cell
|
|
1315
|
+
if recipe is not None:
|
|
1316
|
+
_path_params["recipe"] = recipe
|
|
1317
|
+
# process the query parameters
|
|
1318
|
+
# process the header parameters
|
|
1319
|
+
# process the form parameters
|
|
1320
|
+
# process the body parameter
|
|
1321
|
+
if body is not None:
|
|
1322
|
+
_body_params = body
|
|
1323
|
+
|
|
1324
|
+
# set the HTTP header `Accept`
|
|
1325
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
1326
|
+
|
|
1327
|
+
# set the HTTP header `Content-Type`
|
|
1328
|
+
if _content_type:
|
|
1329
|
+
_header_params["Content-Type"] = _content_type
|
|
1330
|
+
else:
|
|
1331
|
+
_default_content_type = self.api_client.select_header_content_type(["application/json"])
|
|
1332
|
+
if _default_content_type is not None:
|
|
1333
|
+
_header_params["Content-Type"] = _default_content_type
|
|
1334
|
+
|
|
1335
|
+
# authentication setting
|
|
1336
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
1337
|
+
|
|
1338
|
+
return self.api_client.param_serialize(
|
|
1339
|
+
method="PUT",
|
|
1340
|
+
resource_path="/cells/{cell}/store/recipes/{recipe}",
|
|
1341
|
+
path_params=_path_params,
|
|
1342
|
+
query_params=_query_params,
|
|
1343
|
+
header_params=_header_params,
|
|
1344
|
+
body=_body_params,
|
|
1345
|
+
post_params=_form_params,
|
|
1346
|
+
files=_files,
|
|
1347
|
+
auth_settings=_auth_settings,
|
|
1348
|
+
collection_formats=_collection_formats,
|
|
1349
|
+
_host=_host,
|
|
1350
|
+
_request_auth=_request_auth,
|
|
1351
|
+
)
|