wandelbots_api_client 26.3.0__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 +815 -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 +1067 -0
- wandelbots_api_client/v2/api/version_api.py +240 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +5303 -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 +376 -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_motion_group.py +119 -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/constrained_pose.py +87 -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/direction_constraint.py +107 -0
- wandelbots_api_client/v2/models/error.py +84 -0
- wandelbots_api_client/v2/models/error_direction_constraint_not_met.py +93 -0
- wandelbots_api_client/v2/models/error_direction_constraint_not_normalized.py +96 -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/error_motion_group_key_mismatch.py +85 -0
- wandelbots_api_client/v2/models/error_unsupported_operation.py +90 -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_commands_missing.py +90 -0
- wandelbots_api_client/v2/models/feedback_cubic_spline_is_not_increasing.py +100 -0
- wandelbots_api_client/v2/models/feedback_cubic_spline_not_at_start_pose.py +105 -0
- wandelbots_api_client/v2/models/feedback_direction_constraint_no_solution_exists.py +93 -0
- wandelbots_api_client/v2/models/feedback_direction_constraint_not_met.py +93 -0
- wandelbots_api_client/v2/models/feedback_direction_constraint_not_normalized.py +96 -0
- wandelbots_api_client/v2/models/feedback_invalid_dof.py +101 -0
- wandelbots_api_client/v2/models/feedback_invalid_nan_value.py +91 -0
- wandelbots_api_client/v2/models/feedback_invalid_sampling_time.py +91 -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/feedback_start_joints_missing.py +98 -0
- wandelbots_api_client/v2/models/feedback_torque_exceeded.py +98 -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_ptp_motion.py +99 -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 +298 -0
- wandelbots_api_client/v2/models/motion_group_description.py +241 -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 +187 -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/multi_collision_setup.py +115 -0
- wandelbots_api_client/v2/models/multi_error_invalid_joint_count.py +101 -0
- wandelbots_api_client/v2/models/multi_error_joint_limit_exceeded.py +101 -0
- wandelbots_api_client/v2/models/multi_error_joint_position_collision.py +99 -0
- wandelbots_api_client/v2/models/multi_joint_trajectory.py +93 -0
- wandelbots_api_client/v2/models/multi_search_collision_free422_response.py +97 -0
- wandelbots_api_client/v2/models/multi_search_collision_free_request.py +149 -0
- wandelbots_api_client/v2/models/multi_search_collision_free_response.py +89 -0
- wandelbots_api_client/v2/models/multi_search_collision_free_response_response.py +147 -0
- wandelbots_api_client/v2/models/multi_search_collision_free_validation_error.py +109 -0
- wandelbots_api_client/v2/models/multi_search_collision_free_validation_error_all_of_data.py +197 -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_direction_constrained_cartesian_ptp.py +106 -0
- wandelbots_api_client/v2/models/path_direction_constrained_joint_ptp.py +102 -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 +118 -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 +505 -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 +275 -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/project_joint_position_direction_constraint422_response.py +99 -0
- wandelbots_api_client/v2/models/project_joint_position_direction_constraint_request.py +148 -0
- wandelbots_api_client/v2/models/project_joint_position_direction_constraint_response.py +85 -0
- wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error.py +111 -0
- wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error_all_of_data.py +189 -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_geometry.py +125 -0
- wandelbots_api_client/v2/models/safety_geometry_box.py +89 -0
- wandelbots_api_client/v2/models/safety_geometry_capsule.py +90 -0
- wandelbots_api_client/v2/models/safety_geometry_lozenge.py +97 -0
- wandelbots_api_client/v2/models/safety_geometry_plane.py +86 -0
- wandelbots_api_client/v2/models/safety_geometry_prism.py +88 -0
- wandelbots_api_client/v2/models/safety_geometry_sphere.py +87 -0
- wandelbots_api_client/v2/models/safety_state_type.py +48 -0
- wandelbots_api_client/v2/models/safety_zone.py +111 -0
- wandelbots_api_client/v2/models/safety_zone_pose.py +99 -0
- wandelbots_api_client/v2/models/safety_zones.py +97 -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 +811 -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 +1067 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +5303 -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 +748 -0
- wandelbots_api_client/v2_pydantic/models/models.py +5909 -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.dist-info/METADATA +241 -0
- wandelbots_api_client-26.3.0.dist-info/RECORD +740 -0
- wandelbots_api_client-26.3.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,579 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Wandelbots NOVA API
|
|
3
|
+
|
|
4
|
+
Interact with robots in an easy and intuitive way.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
|
|
9
|
+
Do not edit the class manually.
|
|
10
|
+
""" # noqa: E501
|
|
11
|
+
|
|
12
|
+
import base64
|
|
13
|
+
import copy
|
|
14
|
+
import http.client as httplib
|
|
15
|
+
import logging
|
|
16
|
+
from logging import FileHandler
|
|
17
|
+
import sys
|
|
18
|
+
from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union
|
|
19
|
+
from typing_extensions import NotRequired, Self
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
|
23
|
+
"multipleOf",
|
|
24
|
+
"maximum",
|
|
25
|
+
"exclusiveMaximum",
|
|
26
|
+
"minimum",
|
|
27
|
+
"exclusiveMinimum",
|
|
28
|
+
"maxLength",
|
|
29
|
+
"minLength",
|
|
30
|
+
"pattern",
|
|
31
|
+
"maxItems",
|
|
32
|
+
"minItems",
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
ServerVariablesT = Dict[str, str]
|
|
36
|
+
|
|
37
|
+
GenericAuthSetting = TypedDict(
|
|
38
|
+
"GenericAuthSetting",
|
|
39
|
+
{
|
|
40
|
+
"type": str,
|
|
41
|
+
"in": str,
|
|
42
|
+
"key": str,
|
|
43
|
+
"value": str,
|
|
44
|
+
},
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
OAuth2AuthSetting = TypedDict(
|
|
49
|
+
"OAuth2AuthSetting",
|
|
50
|
+
{
|
|
51
|
+
"type": Literal["oauth2"],
|
|
52
|
+
"in": Literal["header"],
|
|
53
|
+
"key": Literal["Authorization"],
|
|
54
|
+
"value": str,
|
|
55
|
+
},
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
APIKeyAuthSetting = TypedDict(
|
|
60
|
+
"APIKeyAuthSetting",
|
|
61
|
+
{
|
|
62
|
+
"type": Literal["api_key"],
|
|
63
|
+
"in": str,
|
|
64
|
+
"key": str,
|
|
65
|
+
"value": Optional[str],
|
|
66
|
+
},
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
BasicAuthSetting = TypedDict(
|
|
71
|
+
"BasicAuthSetting",
|
|
72
|
+
{
|
|
73
|
+
"type": Literal["basic"],
|
|
74
|
+
"in": Literal["header"],
|
|
75
|
+
"key": Literal["Authorization"],
|
|
76
|
+
"value": Optional[str],
|
|
77
|
+
},
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
BearerFormatAuthSetting = TypedDict(
|
|
82
|
+
"BearerFormatAuthSetting",
|
|
83
|
+
{
|
|
84
|
+
"type": Literal["bearer"],
|
|
85
|
+
"in": Literal["header"],
|
|
86
|
+
"format": Literal["JWT"],
|
|
87
|
+
"key": Literal["Authorization"],
|
|
88
|
+
"value": str,
|
|
89
|
+
},
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
BearerAuthSetting = TypedDict(
|
|
94
|
+
"BearerAuthSetting",
|
|
95
|
+
{
|
|
96
|
+
"type": Literal["bearer"],
|
|
97
|
+
"in": Literal["header"],
|
|
98
|
+
"key": Literal["Authorization"],
|
|
99
|
+
"value": str,
|
|
100
|
+
},
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
HTTPSignatureAuthSetting = TypedDict(
|
|
105
|
+
"HTTPSignatureAuthSetting",
|
|
106
|
+
{
|
|
107
|
+
"type": Literal["http-signature"],
|
|
108
|
+
"in": Literal["header"],
|
|
109
|
+
"key": Literal["Authorization"],
|
|
110
|
+
"value": None,
|
|
111
|
+
},
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
AuthSettings = TypedDict(
|
|
116
|
+
"AuthSettings",
|
|
117
|
+
{
|
|
118
|
+
"BearerAuth": BearerFormatAuthSetting,
|
|
119
|
+
},
|
|
120
|
+
total=False,
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
class HostSettingVariable(TypedDict):
|
|
125
|
+
description: str
|
|
126
|
+
default_value: str
|
|
127
|
+
enum_values: List[str]
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class HostSetting(TypedDict):
|
|
131
|
+
url: str
|
|
132
|
+
description: str
|
|
133
|
+
variables: NotRequired[Dict[str, HostSettingVariable]]
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class Configuration:
|
|
137
|
+
"""This class contains various settings of the API client.
|
|
138
|
+
|
|
139
|
+
:param host: Base url.
|
|
140
|
+
:param ignore_operation_servers
|
|
141
|
+
Boolean to ignore operation servers for the API client.
|
|
142
|
+
Config will use `host` as the base url regardless of the operation servers.
|
|
143
|
+
:param api_key: Dict to store API key(s).
|
|
144
|
+
Each entry in the dict specifies an API key.
|
|
145
|
+
The dict key is the name of the security scheme in the OAS specification.
|
|
146
|
+
The dict value is the API key secret.
|
|
147
|
+
:param api_key_prefix: Dict to store API prefix (e.g. Bearer).
|
|
148
|
+
The dict key is the name of the security scheme in the OAS specification.
|
|
149
|
+
The dict value is an API key prefix when generating the auth data.
|
|
150
|
+
:param username: Username for HTTP basic authentication.
|
|
151
|
+
:param password: Password for HTTP basic authentication.
|
|
152
|
+
:param access_token: Access token.
|
|
153
|
+
:param server_index: Index to servers configuration.
|
|
154
|
+
:param server_variables: Mapping with string values to replace variables in
|
|
155
|
+
templated server configuration. The validation of enums is performed for
|
|
156
|
+
variables with defined enum values before.
|
|
157
|
+
:param server_operation_index: Mapping from operation ID to an index to server
|
|
158
|
+
configuration.
|
|
159
|
+
:param server_operation_variables: Mapping from operation ID to a mapping with
|
|
160
|
+
string values to replace variables in templated server configuration.
|
|
161
|
+
The validation of enums is performed for variables with defined enum
|
|
162
|
+
values before.
|
|
163
|
+
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
|
164
|
+
in PEM format.
|
|
165
|
+
:param retries: int | aiohttp_retry.RetryOptionsBase - Retry configuration.
|
|
166
|
+
:param ca_cert_data: verify the peer using concatenated CA certificate data
|
|
167
|
+
in PEM (str) or DER (bytes) format.
|
|
168
|
+
:param cert_file: the path to a client certificate file, for mTLS.
|
|
169
|
+
:param key_file: the path to a client key file, for mTLS.
|
|
170
|
+
|
|
171
|
+
:Example:
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
_default: ClassVar[Optional[Self]] = None
|
|
175
|
+
|
|
176
|
+
def __init__(
|
|
177
|
+
self,
|
|
178
|
+
host: Optional[str] = None,
|
|
179
|
+
api_key: Optional[Dict[str, str]] = None,
|
|
180
|
+
api_key_prefix: Optional[Dict[str, str]] = None,
|
|
181
|
+
username: Optional[str] = None,
|
|
182
|
+
password: Optional[str] = None,
|
|
183
|
+
access_token: Optional[str] = None,
|
|
184
|
+
server_index: Optional[int] = None,
|
|
185
|
+
server_variables: Optional[ServerVariablesT] = None,
|
|
186
|
+
server_operation_index: Optional[Dict[int, int]] = None,
|
|
187
|
+
server_operation_variables: Optional[Dict[int, ServerVariablesT]] = None,
|
|
188
|
+
ignore_operation_servers: bool = False,
|
|
189
|
+
ssl_ca_cert: Optional[str] = None,
|
|
190
|
+
retries: Optional[Union[int, Any]] = None,
|
|
191
|
+
ca_cert_data: Optional[Union[str, bytes]] = None,
|
|
192
|
+
cert_file: Optional[str] = None,
|
|
193
|
+
key_file: Optional[str] = None,
|
|
194
|
+
*,
|
|
195
|
+
debug: Optional[bool] = None,
|
|
196
|
+
) -> None:
|
|
197
|
+
"""Constructor"""
|
|
198
|
+
self._base_path = "/api/v1" if host is None else host
|
|
199
|
+
"""Default Base url
|
|
200
|
+
"""
|
|
201
|
+
self.server_index = 0 if server_index is None and host is None else server_index
|
|
202
|
+
self.server_operation_index = server_operation_index or {}
|
|
203
|
+
"""Default server index
|
|
204
|
+
"""
|
|
205
|
+
self.server_variables = server_variables or {}
|
|
206
|
+
self.server_operation_variables = server_operation_variables or {}
|
|
207
|
+
"""Default server variables
|
|
208
|
+
"""
|
|
209
|
+
self.ignore_operation_servers = ignore_operation_servers
|
|
210
|
+
"""Ignore operation servers
|
|
211
|
+
"""
|
|
212
|
+
self.temp_folder_path = None
|
|
213
|
+
"""Temp file folder for downloading files
|
|
214
|
+
"""
|
|
215
|
+
# Authentication Settings
|
|
216
|
+
self.api_key = {}
|
|
217
|
+
if api_key:
|
|
218
|
+
self.api_key = api_key
|
|
219
|
+
"""dict to store API key(s)
|
|
220
|
+
"""
|
|
221
|
+
self.api_key_prefix = {}
|
|
222
|
+
if api_key_prefix:
|
|
223
|
+
self.api_key_prefix = api_key_prefix
|
|
224
|
+
"""dict to store API prefix (e.g. Bearer)
|
|
225
|
+
"""
|
|
226
|
+
self.refresh_api_key_hook = None
|
|
227
|
+
"""function hook to refresh API key if expired
|
|
228
|
+
"""
|
|
229
|
+
self.username = username
|
|
230
|
+
"""Username for HTTP basic authentication
|
|
231
|
+
"""
|
|
232
|
+
self.password = password
|
|
233
|
+
"""Password for HTTP basic authentication
|
|
234
|
+
"""
|
|
235
|
+
self.access_token = access_token
|
|
236
|
+
"""Access token
|
|
237
|
+
"""
|
|
238
|
+
self.logger = {}
|
|
239
|
+
"""Logging Settings
|
|
240
|
+
"""
|
|
241
|
+
self.logger["package_logger"] = logging.getLogger("wandelbots_api_client")
|
|
242
|
+
self.logger_format = "%(asctime)s %(levelname)s %(message)s"
|
|
243
|
+
"""Log format
|
|
244
|
+
"""
|
|
245
|
+
self.logger_stream_handler = None
|
|
246
|
+
"""Log stream handler
|
|
247
|
+
"""
|
|
248
|
+
self.logger_file_handler: Optional[FileHandler] = None
|
|
249
|
+
"""Log file handler
|
|
250
|
+
"""
|
|
251
|
+
self.logger_file = None
|
|
252
|
+
"""Debug file location
|
|
253
|
+
"""
|
|
254
|
+
if debug is not None:
|
|
255
|
+
self.debug = debug
|
|
256
|
+
else:
|
|
257
|
+
self.__debug = False
|
|
258
|
+
"""Debug switch
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
self.verify_ssl = True
|
|
262
|
+
"""SSL/TLS verification
|
|
263
|
+
Set this to false to skip verifying SSL certificate when calling API
|
|
264
|
+
from https server.
|
|
265
|
+
"""
|
|
266
|
+
self.ssl_ca_cert = ssl_ca_cert
|
|
267
|
+
"""Set this to customize the certificate file to verify the peer.
|
|
268
|
+
"""
|
|
269
|
+
self.ca_cert_data = ca_cert_data
|
|
270
|
+
"""Set this to verify the peer using PEM (str) or DER (bytes)
|
|
271
|
+
certificate data.
|
|
272
|
+
"""
|
|
273
|
+
self.cert_file = cert_file
|
|
274
|
+
"""client certificate file
|
|
275
|
+
"""
|
|
276
|
+
self.key_file = key_file
|
|
277
|
+
"""client key file
|
|
278
|
+
"""
|
|
279
|
+
self.assert_hostname = None
|
|
280
|
+
"""Set this to True/False to enable/disable SSL hostname verification.
|
|
281
|
+
"""
|
|
282
|
+
self.tls_server_name = None
|
|
283
|
+
"""SSL/TLS Server Name Indication (SNI)
|
|
284
|
+
Set this to the SNI value expected by the server.
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
self.connection_pool_maxsize = 100
|
|
288
|
+
"""This value is passed to the aiohttp to limit simultaneous connections.
|
|
289
|
+
Default values is 100, None means no-limit.
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
self.proxy: Optional[str] = None
|
|
293
|
+
"""Proxy URL
|
|
294
|
+
"""
|
|
295
|
+
self.proxy_headers = None
|
|
296
|
+
"""Proxy headers
|
|
297
|
+
"""
|
|
298
|
+
self.safe_chars_for_path_param = ""
|
|
299
|
+
"""Safe chars for path_param
|
|
300
|
+
"""
|
|
301
|
+
self.retries = retries
|
|
302
|
+
"""Retry configuration
|
|
303
|
+
"""
|
|
304
|
+
# Enable client side validation
|
|
305
|
+
self.client_side_validation = True
|
|
306
|
+
|
|
307
|
+
self.socket_options = None
|
|
308
|
+
"""Options to pass down to the underlying urllib3 socket
|
|
309
|
+
"""
|
|
310
|
+
|
|
311
|
+
self.datetime_format = "%Y-%m-%dT%H:%M:%S.%f%z"
|
|
312
|
+
"""datetime format
|
|
313
|
+
"""
|
|
314
|
+
|
|
315
|
+
self.date_format = "%Y-%m-%d"
|
|
316
|
+
"""date format
|
|
317
|
+
"""
|
|
318
|
+
|
|
319
|
+
def __deepcopy__(self, memo: Dict[int, Any]) -> Self:
|
|
320
|
+
cls = self.__class__
|
|
321
|
+
result = cls.__new__(cls)
|
|
322
|
+
memo[id(self)] = result
|
|
323
|
+
for k, v in self.__dict__.items():
|
|
324
|
+
if k not in ("logger", "logger_file_handler"):
|
|
325
|
+
setattr(result, k, copy.deepcopy(v, memo))
|
|
326
|
+
# shallow copy of loggers
|
|
327
|
+
result.logger = copy.copy(self.logger)
|
|
328
|
+
# use setters to configure loggers
|
|
329
|
+
result.logger_file = self.logger_file
|
|
330
|
+
result.debug = self.debug
|
|
331
|
+
return result
|
|
332
|
+
|
|
333
|
+
def __setattr__(self, name: str, value: Any) -> None:
|
|
334
|
+
object.__setattr__(self, name, value)
|
|
335
|
+
|
|
336
|
+
@classmethod
|
|
337
|
+
def set_default(cls, default: Optional[Self]) -> None:
|
|
338
|
+
"""Set default instance of configuration.
|
|
339
|
+
|
|
340
|
+
It stores default configuration, which can be
|
|
341
|
+
returned by get_default_copy method.
|
|
342
|
+
|
|
343
|
+
:param default: object of Configuration
|
|
344
|
+
"""
|
|
345
|
+
cls._default = default
|
|
346
|
+
|
|
347
|
+
@classmethod
|
|
348
|
+
def get_default_copy(cls) -> Self:
|
|
349
|
+
"""Deprecated. Please use `get_default` instead.
|
|
350
|
+
|
|
351
|
+
Deprecated. Please use `get_default` instead.
|
|
352
|
+
|
|
353
|
+
:return: The configuration object.
|
|
354
|
+
"""
|
|
355
|
+
return cls.get_default()
|
|
356
|
+
|
|
357
|
+
@classmethod
|
|
358
|
+
def get_default(cls) -> Self:
|
|
359
|
+
"""Return the default configuration.
|
|
360
|
+
|
|
361
|
+
This method returns newly created, based on default constructor,
|
|
362
|
+
object of Configuration class or returns a copy of default
|
|
363
|
+
configuration.
|
|
364
|
+
|
|
365
|
+
:return: The configuration object.
|
|
366
|
+
"""
|
|
367
|
+
if cls._default is None:
|
|
368
|
+
cls._default = cls()
|
|
369
|
+
return cls._default
|
|
370
|
+
|
|
371
|
+
@property
|
|
372
|
+
def logger_file(self) -> Optional[str]:
|
|
373
|
+
"""The logger file.
|
|
374
|
+
|
|
375
|
+
If the logger_file is None, then add stream handler and remove file
|
|
376
|
+
handler. Otherwise, add file handler and remove stream handler.
|
|
377
|
+
|
|
378
|
+
:param value: The logger_file path.
|
|
379
|
+
:type: str
|
|
380
|
+
"""
|
|
381
|
+
return self.__logger_file
|
|
382
|
+
|
|
383
|
+
@logger_file.setter
|
|
384
|
+
def logger_file(self, value: Optional[str]) -> None:
|
|
385
|
+
"""The logger file.
|
|
386
|
+
|
|
387
|
+
If the logger_file is None, then add stream handler and remove file
|
|
388
|
+
handler. Otherwise, add file handler and remove stream handler.
|
|
389
|
+
|
|
390
|
+
:param value: The logger_file path.
|
|
391
|
+
:type: str
|
|
392
|
+
"""
|
|
393
|
+
self.__logger_file = value
|
|
394
|
+
if self.__logger_file:
|
|
395
|
+
# If set logging file,
|
|
396
|
+
# then add file handler and remove stream handler.
|
|
397
|
+
self.logger_file_handler = logging.FileHandler(self.__logger_file)
|
|
398
|
+
self.logger_file_handler.setFormatter(self.logger_formatter)
|
|
399
|
+
for _, logger in self.logger.items():
|
|
400
|
+
logger.addHandler(self.logger_file_handler)
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
def debug(self) -> bool:
|
|
404
|
+
"""Debug status
|
|
405
|
+
|
|
406
|
+
:param value: The debug status, True or False.
|
|
407
|
+
:type: bool
|
|
408
|
+
"""
|
|
409
|
+
return self.__debug
|
|
410
|
+
|
|
411
|
+
@debug.setter
|
|
412
|
+
def debug(self, value: bool) -> None:
|
|
413
|
+
"""Debug status
|
|
414
|
+
|
|
415
|
+
:param value: The debug status, True or False.
|
|
416
|
+
:type: bool
|
|
417
|
+
"""
|
|
418
|
+
self.__debug = value
|
|
419
|
+
if self.__debug:
|
|
420
|
+
# if debug status is True, turn on debug logging
|
|
421
|
+
for _, logger in self.logger.items():
|
|
422
|
+
logger.setLevel(logging.DEBUG)
|
|
423
|
+
# turn on httplib debug
|
|
424
|
+
httplib.HTTPConnection.debuglevel = 1
|
|
425
|
+
else:
|
|
426
|
+
# if debug status is False, turn off debug logging,
|
|
427
|
+
# setting log level to default `logging.WARNING`
|
|
428
|
+
for _, logger in self.logger.items():
|
|
429
|
+
logger.setLevel(logging.WARNING)
|
|
430
|
+
# turn off httplib debug
|
|
431
|
+
httplib.HTTPConnection.debuglevel = 0
|
|
432
|
+
|
|
433
|
+
@property
|
|
434
|
+
def logger_format(self) -> str:
|
|
435
|
+
"""The logger format.
|
|
436
|
+
|
|
437
|
+
The logger_formatter will be updated when sets logger_format.
|
|
438
|
+
|
|
439
|
+
:param value: The format string.
|
|
440
|
+
:type: str
|
|
441
|
+
"""
|
|
442
|
+
return self.__logger_format
|
|
443
|
+
|
|
444
|
+
@logger_format.setter
|
|
445
|
+
def logger_format(self, value: str) -> None:
|
|
446
|
+
"""The logger format.
|
|
447
|
+
|
|
448
|
+
The logger_formatter will be updated when sets logger_format.
|
|
449
|
+
|
|
450
|
+
:param value: The format string.
|
|
451
|
+
:type: str
|
|
452
|
+
"""
|
|
453
|
+
self.__logger_format = value
|
|
454
|
+
self.logger_formatter = logging.Formatter(self.__logger_format)
|
|
455
|
+
|
|
456
|
+
def get_api_key_with_prefix(self, identifier: str, alias: Optional[str] = None) -> Optional[str]:
|
|
457
|
+
"""Gets API key (with prefix if set).
|
|
458
|
+
|
|
459
|
+
:param identifier: The identifier of apiKey.
|
|
460
|
+
:param alias: The alternative identifier of apiKey.
|
|
461
|
+
:return: The token for api key authentication.
|
|
462
|
+
"""
|
|
463
|
+
if self.refresh_api_key_hook is not None:
|
|
464
|
+
self.refresh_api_key_hook(self)
|
|
465
|
+
key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None)
|
|
466
|
+
if key:
|
|
467
|
+
prefix = self.api_key_prefix.get(identifier)
|
|
468
|
+
if prefix:
|
|
469
|
+
return "%s %s" % (prefix, key)
|
|
470
|
+
else:
|
|
471
|
+
return key
|
|
472
|
+
|
|
473
|
+
return None
|
|
474
|
+
|
|
475
|
+
def get_basic_auth_token(self) -> Optional[str]:
|
|
476
|
+
"""Gets HTTP basic authentication header (string).
|
|
477
|
+
|
|
478
|
+
:return: The token for basic HTTP authentication.
|
|
479
|
+
"""
|
|
480
|
+
username = ""
|
|
481
|
+
if self.username is not None:
|
|
482
|
+
username = self.username
|
|
483
|
+
password = ""
|
|
484
|
+
if self.password is not None:
|
|
485
|
+
password = self.password
|
|
486
|
+
|
|
487
|
+
return "Basic " + base64.b64encode((username + ":" + password).encode("utf-8")).decode("utf-8")
|
|
488
|
+
|
|
489
|
+
def auth_settings(self) -> AuthSettings:
|
|
490
|
+
"""Gets Auth Settings dict for api client.
|
|
491
|
+
|
|
492
|
+
:return: The Auth Settings information dict.
|
|
493
|
+
"""
|
|
494
|
+
auth: AuthSettings = {}
|
|
495
|
+
if self.access_token is not None:
|
|
496
|
+
auth["BearerAuth"] = {
|
|
497
|
+
"type": "bearer",
|
|
498
|
+
"in": "header",
|
|
499
|
+
"format": "JWT",
|
|
500
|
+
"key": "Authorization",
|
|
501
|
+
"value": "Bearer " + self.access_token,
|
|
502
|
+
}
|
|
503
|
+
return auth
|
|
504
|
+
|
|
505
|
+
def to_debug_report(self) -> str:
|
|
506
|
+
"""Gets the essential information for debugging.
|
|
507
|
+
|
|
508
|
+
:return: The report for debugging.
|
|
509
|
+
"""
|
|
510
|
+
return (
|
|
511
|
+
"Python SDK Debug Report:\n"
|
|
512
|
+
"OS: {env}\n"
|
|
513
|
+
"Python Version: {pyversion}\n"
|
|
514
|
+
"Version of the API: 1.4.0\n"
|
|
515
|
+
"SDK Package Version: 26.3.0".format(env=sys.platform, pyversion=sys.version)
|
|
516
|
+
)
|
|
517
|
+
|
|
518
|
+
def get_host_settings(self) -> List[HostSetting]:
|
|
519
|
+
"""Gets an array of host settings
|
|
520
|
+
|
|
521
|
+
:return: An array of host settings
|
|
522
|
+
"""
|
|
523
|
+
return [
|
|
524
|
+
{
|
|
525
|
+
"url": "/api/v1",
|
|
526
|
+
"description": "No description provided",
|
|
527
|
+
}
|
|
528
|
+
]
|
|
529
|
+
|
|
530
|
+
def get_host_from_settings(
|
|
531
|
+
self,
|
|
532
|
+
index: Optional[int],
|
|
533
|
+
variables: Optional[ServerVariablesT] = None,
|
|
534
|
+
servers: Optional[List[HostSetting]] = None,
|
|
535
|
+
) -> str:
|
|
536
|
+
"""Gets host URL based on the index and variables
|
|
537
|
+
:param index: array index of the host settings
|
|
538
|
+
:param variables: hash of variable and the corresponding value
|
|
539
|
+
:param servers: an array of host settings or None
|
|
540
|
+
:return: URL based on host settings
|
|
541
|
+
"""
|
|
542
|
+
if index is None:
|
|
543
|
+
return self._base_path
|
|
544
|
+
|
|
545
|
+
variables = {} if variables is None else variables
|
|
546
|
+
servers = self.get_host_settings() if servers is None else servers
|
|
547
|
+
|
|
548
|
+
try:
|
|
549
|
+
server = servers[index]
|
|
550
|
+
except IndexError:
|
|
551
|
+
raise ValueError("Invalid index {0} when selecting the host settings. Must be less than {1}".format(index, len(servers)))
|
|
552
|
+
|
|
553
|
+
url = server["url"]
|
|
554
|
+
|
|
555
|
+
# go through variables and replace placeholders
|
|
556
|
+
for variable_name, variable in server.get("variables", {}).items():
|
|
557
|
+
used_value = variables.get(variable_name, variable["default_value"])
|
|
558
|
+
|
|
559
|
+
if "enum_values" in variable and variable["enum_values"] and used_value not in variable["enum_values"]:
|
|
560
|
+
raise ValueError(
|
|
561
|
+
"The variable `{0}` in the host URL has invalid value {1}. Must be {2}.".format(
|
|
562
|
+
variable_name, variables[variable_name], variable["enum_values"]
|
|
563
|
+
)
|
|
564
|
+
)
|
|
565
|
+
|
|
566
|
+
url = url.replace("{" + variable_name + "}", used_value)
|
|
567
|
+
|
|
568
|
+
return url
|
|
569
|
+
|
|
570
|
+
@property
|
|
571
|
+
def host(self) -> str:
|
|
572
|
+
"""Return generated host."""
|
|
573
|
+
return self.get_host_from_settings(self.server_index, variables=self.server_variables)
|
|
574
|
+
|
|
575
|
+
@host.setter
|
|
576
|
+
def host(self, value: str) -> None:
|
|
577
|
+
"""Fix base path."""
|
|
578
|
+
self._base_path = value
|
|
579
|
+
self.server_index = None
|