wandelbots-api-client 25.8.0.dev23__py3-none-any.whl → 25.10.0rc2__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 +2 -3
- wandelbots_api_client/api/__init__.py +2 -0
- wandelbots_api_client/api/application_api.py +1 -2
- wandelbots_api_client/api/cell_api.py +1 -2
- wandelbots_api_client/api/controller_api.py +10 -5
- wandelbots_api_client/api/controller_ios_api.py +3 -6
- wandelbots_api_client/api/coordinate_systems_api.py +1 -2
- wandelbots_api_client/api/device_configuration_api.py +1 -2
- wandelbots_api_client/api/library_program_api.py +1 -2
- wandelbots_api_client/api/library_program_metadata_api.py +1 -2
- wandelbots_api_client/api/library_recipe_api.py +1 -2
- wandelbots_api_client/api/library_recipe_metadata_api.py +1 -2
- wandelbots_api_client/api/license_api.py +1 -2
- wandelbots_api_client/api/motion_api.py +17 -6
- wandelbots_api_client/api/motion_group_api.py +1 -2
- wandelbots_api_client/api/motion_group_infos_api.py +3 -2
- wandelbots_api_client/api/motion_group_jogging_api.py +11 -6
- wandelbots_api_client/api/motion_group_kinematic_api.py +1 -2
- wandelbots_api_client/api/program_api.py +1 -2
- wandelbots_api_client/api/program_operator_api.py +1 -2
- wandelbots_api_client/api/program_values_api.py +1 -2
- wandelbots_api_client/api/store_collision_components_api.py +10 -8
- wandelbots_api_client/api/store_collision_scenes_api.py +1 -2
- wandelbots_api_client/api/store_object_api.py +1 -2
- wandelbots_api_client/api/system_api.py +1 -2
- wandelbots_api_client/api/version_api.py +284 -0
- wandelbots_api_client/api/virtual_robot_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_behavior_api.py +6 -4
- wandelbots_api_client/api/virtual_robot_mode_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_setup_api.py +16 -17
- wandelbots_api_client/api_client.py +14 -7
- wandelbots_api_client/authorization.py +244 -0
- wandelbots_api_client/configuration.py +18 -7
- wandelbots_api_client/exceptions.py +1 -1
- wandelbots_api_client/models/__init__.py +3 -4
- wandelbots_api_client/models/abb_controller.py +5 -5
- wandelbots_api_client/models/abb_controller_egm_server.py +3 -3
- wandelbots_api_client/models/activate_license_request.py +2 -2
- wandelbots_api_client/models/add_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_response.py +2 -2
- wandelbots_api_client/models/api_version.py +91 -0
- wandelbots_api_client/models/app.py +8 -8
- wandelbots_api_client/models/array_input.py +2 -2
- wandelbots_api_client/models/array_output.py +2 -2
- wandelbots_api_client/models/behavior.py +1 -1
- wandelbots_api_client/models/blending_auto.py +3 -3
- wandelbots_api_client/models/blending_position.py +3 -3
- wandelbots_api_client/models/box.py +5 -5
- wandelbots_api_client/models/box2.py +6 -6
- wandelbots_api_client/models/box3.py +6 -6
- wandelbots_api_client/models/capsule.py +3 -3
- wandelbots_api_client/models/capsule2.py +4 -4
- wandelbots_api_client/models/capsule3.py +4 -4
- wandelbots_api_client/models/capture.py +2 -2
- wandelbots_api_client/models/cell.py +4 -4
- wandelbots_api_client/models/circle.py +3 -3
- wandelbots_api_client/models/code_with_arguments.py +7 -6
- wandelbots_api_client/models/collection_value.py +1 -1
- wandelbots_api_client/models/collider.py +4 -4
- wandelbots_api_client/models/collider_input.py +4 -4
- wandelbots_api_client/models/collider_output.py +4 -4
- wandelbots_api_client/models/collider_output_shape.py +1 -1
- wandelbots_api_client/models/collider_shape.py +1 -41
- wandelbots_api_client/models/collision.py +7 -7
- wandelbots_api_client/models/collision_contact.py +3 -3
- wandelbots_api_client/models/collision_motion_group.py +7 -6
- wandelbots_api_client/models/collision_motion_group_assembly.py +9 -8
- wandelbots_api_client/models/collision_robot_configuration_input.py +12 -10
- wandelbots_api_client/models/collision_robot_configuration_output.py +12 -10
- wandelbots_api_client/models/collision_scene.py +11 -9
- wandelbots_api_client/models/collision_scene_assembly.py +14 -12
- wandelbots_api_client/models/command.py +7 -7
- wandelbots_api_client/models/command_settings.py +4 -4
- wandelbots_api_client/models/comparator.py +1 -1
- wandelbots_api_client/models/compound.py +2 -2
- wandelbots_api_client/models/container_environment_inner.py +3 -3
- wandelbots_api_client/models/container_image.py +4 -4
- wandelbots_api_client/models/container_image_secrets_inner.py +2 -2
- wandelbots_api_client/models/container_resources.py +2 -2
- wandelbots_api_client/models/container_storage.py +3 -3
- wandelbots_api_client/models/controller_capabilities.py +3 -3
- wandelbots_api_client/models/controller_instance.py +9 -9
- wandelbots_api_client/models/controller_instance_list.py +2 -2
- wandelbots_api_client/models/convex_hull.py +2 -2
- wandelbots_api_client/models/convex_hull2.py +3 -3
- wandelbots_api_client/models/convex_hull3.py +3 -3
- wandelbots_api_client/models/coordinate_system.py +6 -6
- wandelbots_api_client/models/coordinate_systems.py +2 -2
- wandelbots_api_client/models/create_device_request_inner.py +1 -1
- wandelbots_api_client/models/create_program_run200_response.py +2 -2
- wandelbots_api_client/models/create_program_run_request.py +2 -2
- wandelbots_api_client/models/create_trigger200_response.py +2 -2
- wandelbots_api_client/models/create_trigger_request.py +7 -7
- wandelbots_api_client/models/cubic_spline.py +2 -2
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cycle_time.py +2 -2
- wandelbots_api_client/models/cylinder.py +3 -3
- wandelbots_api_client/models/cylinder2.py +4 -4
- wandelbots_api_client/models/cylinder3.py +4 -4
- wandelbots_api_client/models/dh_parameter.py +6 -6
- wandelbots_api_client/models/direction.py +1 -1
- wandelbots_api_client/models/direction_jogging_request.py +10 -10
- wandelbots_api_client/models/error.py +3 -3
- wandelbots_api_client/models/execute_trajectory_request.py +1 -1
- wandelbots_api_client/models/execute_trajectory_response.py +1 -1
- wandelbots_api_client/models/execution_result.py +4 -4
- wandelbots_api_client/models/external_joint_stream_datapoint.py +3 -3
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +5 -5
- wandelbots_api_client/models/fanuc_controller.py +3 -3
- wandelbots_api_client/models/feedback_collision.py +5 -5
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +4 -4
- wandelbots_api_client/models/feedback_out_of_workspace.py +3 -3
- wandelbots_api_client/models/feedback_singularity.py +4 -4
- wandelbots_api_client/models/flag.py +2 -2
- wandelbots_api_client/models/force_vector.py +4 -4
- wandelbots_api_client/models/geometry.py +12 -12
- wandelbots_api_client/models/get_all_program_runs200_response.py +2 -2
- wandelbots_api_client/models/get_all_triggers200_response.py +2 -2
- wandelbots_api_client/models/get_mode_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_sample_response.py +2 -2
- wandelbots_api_client/models/google_protobuf_any.py +2 -2
- wandelbots_api_client/models/http_exception_response.py +2 -2
- wandelbots_api_client/models/http_validation_error.py +2 -2
- wandelbots_api_client/models/http_validation_error2.py +2 -2
- wandelbots_api_client/models/image_credentials.py +4 -4
- wandelbots_api_client/models/info_service_capabilities.py +8 -8
- wandelbots_api_client/models/initialize_movement_request.py +6 -6
- wandelbots_api_client/models/initialize_movement_response.py +2 -2
- wandelbots_api_client/models/initialize_movement_response_init_response.py +3 -3
- wandelbots_api_client/models/io.py +6 -6
- wandelbots_api_client/models/io_description.py +10 -10
- wandelbots_api_client/models/io_value.py +5 -5
- wandelbots_api_client/models/ios.py +2 -2
- wandelbots_api_client/models/jogging_response.py +4 -4
- wandelbots_api_client/models/jogging_service_capabilities.py +3 -3
- wandelbots_api_client/models/joint_jogging_request.py +6 -6
- wandelbots_api_client/models/joint_limit.py +5 -5
- wandelbots_api_client/models/joint_limit_exceeded.py +3 -3
- wandelbots_api_client/models/joint_position_request.py +4 -4
- wandelbots_api_client/models/joint_trajectory.py +4 -4
- wandelbots_api_client/models/joints.py +2 -2
- wandelbots_api_client/models/kinematic_service_capabilities.py +4 -4
- wandelbots_api_client/models/kuka_controller.py +10 -8
- wandelbots_api_client/models/kuka_controller_rsi_server.py +3 -3
- wandelbots_api_client/models/license.py +11 -11
- wandelbots_api_client/models/license_status.py +3 -3
- wandelbots_api_client/models/license_status_enum.py +1 -1
- wandelbots_api_client/models/limit_settings.py +13 -13
- wandelbots_api_client/models/limits_override.py +7 -7
- wandelbots_api_client/models/list_devices200_response_inner.py +1 -1
- wandelbots_api_client/models/list_io_descriptions_response.py +2 -2
- wandelbots_api_client/models/list_io_values_response.py +2 -2
- wandelbots_api_client/models/list_payloads_response.py +2 -2
- wandelbots_api_client/models/list_program_metadata_response.py +2 -2
- wandelbots_api_client/models/list_recipe_metadata_response.py +2 -2
- wandelbots_api_client/models/list_response.py +2 -2
- wandelbots_api_client/models/list_tcps_response.py +2 -2
- wandelbots_api_client/models/manufacturer.py +1 -1
- wandelbots_api_client/models/mode_change_response.py +5 -5
- wandelbots_api_client/models/motion_command.py +4 -4
- wandelbots_api_client/models/motion_command_blending.py +1 -1
- wandelbots_api_client/models/motion_command_path.py +1 -1
- wandelbots_api_client/models/motion_group_behavior_getter.py +2 -2
- wandelbots_api_client/models/motion_group_info.py +4 -4
- wandelbots_api_client/models/motion_group_infos.py +2 -2
- wandelbots_api_client/models/motion_group_instance.py +6 -6
- wandelbots_api_client/models/motion_group_instance_list.py +2 -2
- wandelbots_api_client/models/motion_group_joints.py +5 -5
- wandelbots_api_client/models/motion_group_physical.py +6 -6
- wandelbots_api_client/models/motion_group_specification.py +3 -3
- wandelbots_api_client/models/motion_group_state.py +13 -13
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +2 -2
- wandelbots_api_client/models/motion_group_state_response.py +3 -3
- wandelbots_api_client/models/motion_id.py +2 -2
- wandelbots_api_client/models/motion_ids_list_response.py +2 -2
- wandelbots_api_client/models/motion_vector.py +4 -4
- wandelbots_api_client/models/mounting.py +3 -3
- wandelbots_api_client/models/move_request.py +9 -9
- wandelbots_api_client/models/move_response.py +3 -3
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +5 -5
- wandelbots_api_client/models/movement.py +2 -2
- wandelbots_api_client/models/movement_error.py +2 -2
- wandelbots_api_client/models/movement_error_error.py +2 -2
- wandelbots_api_client/models/movement_movement.py +4 -4
- wandelbots_api_client/models/op_mode.py +2 -2
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +4 -4
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +1 -1
- wandelbots_api_client/models/optimizer_setup.py +8 -8
- wandelbots_api_client/models/out_of_workspace.py +2 -2
- wandelbots_api_client/models/path.py +2 -2
- wandelbots_api_client/models/path_cartesian_ptp.py +3 -3
- wandelbots_api_client/models/path_circle.py +4 -4
- wandelbots_api_client/models/path_cubic_spline.py +3 -3
- wandelbots_api_client/models/path_joint_ptp.py +3 -3
- wandelbots_api_client/models/path_line.py +3 -3
- wandelbots_api_client/models/pause_movement_request.py +3 -3
- wandelbots_api_client/models/pause_movement_response.py +2 -2
- wandelbots_api_client/models/pause_movement_response_pause_response.py +3 -3
- wandelbots_api_client/models/pause_on_io.py +3 -3
- wandelbots_api_client/models/payload.py +5 -5
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +10 -9
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +1 -1
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +10 -10
- wandelbots_api_client/models/plan_failed_response.py +8 -8
- wandelbots_api_client/models/plan_request.py +6 -6
- wandelbots_api_client/models/plan_response.py +4 -4
- wandelbots_api_client/models/plan_successful_response.py +3 -3
- wandelbots_api_client/models/plan_trajectory_failed_response.py +4 -4
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +1 -1
- wandelbots_api_client/models/plan_trajectory_request.py +10 -9
- wandelbots_api_client/models/plan_trajectory_response.py +2 -2
- wandelbots_api_client/models/plan_trajectory_response_response.py +1 -1
- wandelbots_api_client/models/plane2.py +2 -2
- wandelbots_api_client/models/plane3.py +2 -2
- wandelbots_api_client/models/planned_motion.py +6 -6
- wandelbots_api_client/models/planner_pose.py +3 -3
- wandelbots_api_client/models/planning_limits.py +13 -13
- wandelbots_api_client/models/planning_limits_limit_range.py +3 -3
- wandelbots_api_client/models/playback_speed_request.py +3 -3
- wandelbots_api_client/models/playback_speed_response.py +2 -2
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +2 -2
- wandelbots_api_client/models/point_cloud.py +2 -2
- wandelbots_api_client/models/pose.py +4 -4
- wandelbots_api_client/models/pose2.py +3 -3
- wandelbots_api_client/models/program_metadata.py +7 -7
- wandelbots_api_client/models/program_run.py +15 -14
- wandelbots_api_client/models/program_run_object.py +7 -7
- wandelbots_api_client/models/program_run_state.py +1 -1
- wandelbots_api_client/models/program_runner_reference.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +2 -2
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +7 -7
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +8 -8
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +3 -3
- wandelbots_api_client/models/quaternion.py +5 -5
- wandelbots_api_client/models/recipe_metadata.py +8 -8
- wandelbots_api_client/models/rectangle.py +3 -3
- wandelbots_api_client/models/rectangle2.py +4 -4
- wandelbots_api_client/models/rectangle3.py +4 -4
- wandelbots_api_client/models/rectangular_capsule.py +4 -4
- wandelbots_api_client/models/rectangular_capsule2.py +5 -5
- wandelbots_api_client/models/rectangular_capsule3.py +5 -5
- wandelbots_api_client/models/release_channel.py +1 -1
- wandelbots_api_client/models/request.py +1 -1
- wandelbots_api_client/models/request1.py +1 -1
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +1 -1
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +1 -1
- wandelbots_api_client/models/robot_controller.py +3 -3
- wandelbots_api_client/models/robot_controller_configuration.py +1 -1
- wandelbots_api_client/models/robot_controller_state.py +8 -8
- wandelbots_api_client/models/robot_link_geometry.py +3 -3
- wandelbots_api_client/models/robot_state.py +3 -3
- wandelbots_api_client/models/robot_system_mode.py +1 -1
- wandelbots_api_client/models/robot_tcp.py +5 -5
- wandelbots_api_client/models/robot_tcps.py +2 -2
- wandelbots_api_client/models/rotation_angle_types.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +3 -3
- wandelbots_api_client/models/safety_configuration.py +6 -6
- wandelbots_api_client/models/safety_setup.py +5 -5
- wandelbots_api_client/models/safety_setup_safety_settings.py +3 -3
- wandelbots_api_client/models/safety_setup_safety_zone.py +5 -5
- wandelbots_api_client/models/safety_zone.py +4 -4
- wandelbots_api_client/models/safety_zone_limits.py +3 -3
- wandelbots_api_client/models/safety_zone_violation.py +2 -2
- wandelbots_api_client/models/service_status.py +3 -3
- wandelbots_api_client/models/service_status_phase.py +1 -1
- wandelbots_api_client/models/service_status_severity.py +1 -1
- wandelbots_api_client/models/service_status_status.py +4 -4
- wandelbots_api_client/models/set_io.py +3 -3
- wandelbots_api_client/models/set_playback_speed.py +3 -3
- wandelbots_api_client/models/single_joint_limit.py +3 -3
- wandelbots_api_client/models/singularity.py +3 -3
- wandelbots_api_client/models/singularity_type_enum.py +1 -1
- wandelbots_api_client/models/sphere.py +2 -2
- wandelbots_api_client/models/sphere2.py +3 -3
- wandelbots_api_client/models/sphere3.py +3 -3
- wandelbots_api_client/models/standstill.py +2 -2
- wandelbots_api_client/models/standstill_reason.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +4 -4
- wandelbots_api_client/models/start_movement_request.py +6 -6
- wandelbots_api_client/models/start_on_io.py +3 -3
- wandelbots_api_client/models/status.py +4 -4
- wandelbots_api_client/models/stop_response.py +4 -4
- wandelbots_api_client/models/store_value.py +1 -1
- wandelbots_api_client/models/stream_move_backward.py +2 -2
- wandelbots_api_client/models/stream_move_forward.py +2 -2
- wandelbots_api_client/models/stream_move_playback_speed.py +2 -2
- wandelbots_api_client/models/stream_move_request.py +1 -1
- wandelbots_api_client/models/stream_move_response.py +4 -4
- wandelbots_api_client/models/stream_move_to_trajectory.py +2 -2
- wandelbots_api_client/models/stream_stop.py +2 -2
- wandelbots_api_client/models/tcp_pose.py +5 -5
- wandelbots_api_client/models/tcp_pose_request.py +5 -5
- wandelbots_api_client/models/tool_geometry.py +3 -3
- wandelbots_api_client/models/trajectory_sample.py +12 -12
- wandelbots_api_client/models/trigger_object.py +11 -11
- wandelbots_api_client/models/trigger_type.py +1 -1
- wandelbots_api_client/models/universalrobots_controller.py +3 -3
- wandelbots_api_client/models/update_nova_version_request.py +2 -2
- wandelbots_api_client/models/update_program_metadata_request.py +4 -4
- wandelbots_api_client/models/update_recipe_metadata_request.py +4 -4
- wandelbots_api_client/models/update_trigger_request.py +6 -6
- wandelbots_api_client/models/validation_error.py +4 -4
- wandelbots_api_client/models/validation_error2.py +4 -4
- wandelbots_api_client/models/validation_error2_loc_inner.py +1 -1
- wandelbots_api_client/models/validation_error_loc_inner.py +1 -1
- wandelbots_api_client/models/value.py +1 -1
- wandelbots_api_client/models/vector3d.py +4 -4
- wandelbots_api_client/models/version_number.py +9 -9
- wandelbots_api_client/models/virtual_controller.py +6 -6
- wandelbots_api_client/models/virtual_controller_types.py +13 -1
- wandelbots_api_client/models/virtual_robot_configuration.py +3 -3
- wandelbots_api_client/models/yaskawa_controller.py +3 -3
- wandelbots_api_client/rest.py +3 -2
- wandelbots_api_client/v2/__init__.py +3 -4
- wandelbots_api_client/v2/api/__init__.py +2 -0
- wandelbots_api_client/v2/api/application_api.py +11 -12
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +930 -82
- wandelbots_api_client/v2/api/cell_api.py +8 -9
- wandelbots_api_client/v2/api/controller_api.py +35 -32
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +14 -13
- wandelbots_api_client/v2/api/jogging_api.py +8 -6
- wandelbots_api_client/v2/api/kinematics_api.py +14 -16
- wandelbots_api_client/v2/api/license_api.py +8 -9
- wandelbots_api_client/v2/api/motion_group_api.py +10 -9
- wandelbots_api_client/v2/api/motion_group_models_api.py +16 -53
- wandelbots_api_client/v2/api/program_api.py +14 -15
- wandelbots_api_client/v2/api/store_collision_components_api.py +823 -50
- wandelbots_api_client/v2/api/store_collision_setups_api.py +264 -7
- wandelbots_api_client/v2/api/store_object_api.py +11 -12
- wandelbots_api_client/v2/api/system_api.py +6 -6
- wandelbots_api_client/v2/api/trajectory_caching_api.py +14 -15
- wandelbots_api_client/v2/api/trajectory_execution_api.py +8 -6
- wandelbots_api_client/v2/api/trajectory_planning_api.py +17 -19
- wandelbots_api_client/v2/api/version_api.py +284 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +56 -42
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +20 -12
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +5 -6
- wandelbots_api_client/v2/api_client.py +15 -8
- wandelbots_api_client/v2/configuration.py +19 -8
- wandelbots_api_client/v2/exceptions.py +2 -2
- wandelbots_api_client/v2/models/__init__.py +52 -31
- wandelbots_api_client/v2/models/abb_controller.py +8 -11
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +4 -4
- wandelbots_api_client/v2/models/activate_license_request.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_error.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +58 -58
- wandelbots_api_client/v2/models/add_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_response.py +4 -4
- wandelbots_api_client/v2/models/api_version.py +91 -0
- wandelbots_api_client/v2/models/app.py +11 -11
- wandelbots_api_client/v2/models/behavior.py +3 -3
- wandelbots_api_client/v2/models/blending_auto.py +6 -5
- wandelbots_api_client/v2/models/blending_position.py +4 -4
- wandelbots_api_client/v2/models/boolean_value.py +6 -9
- wandelbots_api_client/v2/models/box.py +7 -7
- wandelbots_api_client/v2/models/{io_description2.py → bus_io_description.py} +16 -16
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +115 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +106 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +98 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +10 -13
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +4 -4
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +5 -8
- wandelbots_api_client/v2/models/bus_io_type.py +65 -18
- wandelbots_api_client/v2/models/bus_ios_state.py +4 -4
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +5 -5
- wandelbots_api_client/v2/models/cartesian_limits.py +6 -6
- wandelbots_api_client/v2/models/cell.py +7 -7
- wandelbots_api_client/v2/models/collider.py +5 -5
- wandelbots_api_client/v2/models/collider_shape.py +2 -42
- wandelbots_api_client/v2/models/collision.py +8 -8
- wandelbots_api_client/v2/models/collision_contact.py +4 -4
- wandelbots_api_client/v2/models/collision_error.py +3 -3
- wandelbots_api_client/v2/models/collision_free_algorithm.py +15 -15
- wandelbots_api_client/v2/models/collision_setup.py +14 -12
- wandelbots_api_client/v2/models/comparator.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status.py +2 -17
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +3 -3
- wandelbots_api_client/v2/models/configuration_resource.py +5 -5
- wandelbots_api_client/v2/models/container_environment_inner.py +4 -4
- wandelbots_api_client/v2/models/container_image.py +5 -5
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +3 -3
- wandelbots_api_client/v2/models/container_resources.py +4 -4
- wandelbots_api_client/v2/models/container_storage.py +4 -4
- wandelbots_api_client/v2/models/controller_description.py +6 -6
- wandelbots_api_client/v2/models/convex_hull.py +4 -4
- wandelbots_api_client/v2/models/coordinate_system.py +8 -8
- wandelbots_api_client/v2/models/coordinate_system_data.py +7 -7
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +4 -4
- wandelbots_api_client/v2/models/cycle_time.py +5 -4
- wandelbots_api_client/v2/models/cylinder.py +5 -5
- wandelbots_api_client/v2/models/dh_parameter.py +7 -7
- wandelbots_api_client/v2/models/direction.py +2 -2
- wandelbots_api_client/v2/models/error.py +4 -4
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +5 -5
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +6 -5
- wandelbots_api_client/v2/models/error_joint_position_collision.py +6 -6
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +4 -4
- wandelbots_api_client/v2/models/execute.py +4 -4
- wandelbots_api_client/v2/models/execute_details.py +2 -12
- wandelbots_api_client/v2/models/execute_jogging_request.py +30 -2
- wandelbots_api_client/v2/models/execute_jogging_response.py +7 -7
- wandelbots_api_client/v2/models/execute_trajectory_request.py +30 -2
- wandelbots_api_client/v2/models/execute_trajectory_response.py +7 -7
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +4 -4
- wandelbots_api_client/v2/models/external_joint_stream_request.py +3 -3
- wandelbots_api_client/v2/models/fanuc_controller.py +6 -9
- wandelbots_api_client/v2/models/feedback_collision.py +6 -6
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +7 -6
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +4 -4
- wandelbots_api_client/v2/models/feedback_singularity.py +5 -5
- wandelbots_api_client/v2/models/flag.py +3 -3
- wandelbots_api_client/v2/models/float_value.py +6 -9
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_request.py +6 -6
- wandelbots_api_client/v2/models/forward_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/get_trajectory_response.py +5 -5
- wandelbots_api_client/v2/models/http_validation_error.py +3 -3
- wandelbots_api_client/v2/models/image_credentials.py +5 -5
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +9 -9
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +9 -9
- wandelbots_api_client/v2/models/initialize_jogging_request.py +10 -17
- wandelbots_api_client/v2/models/initialize_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/initialize_movement_request.py +8 -13
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_response.py +5 -5
- wandelbots_api_client/v2/models/integer_value.py +7 -10
- wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +9 -9
- wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +8 -8
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +12 -11
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/io_boolean_value.py +7 -10
- wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +10 -25
- wandelbots_api_client/v2/models/io_description.py +13 -13
- wandelbots_api_client/v2/models/io_direction.py +2 -2
- wandelbots_api_client/v2/models/io_float_value.py +7 -10
- wandelbots_api_client/v2/models/io_integer_value.py +7 -10
- wandelbots_api_client/v2/models/io_origin.py +37 -0
- wandelbots_api_client/v2/models/io_value.py +2 -17
- wandelbots_api_client/v2/models/io_value_type.py +2 -2
- wandelbots_api_client/v2/models/jogging_details.py +4 -4
- wandelbots_api_client/v2/models/jogging_details_state.py +2 -27
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +4 -4
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +6 -5
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/jogging_running.py +3 -3
- wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +7 -7
- wandelbots_api_client/v2/models/joint_limits.py +6 -6
- wandelbots_api_client/v2/models/joint_trajectory.py +5 -5
- wandelbots_api_client/v2/models/joint_velocity_request.py +6 -9
- wandelbots_api_client/v2/models/joint_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/kuka_controller.py +12 -13
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +4 -4
- wandelbots_api_client/v2/models/license.py +12 -12
- wandelbots_api_client/v2/models/license_status.py +4 -4
- wandelbots_api_client/v2/models/license_status_enum.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +4 -4
- wandelbots_api_client/v2/models/limit_set.py +7 -7
- wandelbots_api_client/v2/models/limits_override.py +8 -8
- wandelbots_api_client/v2/models/list_trajectories_response.py +3 -3
- wandelbots_api_client/v2/models/manufacturer.py +2 -2
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +4 -4
- wandelbots_api_client/v2/models/modbus_io.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +40 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +40 -0
- wandelbots_api_client/v2/models/{http_validation_error2.py → modbus_io_data.py} +23 -28
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
- wandelbots_api_client/v2/models/motion_command.py +5 -5
- wandelbots_api_client/v2/models/motion_command_blending.py +2 -2
- wandelbots_api_client/v2/models/motion_command_path.py +2 -2
- wandelbots_api_client/v2/models/motion_group_description.py +36 -31
- wandelbots_api_client/v2/models/motion_group_info.py +7 -6
- wandelbots_api_client/v2/models/motion_group_joints.py +6 -6
- wandelbots_api_client/v2/models/motion_group_setup.py +15 -13
- wandelbots_api_client/v2/models/motion_group_state.py +18 -17
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +3 -3
- wandelbots_api_client/v2/models/movement_error_response.py +4 -4
- wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +9 -9
- wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +6 -6
- wandelbots_api_client/v2/models/op_mode.py +3 -3
- wandelbots_api_client/v2/models/operating_state.py +2 -2
- wandelbots_api_client/v2/models/operation_limits.py +6 -6
- wandelbots_api_client/v2/models/operation_mode.py +2 -2
- wandelbots_api_client/v2/models/orientation_type.py +2 -2
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_circle.py +5 -5
- wandelbots_api_client/v2/models/path_cubic_spline.py +4 -4
- wandelbots_api_client/v2/models/path_joint_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_line.py +4 -4
- wandelbots_api_client/v2/models/pause_jogging_request.py +5 -8
- wandelbots_api_client/v2/models/pause_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/pause_movement_request.py +5 -8
- wandelbots_api_client/v2/models/pause_movement_response.py +4 -4
- wandelbots_api_client/v2/models/pause_on_io.py +9 -6
- wandelbots_api_client/v2/models/payload.py +6 -6
- wandelbots_api_client/v2/models/plan422_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_request.py +6 -6
- wandelbots_api_client/v2/models/plan_collision_free_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_response.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error.py +7 -7
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/plane.py +3 -3
- wandelbots_api_client/v2/models/playback_speed_request.py +8 -10
- wandelbots_api_client/v2/models/playback_speed_response.py +4 -4
- wandelbots_api_client/v2/models/pose.py +4 -4
- wandelbots_api_client/v2/models/profinet_description.py +7 -7
- wandelbots_api_client/v2/models/profinet_input_output_config.py +5 -5
- wandelbots_api_client/v2/models/profinet_io.py +10 -10
- wandelbots_api_client/v2/models/profinet_io_data.py +9 -9
- wandelbots_api_client/v2/models/profinet_io_direction.py +3 -3
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/profinet_slot_description.py +6 -6
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +5 -5
- wandelbots_api_client/v2/models/program.py +8 -8
- wandelbots_api_client/v2/models/program_run.py +16 -14
- wandelbots_api_client/v2/models/program_run_state.py +2 -2
- wandelbots_api_client/v2/models/program_start_request.py +3 -3
- wandelbots_api_client/v2/models/rectangle.py +5 -5
- wandelbots_api_client/v2/models/rectangular_capsule.py +6 -6
- wandelbots_api_client/v2/models/release_channel.py +2 -2
- wandelbots_api_client/v2/models/robot_controller.py +4 -4
- wandelbots_api_client/v2/models/robot_controller_configuration.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +13 -12
- wandelbots_api_client/v2/models/robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp.py +7 -7
- wandelbots_api_client/v2/models/robot_tcp_data.py +6 -6
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +8 -8
- wandelbots_api_client/v2/models/safety_state_type.py +2 -2
- wandelbots_api_client/v2/models/service_group.py +2 -2
- wandelbots_api_client/v2/models/service_status.py +5 -5
- wandelbots_api_client/v2/models/service_status_phase.py +2 -2
- wandelbots_api_client/v2/models/service_status_response.py +4 -4
- wandelbots_api_client/v2/models/service_status_severity.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +5 -5
- wandelbots_api_client/v2/models/set_io.py +100 -0
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/singularity_type_enum.py +2 -2
- wandelbots_api_client/v2/models/sphere.py +4 -4
- wandelbots_api_client/v2/models/start_movement_request.py +15 -16
- wandelbots_api_client/v2/models/start_movement_response.py +4 -4
- wandelbots_api_client/v2/models/start_on_io.py +9 -6
- wandelbots_api_client/v2/models/stream_io_values_response.py +7 -6
- wandelbots_api_client/v2/models/tcp_offset.py +4 -4
- wandelbots_api_client/v2/models/{tcp_required.py → tcp_required_error.py} +6 -6
- wandelbots_api_client/v2/models/tcp_velocity_request.py +7 -10
- wandelbots_api_client/v2/models/tcp_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +9 -9
- wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +8 -8
- wandelbots_api_client/v2/models/trajectory_data.py +7 -7
- wandelbots_api_client/v2/models/trajectory_details.py +6 -6
- wandelbots_api_client/v2/models/trajectory_details_state.py +2 -27
- wandelbots_api_client/v2/models/trajectory_ended.py +3 -3
- wandelbots_api_client/v2/models/trajectory_id.py +6 -9
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/trajectory_running.py +6 -5
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +3 -3
- wandelbots_api_client/v2/models/unit_type.py +2 -2
- wandelbots_api_client/v2/models/universalrobots_controller.py +6 -9
- wandelbots_api_client/v2/models/update_nova_version_request.py +3 -3
- wandelbots_api_client/v2/models/validation_error.py +6 -6
- wandelbots_api_client/v2/models/validation_error2.py +5 -5
- wandelbots_api_client/v2/models/validation_error_loc_inner.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller.py +8 -11
- wandelbots_api_client/v2/models/virtual_controller_types.py +14 -2
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +4 -4
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +4 -4
- wandelbots_api_client/v2/models/yaskawa_controller.py +6 -9
- wandelbots_api_client/v2/rest.py +4 -3
- wandelbots_api_client/v2_pydantic/__init__.py +50 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +51 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1803 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4603 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2003 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3721 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1395 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +1061 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +733 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +563 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1187 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4170 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1419 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1719 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2427 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1508 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +287 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4610 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +991 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1012 -0
- wandelbots_api_client/v2_pydantic/api_client.py +809 -0
- wandelbots_api_client/v2_pydantic/api_response.py +21 -0
- wandelbots_api_client/v2_pydantic/configuration.py +606 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models.py +4561 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +213 -0
- wandelbots_api_client-25.10.0rc2.dist-info/METADATA +62 -0
- wandelbots_api_client-25.10.0rc2.dist-info/RECORD +640 -0
- {wandelbots_api_client-25.8.0.dev23.dist-info → wandelbots_api_client-25.10.0rc2.dist-info}/WHEEL +2 -1
- wandelbots_api_client-25.10.0rc2.dist-info/top_level.txt +1 -0
- wandelbots_api_client/models/create_trigger_request_config.py +0 -123
- wandelbots_api_client/v2/models/limit_config.py +0 -101
- wandelbots_api_client-25.8.0.dev23.dist-info/METADATA +0 -63
- wandelbots_api_client-25.8.0.dev23.dist-info/RECORD +0 -594
- {wandelbots_api_client-25.8.0.dev23.dist-info → wandelbots_api_client-25.10.0rc2.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,1719 @@
|
|
|
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: 2.1.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, StrictBytes, StrictStr
|
|
26
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
27
|
+
from typing_extensions import Annotated
|
|
28
|
+
|
|
29
|
+
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
30
|
+
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
31
|
+
from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
|
|
32
|
+
|
|
33
|
+
class StoreObjectApi:
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
def __init__(self, api_client=None) -> None:
|
|
41
|
+
if api_client is None:
|
|
42
|
+
api_client = ApiClient.get_default()
|
|
43
|
+
self.api_client = api_client
|
|
44
|
+
|
|
45
|
+
@validate_call
|
|
46
|
+
async def clear_all_objects(
|
|
47
|
+
self,
|
|
48
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
49
|
+
_request_timeout: Union[
|
|
50
|
+
None,
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Tuple[
|
|
53
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
55
|
+
]
|
|
56
|
+
] = None,
|
|
57
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_content_type: Optional[StrictStr] = None,
|
|
59
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
|
+
) -> None:
|
|
62
|
+
"""Clear all Objects
|
|
63
|
+
|
|
64
|
+
Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
65
|
+
|
|
66
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
67
|
+
:type cell: str
|
|
68
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
69
|
+
number provided, it will be total request
|
|
70
|
+
timeout. It can also be a pair (tuple) of
|
|
71
|
+
(connection, read) timeouts.
|
|
72
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
73
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
74
|
+
request; this effectively ignores the
|
|
75
|
+
authentication in the spec for a single request.
|
|
76
|
+
:type _request_auth: dict, optional
|
|
77
|
+
:param _content_type: force content-type for the request.
|
|
78
|
+
:type _content_type: str, Optional
|
|
79
|
+
:param _headers: set to override the headers for a single
|
|
80
|
+
request; this effectively ignores the headers
|
|
81
|
+
in the spec for a single request.
|
|
82
|
+
:type _headers: dict, optional
|
|
83
|
+
:param _host_index: set to override the host_index for a single
|
|
84
|
+
request; this effectively ignores the host_index
|
|
85
|
+
in the spec for a single request.
|
|
86
|
+
:type _host_index: int, optional
|
|
87
|
+
:return: Returns the result object.
|
|
88
|
+
""" # noqa: E501
|
|
89
|
+
|
|
90
|
+
_param = self._clear_all_objects_serialize(
|
|
91
|
+
cell=cell,
|
|
92
|
+
_request_auth=_request_auth,
|
|
93
|
+
_content_type=_content_type,
|
|
94
|
+
_headers=_headers,
|
|
95
|
+
_host_index=_host_index
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
99
|
+
'204': None,
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
response_data = await self.api_client.call_api(
|
|
103
|
+
*_param,
|
|
104
|
+
_request_timeout=_request_timeout
|
|
105
|
+
)
|
|
106
|
+
await response_data.read()
|
|
107
|
+
return self.api_client.response_deserialize(
|
|
108
|
+
response_data=response_data,
|
|
109
|
+
response_types_map=_response_types_map,
|
|
110
|
+
).data
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@validate_call
|
|
114
|
+
async def clear_all_objects_with_http_info(
|
|
115
|
+
self,
|
|
116
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
117
|
+
_request_timeout: Union[
|
|
118
|
+
None,
|
|
119
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
120
|
+
Tuple[
|
|
121
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
122
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
123
|
+
]
|
|
124
|
+
] = None,
|
|
125
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
126
|
+
_content_type: Optional[StrictStr] = None,
|
|
127
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
129
|
+
) -> ApiResponse[None]:
|
|
130
|
+
"""Clear all Objects
|
|
131
|
+
|
|
132
|
+
Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
133
|
+
|
|
134
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
135
|
+
:type cell: str
|
|
136
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
137
|
+
number provided, it will be total request
|
|
138
|
+
timeout. It can also be a pair (tuple) of
|
|
139
|
+
(connection, read) timeouts.
|
|
140
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
141
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
142
|
+
request; this effectively ignores the
|
|
143
|
+
authentication in the spec for a single request.
|
|
144
|
+
:type _request_auth: dict, optional
|
|
145
|
+
:param _content_type: force content-type for the request.
|
|
146
|
+
:type _content_type: str, Optional
|
|
147
|
+
:param _headers: set to override the headers for a single
|
|
148
|
+
request; this effectively ignores the headers
|
|
149
|
+
in the spec for a single request.
|
|
150
|
+
:type _headers: dict, optional
|
|
151
|
+
:param _host_index: set to override the host_index for a single
|
|
152
|
+
request; this effectively ignores the host_index
|
|
153
|
+
in the spec for a single request.
|
|
154
|
+
:type _host_index: int, optional
|
|
155
|
+
:return: Returns the result object.
|
|
156
|
+
""" # noqa: E501
|
|
157
|
+
|
|
158
|
+
_param = self._clear_all_objects_serialize(
|
|
159
|
+
cell=cell,
|
|
160
|
+
_request_auth=_request_auth,
|
|
161
|
+
_content_type=_content_type,
|
|
162
|
+
_headers=_headers,
|
|
163
|
+
_host_index=_host_index
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
167
|
+
'204': None,
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
response_data = await self.api_client.call_api(
|
|
171
|
+
*_param,
|
|
172
|
+
_request_timeout=_request_timeout
|
|
173
|
+
)
|
|
174
|
+
await response_data.read()
|
|
175
|
+
return self.api_client.response_deserialize(
|
|
176
|
+
response_data=response_data,
|
|
177
|
+
response_types_map=_response_types_map,
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
@validate_call
|
|
182
|
+
async def clear_all_objects_without_preload_content(
|
|
183
|
+
self,
|
|
184
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
185
|
+
_request_timeout: Union[
|
|
186
|
+
None,
|
|
187
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
188
|
+
Tuple[
|
|
189
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
190
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
191
|
+
]
|
|
192
|
+
] = None,
|
|
193
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
194
|
+
_content_type: Optional[StrictStr] = None,
|
|
195
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
196
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
197
|
+
) -> RESTResponseType:
|
|
198
|
+
"""Clear all Objects
|
|
199
|
+
|
|
200
|
+
Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
201
|
+
|
|
202
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
203
|
+
:type cell: str
|
|
204
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
205
|
+
number provided, it will be total request
|
|
206
|
+
timeout. It can also be a pair (tuple) of
|
|
207
|
+
(connection, read) timeouts.
|
|
208
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
209
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
210
|
+
request; this effectively ignores the
|
|
211
|
+
authentication in the spec for a single request.
|
|
212
|
+
:type _request_auth: dict, optional
|
|
213
|
+
:param _content_type: force content-type for the request.
|
|
214
|
+
:type _content_type: str, Optional
|
|
215
|
+
:param _headers: set to override the headers for a single
|
|
216
|
+
request; this effectively ignores the headers
|
|
217
|
+
in the spec for a single request.
|
|
218
|
+
:type _headers: dict, optional
|
|
219
|
+
:param _host_index: set to override the host_index for a single
|
|
220
|
+
request; this effectively ignores the host_index
|
|
221
|
+
in the spec for a single request.
|
|
222
|
+
:type _host_index: int, optional
|
|
223
|
+
:return: Returns the result object.
|
|
224
|
+
""" # noqa: E501
|
|
225
|
+
|
|
226
|
+
_param = self._clear_all_objects_serialize(
|
|
227
|
+
cell=cell,
|
|
228
|
+
_request_auth=_request_auth,
|
|
229
|
+
_content_type=_content_type,
|
|
230
|
+
_headers=_headers,
|
|
231
|
+
_host_index=_host_index
|
|
232
|
+
)
|
|
233
|
+
|
|
234
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
235
|
+
'204': None,
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
response_data = await self.api_client.call_api(
|
|
239
|
+
*_param,
|
|
240
|
+
_request_timeout=_request_timeout
|
|
241
|
+
)
|
|
242
|
+
return response_data.response
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
def _clear_all_objects_serialize(
|
|
246
|
+
self,
|
|
247
|
+
cell,
|
|
248
|
+
_request_auth,
|
|
249
|
+
_content_type,
|
|
250
|
+
_headers,
|
|
251
|
+
_host_index,
|
|
252
|
+
) -> RequestSerialized:
|
|
253
|
+
|
|
254
|
+
_host = None
|
|
255
|
+
|
|
256
|
+
_collection_formats: Dict[str, str] = {
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
_path_params: Dict[str, str] = {}
|
|
260
|
+
_query_params: List[Tuple[str, str]] = []
|
|
261
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
262
|
+
_form_params: List[Tuple[str, str]] = []
|
|
263
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
264
|
+
_body_params: Optional[bytes] = None
|
|
265
|
+
|
|
266
|
+
# process the path parameters
|
|
267
|
+
if cell is not None:
|
|
268
|
+
_path_params['cell'] = cell
|
|
269
|
+
# process the query parameters
|
|
270
|
+
# process the header parameters
|
|
271
|
+
# process the form parameters
|
|
272
|
+
# process the body parameter
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
# authentication setting
|
|
278
|
+
_auth_settings: List[str] = [
|
|
279
|
+
'BasicAuth',
|
|
280
|
+
'BearerAuth'
|
|
281
|
+
]
|
|
282
|
+
|
|
283
|
+
return self.api_client.param_serialize(
|
|
284
|
+
method='DELETE',
|
|
285
|
+
resource_path='/cells/{cell}/store/objects',
|
|
286
|
+
path_params=_path_params,
|
|
287
|
+
query_params=_query_params,
|
|
288
|
+
header_params=_header_params,
|
|
289
|
+
body=_body_params,
|
|
290
|
+
post_params=_form_params,
|
|
291
|
+
files=_files,
|
|
292
|
+
auth_settings=_auth_settings,
|
|
293
|
+
collection_formats=_collection_formats,
|
|
294
|
+
_host=_host,
|
|
295
|
+
_request_auth=_request_auth
|
|
296
|
+
)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
@validate_call
|
|
301
|
+
async def delete_object(
|
|
302
|
+
self,
|
|
303
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
304
|
+
key: StrictStr,
|
|
305
|
+
_request_timeout: Union[
|
|
306
|
+
None,
|
|
307
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
308
|
+
Tuple[
|
|
309
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
310
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
311
|
+
]
|
|
312
|
+
] = None,
|
|
313
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
314
|
+
_content_type: Optional[StrictStr] = None,
|
|
315
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
316
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
317
|
+
) -> None:
|
|
318
|
+
"""Delete Object
|
|
319
|
+
|
|
320
|
+
Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
321
|
+
|
|
322
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
323
|
+
:type cell: str
|
|
324
|
+
:param key: (required)
|
|
325
|
+
:type key: str
|
|
326
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
327
|
+
number provided, it will be total request
|
|
328
|
+
timeout. It can also be a pair (tuple) of
|
|
329
|
+
(connection, read) timeouts.
|
|
330
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
331
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
332
|
+
request; this effectively ignores the
|
|
333
|
+
authentication in the spec for a single request.
|
|
334
|
+
:type _request_auth: dict, optional
|
|
335
|
+
:param _content_type: force content-type for the request.
|
|
336
|
+
:type _content_type: str, Optional
|
|
337
|
+
:param _headers: set to override the headers for a single
|
|
338
|
+
request; this effectively ignores the headers
|
|
339
|
+
in the spec for a single request.
|
|
340
|
+
:type _headers: dict, optional
|
|
341
|
+
:param _host_index: set to override the host_index for a single
|
|
342
|
+
request; this effectively ignores the host_index
|
|
343
|
+
in the spec for a single request.
|
|
344
|
+
:type _host_index: int, optional
|
|
345
|
+
:return: Returns the result object.
|
|
346
|
+
""" # noqa: E501
|
|
347
|
+
|
|
348
|
+
_param = self._delete_object_serialize(
|
|
349
|
+
cell=cell,
|
|
350
|
+
key=key,
|
|
351
|
+
_request_auth=_request_auth,
|
|
352
|
+
_content_type=_content_type,
|
|
353
|
+
_headers=_headers,
|
|
354
|
+
_host_index=_host_index
|
|
355
|
+
)
|
|
356
|
+
|
|
357
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
358
|
+
'204': None,
|
|
359
|
+
'404': "Error",
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
response_data = await self.api_client.call_api(
|
|
363
|
+
*_param,
|
|
364
|
+
_request_timeout=_request_timeout
|
|
365
|
+
)
|
|
366
|
+
await response_data.read()
|
|
367
|
+
return self.api_client.response_deserialize(
|
|
368
|
+
response_data=response_data,
|
|
369
|
+
response_types_map=_response_types_map,
|
|
370
|
+
).data
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
@validate_call
|
|
374
|
+
async def delete_object_with_http_info(
|
|
375
|
+
self,
|
|
376
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
377
|
+
key: StrictStr,
|
|
378
|
+
_request_timeout: Union[
|
|
379
|
+
None,
|
|
380
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
381
|
+
Tuple[
|
|
382
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
383
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
384
|
+
]
|
|
385
|
+
] = None,
|
|
386
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
387
|
+
_content_type: Optional[StrictStr] = None,
|
|
388
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
389
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
390
|
+
) -> ApiResponse[None]:
|
|
391
|
+
"""Delete Object
|
|
392
|
+
|
|
393
|
+
Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
394
|
+
|
|
395
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
396
|
+
:type cell: str
|
|
397
|
+
:param key: (required)
|
|
398
|
+
:type key: str
|
|
399
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
400
|
+
number provided, it will be total request
|
|
401
|
+
timeout. It can also be a pair (tuple) of
|
|
402
|
+
(connection, read) timeouts.
|
|
403
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
404
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
405
|
+
request; this effectively ignores the
|
|
406
|
+
authentication in the spec for a single request.
|
|
407
|
+
:type _request_auth: dict, optional
|
|
408
|
+
:param _content_type: force content-type for the request.
|
|
409
|
+
:type _content_type: str, Optional
|
|
410
|
+
:param _headers: set to override the headers for a single
|
|
411
|
+
request; this effectively ignores the headers
|
|
412
|
+
in the spec for a single request.
|
|
413
|
+
:type _headers: dict, optional
|
|
414
|
+
:param _host_index: set to override the host_index for a single
|
|
415
|
+
request; this effectively ignores the host_index
|
|
416
|
+
in the spec for a single request.
|
|
417
|
+
:type _host_index: int, optional
|
|
418
|
+
:return: Returns the result object.
|
|
419
|
+
""" # noqa: E501
|
|
420
|
+
|
|
421
|
+
_param = self._delete_object_serialize(
|
|
422
|
+
cell=cell,
|
|
423
|
+
key=key,
|
|
424
|
+
_request_auth=_request_auth,
|
|
425
|
+
_content_type=_content_type,
|
|
426
|
+
_headers=_headers,
|
|
427
|
+
_host_index=_host_index
|
|
428
|
+
)
|
|
429
|
+
|
|
430
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
431
|
+
'204': None,
|
|
432
|
+
'404': "Error",
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
response_data = await self.api_client.call_api(
|
|
436
|
+
*_param,
|
|
437
|
+
_request_timeout=_request_timeout
|
|
438
|
+
)
|
|
439
|
+
await response_data.read()
|
|
440
|
+
return self.api_client.response_deserialize(
|
|
441
|
+
response_data=response_data,
|
|
442
|
+
response_types_map=_response_types_map,
|
|
443
|
+
)
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
@validate_call
|
|
447
|
+
async def delete_object_without_preload_content(
|
|
448
|
+
self,
|
|
449
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
450
|
+
key: StrictStr,
|
|
451
|
+
_request_timeout: Union[
|
|
452
|
+
None,
|
|
453
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
454
|
+
Tuple[
|
|
455
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
456
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
457
|
+
]
|
|
458
|
+
] = None,
|
|
459
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
460
|
+
_content_type: Optional[StrictStr] = None,
|
|
461
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
462
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
463
|
+
) -> RESTResponseType:
|
|
464
|
+
"""Delete Object
|
|
465
|
+
|
|
466
|
+
Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
467
|
+
|
|
468
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
469
|
+
:type cell: str
|
|
470
|
+
:param key: (required)
|
|
471
|
+
:type key: str
|
|
472
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
473
|
+
number provided, it will be total request
|
|
474
|
+
timeout. It can also be a pair (tuple) of
|
|
475
|
+
(connection, read) timeouts.
|
|
476
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
477
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
478
|
+
request; this effectively ignores the
|
|
479
|
+
authentication in the spec for a single request.
|
|
480
|
+
:type _request_auth: dict, optional
|
|
481
|
+
:param _content_type: force content-type for the request.
|
|
482
|
+
:type _content_type: str, Optional
|
|
483
|
+
:param _headers: set to override the headers for a single
|
|
484
|
+
request; this effectively ignores the headers
|
|
485
|
+
in the spec for a single request.
|
|
486
|
+
:type _headers: dict, optional
|
|
487
|
+
:param _host_index: set to override the host_index for a single
|
|
488
|
+
request; this effectively ignores the host_index
|
|
489
|
+
in the spec for a single request.
|
|
490
|
+
:type _host_index: int, optional
|
|
491
|
+
:return: Returns the result object.
|
|
492
|
+
""" # noqa: E501
|
|
493
|
+
|
|
494
|
+
_param = self._delete_object_serialize(
|
|
495
|
+
cell=cell,
|
|
496
|
+
key=key,
|
|
497
|
+
_request_auth=_request_auth,
|
|
498
|
+
_content_type=_content_type,
|
|
499
|
+
_headers=_headers,
|
|
500
|
+
_host_index=_host_index
|
|
501
|
+
)
|
|
502
|
+
|
|
503
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
504
|
+
'204': None,
|
|
505
|
+
'404': "Error",
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
response_data = await self.api_client.call_api(
|
|
509
|
+
*_param,
|
|
510
|
+
_request_timeout=_request_timeout
|
|
511
|
+
)
|
|
512
|
+
return response_data.response
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
def _delete_object_serialize(
|
|
516
|
+
self,
|
|
517
|
+
cell,
|
|
518
|
+
key,
|
|
519
|
+
_request_auth,
|
|
520
|
+
_content_type,
|
|
521
|
+
_headers,
|
|
522
|
+
_host_index,
|
|
523
|
+
) -> RequestSerialized:
|
|
524
|
+
|
|
525
|
+
_host = None
|
|
526
|
+
|
|
527
|
+
_collection_formats: Dict[str, str] = {
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
_path_params: Dict[str, str] = {}
|
|
531
|
+
_query_params: List[Tuple[str, str]] = []
|
|
532
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
533
|
+
_form_params: List[Tuple[str, str]] = []
|
|
534
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
535
|
+
_body_params: Optional[bytes] = None
|
|
536
|
+
|
|
537
|
+
# process the path parameters
|
|
538
|
+
if cell is not None:
|
|
539
|
+
_path_params['cell'] = cell
|
|
540
|
+
if key is not None:
|
|
541
|
+
_path_params['key'] = key
|
|
542
|
+
# process the query parameters
|
|
543
|
+
# process the header parameters
|
|
544
|
+
# process the form parameters
|
|
545
|
+
# process the body parameter
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
# set the HTTP header `Accept`
|
|
549
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
550
|
+
[
|
|
551
|
+
'application/json'
|
|
552
|
+
]
|
|
553
|
+
)
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
# authentication setting
|
|
557
|
+
_auth_settings: List[str] = [
|
|
558
|
+
'BasicAuth',
|
|
559
|
+
'BearerAuth'
|
|
560
|
+
]
|
|
561
|
+
|
|
562
|
+
return self.api_client.param_serialize(
|
|
563
|
+
method='DELETE',
|
|
564
|
+
resource_path='/cells/{cell}/store/objects/{key}',
|
|
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
|
+
|
|
578
|
+
|
|
579
|
+
@validate_call
|
|
580
|
+
async def get_object(
|
|
581
|
+
self,
|
|
582
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
583
|
+
key: StrictStr,
|
|
584
|
+
_request_timeout: Union[
|
|
585
|
+
None,
|
|
586
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
587
|
+
Tuple[
|
|
588
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
589
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
590
|
+
]
|
|
591
|
+
] = None,
|
|
592
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
593
|
+
_content_type: Optional[StrictStr] = None,
|
|
594
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
595
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
596
|
+
) -> bytearray:
|
|
597
|
+
"""Get Object
|
|
598
|
+
|
|
599
|
+
Returns content and metadata of a stored object.
|
|
600
|
+
|
|
601
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
602
|
+
:type cell: str
|
|
603
|
+
:param key: (required)
|
|
604
|
+
:type key: str
|
|
605
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
606
|
+
number provided, it will be total request
|
|
607
|
+
timeout. It can also be a pair (tuple) of
|
|
608
|
+
(connection, read) timeouts.
|
|
609
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
610
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
611
|
+
request; this effectively ignores the
|
|
612
|
+
authentication in the spec for a single request.
|
|
613
|
+
:type _request_auth: dict, optional
|
|
614
|
+
:param _content_type: force content-type for the request.
|
|
615
|
+
:type _content_type: str, Optional
|
|
616
|
+
:param _headers: set to override the headers for a single
|
|
617
|
+
request; this effectively ignores the headers
|
|
618
|
+
in the spec for a single request.
|
|
619
|
+
:type _headers: dict, optional
|
|
620
|
+
:param _host_index: set to override the host_index for a single
|
|
621
|
+
request; this effectively ignores the host_index
|
|
622
|
+
in the spec for a single request.
|
|
623
|
+
:type _host_index: int, optional
|
|
624
|
+
:return: Returns the result object.
|
|
625
|
+
""" # noqa: E501
|
|
626
|
+
|
|
627
|
+
_param = self._get_object_serialize(
|
|
628
|
+
cell=cell,
|
|
629
|
+
key=key,
|
|
630
|
+
_request_auth=_request_auth,
|
|
631
|
+
_content_type=_content_type,
|
|
632
|
+
_headers=_headers,
|
|
633
|
+
_host_index=_host_index
|
|
634
|
+
)
|
|
635
|
+
|
|
636
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
637
|
+
'200': "bytearray",
|
|
638
|
+
'404': "Error",
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
response_data = await self.api_client.call_api(
|
|
642
|
+
*_param,
|
|
643
|
+
_request_timeout=_request_timeout
|
|
644
|
+
)
|
|
645
|
+
await response_data.read()
|
|
646
|
+
return self.api_client.response_deserialize(
|
|
647
|
+
response_data=response_data,
|
|
648
|
+
response_types_map=_response_types_map,
|
|
649
|
+
).data
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
@validate_call
|
|
653
|
+
async def get_object_with_http_info(
|
|
654
|
+
self,
|
|
655
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
656
|
+
key: StrictStr,
|
|
657
|
+
_request_timeout: Union[
|
|
658
|
+
None,
|
|
659
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
660
|
+
Tuple[
|
|
661
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
662
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
663
|
+
]
|
|
664
|
+
] = None,
|
|
665
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
666
|
+
_content_type: Optional[StrictStr] = None,
|
|
667
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
668
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
669
|
+
) -> ApiResponse[bytearray]:
|
|
670
|
+
"""Get Object
|
|
671
|
+
|
|
672
|
+
Returns content and metadata of a stored object.
|
|
673
|
+
|
|
674
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
675
|
+
:type cell: str
|
|
676
|
+
:param key: (required)
|
|
677
|
+
:type key: str
|
|
678
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
679
|
+
number provided, it will be total request
|
|
680
|
+
timeout. It can also be a pair (tuple) of
|
|
681
|
+
(connection, read) timeouts.
|
|
682
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
683
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
684
|
+
request; this effectively ignores the
|
|
685
|
+
authentication in the spec for a single request.
|
|
686
|
+
:type _request_auth: dict, optional
|
|
687
|
+
:param _content_type: force content-type for the request.
|
|
688
|
+
:type _content_type: str, Optional
|
|
689
|
+
:param _headers: set to override the headers for a single
|
|
690
|
+
request; this effectively ignores the headers
|
|
691
|
+
in the spec for a single request.
|
|
692
|
+
:type _headers: dict, optional
|
|
693
|
+
:param _host_index: set to override the host_index for a single
|
|
694
|
+
request; this effectively ignores the host_index
|
|
695
|
+
in the spec for a single request.
|
|
696
|
+
:type _host_index: int, optional
|
|
697
|
+
:return: Returns the result object.
|
|
698
|
+
""" # noqa: E501
|
|
699
|
+
|
|
700
|
+
_param = self._get_object_serialize(
|
|
701
|
+
cell=cell,
|
|
702
|
+
key=key,
|
|
703
|
+
_request_auth=_request_auth,
|
|
704
|
+
_content_type=_content_type,
|
|
705
|
+
_headers=_headers,
|
|
706
|
+
_host_index=_host_index
|
|
707
|
+
)
|
|
708
|
+
|
|
709
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
710
|
+
'200': "bytearray",
|
|
711
|
+
'404': "Error",
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
response_data = await self.api_client.call_api(
|
|
715
|
+
*_param,
|
|
716
|
+
_request_timeout=_request_timeout
|
|
717
|
+
)
|
|
718
|
+
await response_data.read()
|
|
719
|
+
return self.api_client.response_deserialize(
|
|
720
|
+
response_data=response_data,
|
|
721
|
+
response_types_map=_response_types_map,
|
|
722
|
+
)
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
@validate_call
|
|
726
|
+
async def get_object_without_preload_content(
|
|
727
|
+
self,
|
|
728
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
729
|
+
key: StrictStr,
|
|
730
|
+
_request_timeout: Union[
|
|
731
|
+
None,
|
|
732
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
733
|
+
Tuple[
|
|
734
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
735
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
736
|
+
]
|
|
737
|
+
] = None,
|
|
738
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
739
|
+
_content_type: Optional[StrictStr] = None,
|
|
740
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
741
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
742
|
+
) -> RESTResponseType:
|
|
743
|
+
"""Get Object
|
|
744
|
+
|
|
745
|
+
Returns content and metadata of a stored object.
|
|
746
|
+
|
|
747
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
748
|
+
:type cell: str
|
|
749
|
+
:param key: (required)
|
|
750
|
+
:type key: str
|
|
751
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
752
|
+
number provided, it will be total request
|
|
753
|
+
timeout. It can also be a pair (tuple) of
|
|
754
|
+
(connection, read) timeouts.
|
|
755
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
756
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
757
|
+
request; this effectively ignores the
|
|
758
|
+
authentication in the spec for a single request.
|
|
759
|
+
:type _request_auth: dict, optional
|
|
760
|
+
:param _content_type: force content-type for the request.
|
|
761
|
+
:type _content_type: str, Optional
|
|
762
|
+
:param _headers: set to override the headers for a single
|
|
763
|
+
request; this effectively ignores the headers
|
|
764
|
+
in the spec for a single request.
|
|
765
|
+
:type _headers: dict, optional
|
|
766
|
+
:param _host_index: set to override the host_index for a single
|
|
767
|
+
request; this effectively ignores the host_index
|
|
768
|
+
in the spec for a single request.
|
|
769
|
+
:type _host_index: int, optional
|
|
770
|
+
:return: Returns the result object.
|
|
771
|
+
""" # noqa: E501
|
|
772
|
+
|
|
773
|
+
_param = self._get_object_serialize(
|
|
774
|
+
cell=cell,
|
|
775
|
+
key=key,
|
|
776
|
+
_request_auth=_request_auth,
|
|
777
|
+
_content_type=_content_type,
|
|
778
|
+
_headers=_headers,
|
|
779
|
+
_host_index=_host_index
|
|
780
|
+
)
|
|
781
|
+
|
|
782
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
783
|
+
'200': "bytearray",
|
|
784
|
+
'404': "Error",
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
response_data = await self.api_client.call_api(
|
|
788
|
+
*_param,
|
|
789
|
+
_request_timeout=_request_timeout
|
|
790
|
+
)
|
|
791
|
+
return response_data.response
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
def _get_object_serialize(
|
|
795
|
+
self,
|
|
796
|
+
cell,
|
|
797
|
+
key,
|
|
798
|
+
_request_auth,
|
|
799
|
+
_content_type,
|
|
800
|
+
_headers,
|
|
801
|
+
_host_index,
|
|
802
|
+
) -> RequestSerialized:
|
|
803
|
+
|
|
804
|
+
_host = None
|
|
805
|
+
|
|
806
|
+
_collection_formats: Dict[str, str] = {
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
_path_params: Dict[str, str] = {}
|
|
810
|
+
_query_params: List[Tuple[str, str]] = []
|
|
811
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
812
|
+
_form_params: List[Tuple[str, str]] = []
|
|
813
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
814
|
+
_body_params: Optional[bytes] = None
|
|
815
|
+
|
|
816
|
+
# process the path parameters
|
|
817
|
+
if cell is not None:
|
|
818
|
+
_path_params['cell'] = cell
|
|
819
|
+
if key is not None:
|
|
820
|
+
_path_params['key'] = key
|
|
821
|
+
# process the query parameters
|
|
822
|
+
# process the header parameters
|
|
823
|
+
# process the form parameters
|
|
824
|
+
# process the body parameter
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
# set the HTTP header `Accept`
|
|
828
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
829
|
+
[
|
|
830
|
+
'*/*',
|
|
831
|
+
'application/json'
|
|
832
|
+
]
|
|
833
|
+
)
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
# authentication setting
|
|
837
|
+
_auth_settings: List[str] = [
|
|
838
|
+
'BasicAuth',
|
|
839
|
+
'BearerAuth'
|
|
840
|
+
]
|
|
841
|
+
|
|
842
|
+
return self.api_client.param_serialize(
|
|
843
|
+
method='GET',
|
|
844
|
+
resource_path='/cells/{cell}/store/objects/{key}',
|
|
845
|
+
path_params=_path_params,
|
|
846
|
+
query_params=_query_params,
|
|
847
|
+
header_params=_header_params,
|
|
848
|
+
body=_body_params,
|
|
849
|
+
post_params=_form_params,
|
|
850
|
+
files=_files,
|
|
851
|
+
auth_settings=_auth_settings,
|
|
852
|
+
collection_formats=_collection_formats,
|
|
853
|
+
_host=_host,
|
|
854
|
+
_request_auth=_request_auth
|
|
855
|
+
)
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
@validate_call
|
|
860
|
+
async def get_object_metadata(
|
|
861
|
+
self,
|
|
862
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
863
|
+
key: StrictStr,
|
|
864
|
+
_request_timeout: Union[
|
|
865
|
+
None,
|
|
866
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
867
|
+
Tuple[
|
|
868
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
869
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
870
|
+
]
|
|
871
|
+
] = None,
|
|
872
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
873
|
+
_content_type: Optional[StrictStr] = None,
|
|
874
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
875
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
876
|
+
) -> None:
|
|
877
|
+
"""Get Object Metadata
|
|
878
|
+
|
|
879
|
+
Returns metadata. Object content is not returned.
|
|
880
|
+
|
|
881
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
882
|
+
:type cell: str
|
|
883
|
+
:param key: (required)
|
|
884
|
+
:type key: str
|
|
885
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
886
|
+
number provided, it will be total request
|
|
887
|
+
timeout. It can also be a pair (tuple) of
|
|
888
|
+
(connection, read) timeouts.
|
|
889
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
890
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
891
|
+
request; this effectively ignores the
|
|
892
|
+
authentication in the spec for a single request.
|
|
893
|
+
:type _request_auth: dict, optional
|
|
894
|
+
:param _content_type: force content-type for the request.
|
|
895
|
+
:type _content_type: str, Optional
|
|
896
|
+
:param _headers: set to override the headers for a single
|
|
897
|
+
request; this effectively ignores the headers
|
|
898
|
+
in the spec for a single request.
|
|
899
|
+
:type _headers: dict, optional
|
|
900
|
+
:param _host_index: set to override the host_index for a single
|
|
901
|
+
request; this effectively ignores the host_index
|
|
902
|
+
in the spec for a single request.
|
|
903
|
+
:type _host_index: int, optional
|
|
904
|
+
:return: Returns the result object.
|
|
905
|
+
""" # noqa: E501
|
|
906
|
+
|
|
907
|
+
_param = self._get_object_metadata_serialize(
|
|
908
|
+
cell=cell,
|
|
909
|
+
key=key,
|
|
910
|
+
_request_auth=_request_auth,
|
|
911
|
+
_content_type=_content_type,
|
|
912
|
+
_headers=_headers,
|
|
913
|
+
_host_index=_host_index
|
|
914
|
+
)
|
|
915
|
+
|
|
916
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
917
|
+
'200': None,
|
|
918
|
+
'404': "Error",
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
response_data = await self.api_client.call_api(
|
|
922
|
+
*_param,
|
|
923
|
+
_request_timeout=_request_timeout
|
|
924
|
+
)
|
|
925
|
+
await response_data.read()
|
|
926
|
+
return self.api_client.response_deserialize(
|
|
927
|
+
response_data=response_data,
|
|
928
|
+
response_types_map=_response_types_map,
|
|
929
|
+
).data
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
@validate_call
|
|
933
|
+
async def get_object_metadata_with_http_info(
|
|
934
|
+
self,
|
|
935
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
936
|
+
key: StrictStr,
|
|
937
|
+
_request_timeout: Union[
|
|
938
|
+
None,
|
|
939
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
940
|
+
Tuple[
|
|
941
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
942
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
943
|
+
]
|
|
944
|
+
] = None,
|
|
945
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
946
|
+
_content_type: Optional[StrictStr] = None,
|
|
947
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
948
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
949
|
+
) -> ApiResponse[None]:
|
|
950
|
+
"""Get Object Metadata
|
|
951
|
+
|
|
952
|
+
Returns metadata. Object content is not returned.
|
|
953
|
+
|
|
954
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
955
|
+
:type cell: str
|
|
956
|
+
:param key: (required)
|
|
957
|
+
:type key: str
|
|
958
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
959
|
+
number provided, it will be total request
|
|
960
|
+
timeout. It can also be a pair (tuple) of
|
|
961
|
+
(connection, read) timeouts.
|
|
962
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
963
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
964
|
+
request; this effectively ignores the
|
|
965
|
+
authentication in the spec for a single request.
|
|
966
|
+
:type _request_auth: dict, optional
|
|
967
|
+
:param _content_type: force content-type for the request.
|
|
968
|
+
:type _content_type: str, Optional
|
|
969
|
+
:param _headers: set to override the headers for a single
|
|
970
|
+
request; this effectively ignores the headers
|
|
971
|
+
in the spec for a single request.
|
|
972
|
+
:type _headers: dict, optional
|
|
973
|
+
:param _host_index: set to override the host_index for a single
|
|
974
|
+
request; this effectively ignores the host_index
|
|
975
|
+
in the spec for a single request.
|
|
976
|
+
:type _host_index: int, optional
|
|
977
|
+
:return: Returns the result object.
|
|
978
|
+
""" # noqa: E501
|
|
979
|
+
|
|
980
|
+
_param = self._get_object_metadata_serialize(
|
|
981
|
+
cell=cell,
|
|
982
|
+
key=key,
|
|
983
|
+
_request_auth=_request_auth,
|
|
984
|
+
_content_type=_content_type,
|
|
985
|
+
_headers=_headers,
|
|
986
|
+
_host_index=_host_index
|
|
987
|
+
)
|
|
988
|
+
|
|
989
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
990
|
+
'200': None,
|
|
991
|
+
'404': "Error",
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
response_data = await self.api_client.call_api(
|
|
995
|
+
*_param,
|
|
996
|
+
_request_timeout=_request_timeout
|
|
997
|
+
)
|
|
998
|
+
await response_data.read()
|
|
999
|
+
return self.api_client.response_deserialize(
|
|
1000
|
+
response_data=response_data,
|
|
1001
|
+
response_types_map=_response_types_map,
|
|
1002
|
+
)
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
@validate_call
|
|
1006
|
+
async def get_object_metadata_without_preload_content(
|
|
1007
|
+
self,
|
|
1008
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1009
|
+
key: StrictStr,
|
|
1010
|
+
_request_timeout: Union[
|
|
1011
|
+
None,
|
|
1012
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1013
|
+
Tuple[
|
|
1014
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1015
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1016
|
+
]
|
|
1017
|
+
] = None,
|
|
1018
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1019
|
+
_content_type: Optional[StrictStr] = None,
|
|
1020
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1021
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1022
|
+
) -> RESTResponseType:
|
|
1023
|
+
"""Get Object Metadata
|
|
1024
|
+
|
|
1025
|
+
Returns metadata. Object content is not returned.
|
|
1026
|
+
|
|
1027
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1028
|
+
:type cell: str
|
|
1029
|
+
:param key: (required)
|
|
1030
|
+
:type key: str
|
|
1031
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1032
|
+
number provided, it will be total request
|
|
1033
|
+
timeout. It can also be a pair (tuple) of
|
|
1034
|
+
(connection, read) timeouts.
|
|
1035
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1036
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1037
|
+
request; this effectively ignores the
|
|
1038
|
+
authentication in the spec for a single request.
|
|
1039
|
+
:type _request_auth: dict, optional
|
|
1040
|
+
:param _content_type: force content-type for the request.
|
|
1041
|
+
:type _content_type: str, Optional
|
|
1042
|
+
:param _headers: set to override the headers for a single
|
|
1043
|
+
request; this effectively ignores the headers
|
|
1044
|
+
in the spec for a single request.
|
|
1045
|
+
:type _headers: dict, optional
|
|
1046
|
+
:param _host_index: set to override the host_index for a single
|
|
1047
|
+
request; this effectively ignores the host_index
|
|
1048
|
+
in the spec for a single request.
|
|
1049
|
+
:type _host_index: int, optional
|
|
1050
|
+
:return: Returns the result object.
|
|
1051
|
+
""" # noqa: E501
|
|
1052
|
+
|
|
1053
|
+
_param = self._get_object_metadata_serialize(
|
|
1054
|
+
cell=cell,
|
|
1055
|
+
key=key,
|
|
1056
|
+
_request_auth=_request_auth,
|
|
1057
|
+
_content_type=_content_type,
|
|
1058
|
+
_headers=_headers,
|
|
1059
|
+
_host_index=_host_index
|
|
1060
|
+
)
|
|
1061
|
+
|
|
1062
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1063
|
+
'200': None,
|
|
1064
|
+
'404': "Error",
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
response_data = await self.api_client.call_api(
|
|
1068
|
+
*_param,
|
|
1069
|
+
_request_timeout=_request_timeout
|
|
1070
|
+
)
|
|
1071
|
+
return response_data.response
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
def _get_object_metadata_serialize(
|
|
1075
|
+
self,
|
|
1076
|
+
cell,
|
|
1077
|
+
key,
|
|
1078
|
+
_request_auth,
|
|
1079
|
+
_content_type,
|
|
1080
|
+
_headers,
|
|
1081
|
+
_host_index,
|
|
1082
|
+
) -> RequestSerialized:
|
|
1083
|
+
|
|
1084
|
+
_host = None
|
|
1085
|
+
|
|
1086
|
+
_collection_formats: Dict[str, str] = {
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
_path_params: Dict[str, str] = {}
|
|
1090
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1091
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1092
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1093
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1094
|
+
_body_params: Optional[bytes] = None
|
|
1095
|
+
|
|
1096
|
+
# process the path parameters
|
|
1097
|
+
if cell is not None:
|
|
1098
|
+
_path_params['cell'] = cell
|
|
1099
|
+
if key is not None:
|
|
1100
|
+
_path_params['key'] = key
|
|
1101
|
+
# process the query parameters
|
|
1102
|
+
# process the header parameters
|
|
1103
|
+
# process the form parameters
|
|
1104
|
+
# process the body parameter
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
# set the HTTP header `Accept`
|
|
1108
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1109
|
+
[
|
|
1110
|
+
'application/json'
|
|
1111
|
+
]
|
|
1112
|
+
)
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
# authentication setting
|
|
1116
|
+
_auth_settings: List[str] = [
|
|
1117
|
+
'BasicAuth',
|
|
1118
|
+
'BearerAuth'
|
|
1119
|
+
]
|
|
1120
|
+
|
|
1121
|
+
return self.api_client.param_serialize(
|
|
1122
|
+
method='HEAD',
|
|
1123
|
+
resource_path='/cells/{cell}/store/objects/{key}',
|
|
1124
|
+
path_params=_path_params,
|
|
1125
|
+
query_params=_query_params,
|
|
1126
|
+
header_params=_header_params,
|
|
1127
|
+
body=_body_params,
|
|
1128
|
+
post_params=_form_params,
|
|
1129
|
+
files=_files,
|
|
1130
|
+
auth_settings=_auth_settings,
|
|
1131
|
+
collection_formats=_collection_formats,
|
|
1132
|
+
_host=_host,
|
|
1133
|
+
_request_auth=_request_auth
|
|
1134
|
+
)
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
@validate_call
|
|
1139
|
+
async def list_all_object_keys(
|
|
1140
|
+
self,
|
|
1141
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1142
|
+
_request_timeout: Union[
|
|
1143
|
+
None,
|
|
1144
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1145
|
+
Tuple[
|
|
1146
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1147
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1148
|
+
]
|
|
1149
|
+
] = None,
|
|
1150
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1151
|
+
_content_type: Optional[StrictStr] = None,
|
|
1152
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1153
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1154
|
+
) -> List[str]:
|
|
1155
|
+
"""List all Object Keys
|
|
1156
|
+
|
|
1157
|
+
List the keys for all objects.
|
|
1158
|
+
|
|
1159
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1160
|
+
:type cell: str
|
|
1161
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1162
|
+
number provided, it will be total request
|
|
1163
|
+
timeout. It can also be a pair (tuple) of
|
|
1164
|
+
(connection, read) timeouts.
|
|
1165
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1166
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1167
|
+
request; this effectively ignores the
|
|
1168
|
+
authentication in the spec for a single request.
|
|
1169
|
+
:type _request_auth: dict, optional
|
|
1170
|
+
:param _content_type: force content-type for the request.
|
|
1171
|
+
:type _content_type: str, Optional
|
|
1172
|
+
:param _headers: set to override the headers for a single
|
|
1173
|
+
request; this effectively ignores the headers
|
|
1174
|
+
in the spec for a single request.
|
|
1175
|
+
:type _headers: dict, optional
|
|
1176
|
+
:param _host_index: set to override the host_index for a single
|
|
1177
|
+
request; this effectively ignores the host_index
|
|
1178
|
+
in the spec for a single request.
|
|
1179
|
+
:type _host_index: int, optional
|
|
1180
|
+
:return: Returns the result object.
|
|
1181
|
+
""" # noqa: E501
|
|
1182
|
+
|
|
1183
|
+
_param = self._list_all_object_keys_serialize(
|
|
1184
|
+
cell=cell,
|
|
1185
|
+
_request_auth=_request_auth,
|
|
1186
|
+
_content_type=_content_type,
|
|
1187
|
+
_headers=_headers,
|
|
1188
|
+
_host_index=_host_index
|
|
1189
|
+
)
|
|
1190
|
+
|
|
1191
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1192
|
+
'200': "List[str]",
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
response_data = await self.api_client.call_api(
|
|
1196
|
+
*_param,
|
|
1197
|
+
_request_timeout=_request_timeout
|
|
1198
|
+
)
|
|
1199
|
+
await response_data.read()
|
|
1200
|
+
return self.api_client.response_deserialize(
|
|
1201
|
+
response_data=response_data,
|
|
1202
|
+
response_types_map=_response_types_map,
|
|
1203
|
+
).data
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
@validate_call
|
|
1207
|
+
async def list_all_object_keys_with_http_info(
|
|
1208
|
+
self,
|
|
1209
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1210
|
+
_request_timeout: Union[
|
|
1211
|
+
None,
|
|
1212
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1213
|
+
Tuple[
|
|
1214
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1215
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1216
|
+
]
|
|
1217
|
+
] = None,
|
|
1218
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1219
|
+
_content_type: Optional[StrictStr] = None,
|
|
1220
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1221
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1222
|
+
) -> ApiResponse[List[str]]:
|
|
1223
|
+
"""List all Object Keys
|
|
1224
|
+
|
|
1225
|
+
List the keys for all objects.
|
|
1226
|
+
|
|
1227
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1228
|
+
:type cell: str
|
|
1229
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1230
|
+
number provided, it will be total request
|
|
1231
|
+
timeout. It can also be a pair (tuple) of
|
|
1232
|
+
(connection, read) timeouts.
|
|
1233
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1234
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1235
|
+
request; this effectively ignores the
|
|
1236
|
+
authentication in the spec for a single request.
|
|
1237
|
+
:type _request_auth: dict, optional
|
|
1238
|
+
:param _content_type: force content-type for the request.
|
|
1239
|
+
:type _content_type: str, Optional
|
|
1240
|
+
:param _headers: set to override the headers for a single
|
|
1241
|
+
request; this effectively ignores the headers
|
|
1242
|
+
in the spec for a single request.
|
|
1243
|
+
:type _headers: dict, optional
|
|
1244
|
+
:param _host_index: set to override the host_index for a single
|
|
1245
|
+
request; this effectively ignores the host_index
|
|
1246
|
+
in the spec for a single request.
|
|
1247
|
+
:type _host_index: int, optional
|
|
1248
|
+
:return: Returns the result object.
|
|
1249
|
+
""" # noqa: E501
|
|
1250
|
+
|
|
1251
|
+
_param = self._list_all_object_keys_serialize(
|
|
1252
|
+
cell=cell,
|
|
1253
|
+
_request_auth=_request_auth,
|
|
1254
|
+
_content_type=_content_type,
|
|
1255
|
+
_headers=_headers,
|
|
1256
|
+
_host_index=_host_index
|
|
1257
|
+
)
|
|
1258
|
+
|
|
1259
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1260
|
+
'200': "List[str]",
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
response_data = await self.api_client.call_api(
|
|
1264
|
+
*_param,
|
|
1265
|
+
_request_timeout=_request_timeout
|
|
1266
|
+
)
|
|
1267
|
+
await response_data.read()
|
|
1268
|
+
return self.api_client.response_deserialize(
|
|
1269
|
+
response_data=response_data,
|
|
1270
|
+
response_types_map=_response_types_map,
|
|
1271
|
+
)
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
@validate_call
|
|
1275
|
+
async def list_all_object_keys_without_preload_content(
|
|
1276
|
+
self,
|
|
1277
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1278
|
+
_request_timeout: Union[
|
|
1279
|
+
None,
|
|
1280
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1281
|
+
Tuple[
|
|
1282
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1283
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1284
|
+
]
|
|
1285
|
+
] = None,
|
|
1286
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1287
|
+
_content_type: Optional[StrictStr] = None,
|
|
1288
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1289
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1290
|
+
) -> RESTResponseType:
|
|
1291
|
+
"""List all Object Keys
|
|
1292
|
+
|
|
1293
|
+
List the keys for all objects.
|
|
1294
|
+
|
|
1295
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1296
|
+
:type cell: str
|
|
1297
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1298
|
+
number provided, it will be total request
|
|
1299
|
+
timeout. It can also be a pair (tuple) of
|
|
1300
|
+
(connection, read) timeouts.
|
|
1301
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1302
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1303
|
+
request; this effectively ignores the
|
|
1304
|
+
authentication in the spec for a single request.
|
|
1305
|
+
:type _request_auth: dict, optional
|
|
1306
|
+
:param _content_type: force content-type for the request.
|
|
1307
|
+
:type _content_type: str, Optional
|
|
1308
|
+
:param _headers: set to override the headers for a single
|
|
1309
|
+
request; this effectively ignores the headers
|
|
1310
|
+
in the spec for a single request.
|
|
1311
|
+
:type _headers: dict, optional
|
|
1312
|
+
:param _host_index: set to override the host_index for a single
|
|
1313
|
+
request; this effectively ignores the host_index
|
|
1314
|
+
in the spec for a single request.
|
|
1315
|
+
:type _host_index: int, optional
|
|
1316
|
+
:return: Returns the result object.
|
|
1317
|
+
""" # noqa: E501
|
|
1318
|
+
|
|
1319
|
+
_param = self._list_all_object_keys_serialize(
|
|
1320
|
+
cell=cell,
|
|
1321
|
+
_request_auth=_request_auth,
|
|
1322
|
+
_content_type=_content_type,
|
|
1323
|
+
_headers=_headers,
|
|
1324
|
+
_host_index=_host_index
|
|
1325
|
+
)
|
|
1326
|
+
|
|
1327
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1328
|
+
'200': "List[str]",
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
response_data = await self.api_client.call_api(
|
|
1332
|
+
*_param,
|
|
1333
|
+
_request_timeout=_request_timeout
|
|
1334
|
+
)
|
|
1335
|
+
return response_data.response
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
def _list_all_object_keys_serialize(
|
|
1339
|
+
self,
|
|
1340
|
+
cell,
|
|
1341
|
+
_request_auth,
|
|
1342
|
+
_content_type,
|
|
1343
|
+
_headers,
|
|
1344
|
+
_host_index,
|
|
1345
|
+
) -> RequestSerialized:
|
|
1346
|
+
|
|
1347
|
+
_host = None
|
|
1348
|
+
|
|
1349
|
+
_collection_formats: Dict[str, str] = {
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
_path_params: Dict[str, str] = {}
|
|
1353
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1354
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1355
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1356
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1357
|
+
_body_params: Optional[bytes] = None
|
|
1358
|
+
|
|
1359
|
+
# process the path parameters
|
|
1360
|
+
if cell is not None:
|
|
1361
|
+
_path_params['cell'] = cell
|
|
1362
|
+
# process the query parameters
|
|
1363
|
+
# process the header parameters
|
|
1364
|
+
# process the form parameters
|
|
1365
|
+
# process the body parameter
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
# set the HTTP header `Accept`
|
|
1369
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1370
|
+
[
|
|
1371
|
+
'application/json'
|
|
1372
|
+
]
|
|
1373
|
+
)
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
# authentication setting
|
|
1377
|
+
_auth_settings: List[str] = [
|
|
1378
|
+
'BasicAuth',
|
|
1379
|
+
'BearerAuth'
|
|
1380
|
+
]
|
|
1381
|
+
|
|
1382
|
+
return self.api_client.param_serialize(
|
|
1383
|
+
method='GET',
|
|
1384
|
+
resource_path='/cells/{cell}/store/objects',
|
|
1385
|
+
path_params=_path_params,
|
|
1386
|
+
query_params=_query_params,
|
|
1387
|
+
header_params=_header_params,
|
|
1388
|
+
body=_body_params,
|
|
1389
|
+
post_params=_form_params,
|
|
1390
|
+
files=_files,
|
|
1391
|
+
auth_settings=_auth_settings,
|
|
1392
|
+
collection_formats=_collection_formats,
|
|
1393
|
+
_host=_host,
|
|
1394
|
+
_request_auth=_request_auth
|
|
1395
|
+
)
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
@validate_call
|
|
1400
|
+
async def store_object(
|
|
1401
|
+
self,
|
|
1402
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1403
|
+
key: StrictStr,
|
|
1404
|
+
x_metadata: Optional[Dict[str, StrictStr]] = None,
|
|
1405
|
+
any_value: Optional[Any] = None,
|
|
1406
|
+
_request_timeout: Union[
|
|
1407
|
+
None,
|
|
1408
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1409
|
+
Tuple[
|
|
1410
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1411
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1412
|
+
]
|
|
1413
|
+
] = None,
|
|
1414
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1415
|
+
_content_type: Optional[StrictStr] = None,
|
|
1416
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1417
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1418
|
+
) -> None:
|
|
1419
|
+
"""Store Object
|
|
1420
|
+
|
|
1421
|
+
Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. #### Optional Specify metadata as a dictionary with names and values.
|
|
1422
|
+
|
|
1423
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1424
|
+
:type cell: str
|
|
1425
|
+
:param key: (required)
|
|
1426
|
+
:type key: str
|
|
1427
|
+
:param x_metadata:
|
|
1428
|
+
:type x_metadata: Dict[str, str]
|
|
1429
|
+
:param any_value:
|
|
1430
|
+
:type any_value: object
|
|
1431
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1432
|
+
number provided, it will be total request
|
|
1433
|
+
timeout. It can also be a pair (tuple) of
|
|
1434
|
+
(connection, read) timeouts.
|
|
1435
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1436
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1437
|
+
request; this effectively ignores the
|
|
1438
|
+
authentication in the spec for a single request.
|
|
1439
|
+
:type _request_auth: dict, optional
|
|
1440
|
+
:param _content_type: force content-type for the request.
|
|
1441
|
+
:type _content_type: str, Optional
|
|
1442
|
+
:param _headers: set to override the headers for a single
|
|
1443
|
+
request; this effectively ignores the headers
|
|
1444
|
+
in the spec for a single request.
|
|
1445
|
+
:type _headers: dict, optional
|
|
1446
|
+
:param _host_index: set to override the host_index for a single
|
|
1447
|
+
request; this effectively ignores the host_index
|
|
1448
|
+
in the spec for a single request.
|
|
1449
|
+
:type _host_index: int, optional
|
|
1450
|
+
:return: Returns the result object.
|
|
1451
|
+
""" # noqa: E501
|
|
1452
|
+
|
|
1453
|
+
_param = self._store_object_serialize(
|
|
1454
|
+
cell=cell,
|
|
1455
|
+
key=key,
|
|
1456
|
+
x_metadata=x_metadata,
|
|
1457
|
+
any_value=any_value,
|
|
1458
|
+
_request_auth=_request_auth,
|
|
1459
|
+
_content_type=_content_type,
|
|
1460
|
+
_headers=_headers,
|
|
1461
|
+
_host_index=_host_index
|
|
1462
|
+
)
|
|
1463
|
+
|
|
1464
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1465
|
+
'204': None,
|
|
1466
|
+
'400': "Error",
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
response_data = await self.api_client.call_api(
|
|
1470
|
+
*_param,
|
|
1471
|
+
_request_timeout=_request_timeout
|
|
1472
|
+
)
|
|
1473
|
+
await response_data.read()
|
|
1474
|
+
return self.api_client.response_deserialize(
|
|
1475
|
+
response_data=response_data,
|
|
1476
|
+
response_types_map=_response_types_map,
|
|
1477
|
+
).data
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
@validate_call
|
|
1481
|
+
async def store_object_with_http_info(
|
|
1482
|
+
self,
|
|
1483
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1484
|
+
key: StrictStr,
|
|
1485
|
+
x_metadata: Optional[Dict[str, StrictStr]] = None,
|
|
1486
|
+
any_value: Optional[Any] = None,
|
|
1487
|
+
_request_timeout: Union[
|
|
1488
|
+
None,
|
|
1489
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1490
|
+
Tuple[
|
|
1491
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1492
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1493
|
+
]
|
|
1494
|
+
] = None,
|
|
1495
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1496
|
+
_content_type: Optional[StrictStr] = None,
|
|
1497
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1498
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1499
|
+
) -> ApiResponse[None]:
|
|
1500
|
+
"""Store Object
|
|
1501
|
+
|
|
1502
|
+
Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. #### Optional Specify metadata as a dictionary with names and values.
|
|
1503
|
+
|
|
1504
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1505
|
+
:type cell: str
|
|
1506
|
+
:param key: (required)
|
|
1507
|
+
:type key: str
|
|
1508
|
+
:param x_metadata:
|
|
1509
|
+
:type x_metadata: Dict[str, str]
|
|
1510
|
+
:param any_value:
|
|
1511
|
+
:type any_value: object
|
|
1512
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1513
|
+
number provided, it will be total request
|
|
1514
|
+
timeout. It can also be a pair (tuple) of
|
|
1515
|
+
(connection, read) timeouts.
|
|
1516
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1517
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1518
|
+
request; this effectively ignores the
|
|
1519
|
+
authentication in the spec for a single request.
|
|
1520
|
+
:type _request_auth: dict, optional
|
|
1521
|
+
:param _content_type: force content-type for the request.
|
|
1522
|
+
:type _content_type: str, Optional
|
|
1523
|
+
:param _headers: set to override the headers for a single
|
|
1524
|
+
request; this effectively ignores the headers
|
|
1525
|
+
in the spec for a single request.
|
|
1526
|
+
:type _headers: dict, optional
|
|
1527
|
+
:param _host_index: set to override the host_index for a single
|
|
1528
|
+
request; this effectively ignores the host_index
|
|
1529
|
+
in the spec for a single request.
|
|
1530
|
+
:type _host_index: int, optional
|
|
1531
|
+
:return: Returns the result object.
|
|
1532
|
+
""" # noqa: E501
|
|
1533
|
+
|
|
1534
|
+
_param = self._store_object_serialize(
|
|
1535
|
+
cell=cell,
|
|
1536
|
+
key=key,
|
|
1537
|
+
x_metadata=x_metadata,
|
|
1538
|
+
any_value=any_value,
|
|
1539
|
+
_request_auth=_request_auth,
|
|
1540
|
+
_content_type=_content_type,
|
|
1541
|
+
_headers=_headers,
|
|
1542
|
+
_host_index=_host_index
|
|
1543
|
+
)
|
|
1544
|
+
|
|
1545
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1546
|
+
'204': None,
|
|
1547
|
+
'400': "Error",
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
response_data = await self.api_client.call_api(
|
|
1551
|
+
*_param,
|
|
1552
|
+
_request_timeout=_request_timeout
|
|
1553
|
+
)
|
|
1554
|
+
await response_data.read()
|
|
1555
|
+
return self.api_client.response_deserialize(
|
|
1556
|
+
response_data=response_data,
|
|
1557
|
+
response_types_map=_response_types_map,
|
|
1558
|
+
)
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
@validate_call
|
|
1562
|
+
async def store_object_without_preload_content(
|
|
1563
|
+
self,
|
|
1564
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1565
|
+
key: StrictStr,
|
|
1566
|
+
x_metadata: Optional[Dict[str, StrictStr]] = None,
|
|
1567
|
+
any_value: Optional[Any] = None,
|
|
1568
|
+
_request_timeout: Union[
|
|
1569
|
+
None,
|
|
1570
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1571
|
+
Tuple[
|
|
1572
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1573
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1574
|
+
]
|
|
1575
|
+
] = None,
|
|
1576
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1577
|
+
_content_type: Optional[StrictStr] = None,
|
|
1578
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1579
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1580
|
+
) -> RESTResponseType:
|
|
1581
|
+
"""Store Object
|
|
1582
|
+
|
|
1583
|
+
Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. #### Optional Specify metadata as a dictionary with names and values.
|
|
1584
|
+
|
|
1585
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1586
|
+
:type cell: str
|
|
1587
|
+
:param key: (required)
|
|
1588
|
+
:type key: str
|
|
1589
|
+
:param x_metadata:
|
|
1590
|
+
:type x_metadata: Dict[str, str]
|
|
1591
|
+
:param any_value:
|
|
1592
|
+
:type any_value: object
|
|
1593
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1594
|
+
number provided, it will be total request
|
|
1595
|
+
timeout. It can also be a pair (tuple) of
|
|
1596
|
+
(connection, read) timeouts.
|
|
1597
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1598
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1599
|
+
request; this effectively ignores the
|
|
1600
|
+
authentication in the spec for a single request.
|
|
1601
|
+
:type _request_auth: dict, optional
|
|
1602
|
+
:param _content_type: force content-type for the request.
|
|
1603
|
+
:type _content_type: str, Optional
|
|
1604
|
+
:param _headers: set to override the headers for a single
|
|
1605
|
+
request; this effectively ignores the headers
|
|
1606
|
+
in the spec for a single request.
|
|
1607
|
+
:type _headers: dict, optional
|
|
1608
|
+
:param _host_index: set to override the host_index for a single
|
|
1609
|
+
request; this effectively ignores the host_index
|
|
1610
|
+
in the spec for a single request.
|
|
1611
|
+
:type _host_index: int, optional
|
|
1612
|
+
:return: Returns the result object.
|
|
1613
|
+
""" # noqa: E501
|
|
1614
|
+
|
|
1615
|
+
_param = self._store_object_serialize(
|
|
1616
|
+
cell=cell,
|
|
1617
|
+
key=key,
|
|
1618
|
+
x_metadata=x_metadata,
|
|
1619
|
+
any_value=any_value,
|
|
1620
|
+
_request_auth=_request_auth,
|
|
1621
|
+
_content_type=_content_type,
|
|
1622
|
+
_headers=_headers,
|
|
1623
|
+
_host_index=_host_index
|
|
1624
|
+
)
|
|
1625
|
+
|
|
1626
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1627
|
+
'204': None,
|
|
1628
|
+
'400': "Error",
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
response_data = await self.api_client.call_api(
|
|
1632
|
+
*_param,
|
|
1633
|
+
_request_timeout=_request_timeout
|
|
1634
|
+
)
|
|
1635
|
+
return response_data.response
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
def _store_object_serialize(
|
|
1639
|
+
self,
|
|
1640
|
+
cell,
|
|
1641
|
+
key,
|
|
1642
|
+
x_metadata,
|
|
1643
|
+
any_value,
|
|
1644
|
+
_request_auth,
|
|
1645
|
+
_content_type,
|
|
1646
|
+
_headers,
|
|
1647
|
+
_host_index,
|
|
1648
|
+
) -> RequestSerialized:
|
|
1649
|
+
|
|
1650
|
+
_host = None
|
|
1651
|
+
|
|
1652
|
+
_collection_formats: Dict[str, str] = {
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
_path_params: Dict[str, str] = {}
|
|
1656
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1657
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1658
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1659
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1660
|
+
_body_params: Optional[bytes] = None
|
|
1661
|
+
|
|
1662
|
+
# process the path parameters
|
|
1663
|
+
if cell is not None:
|
|
1664
|
+
_path_params['cell'] = cell
|
|
1665
|
+
if key is not None:
|
|
1666
|
+
_path_params['key'] = key
|
|
1667
|
+
# process the query parameters
|
|
1668
|
+
# process the header parameters
|
|
1669
|
+
if x_metadata is not None:
|
|
1670
|
+
_header_params['X-Metadata'] = x_metadata
|
|
1671
|
+
# process the form parameters
|
|
1672
|
+
if any_value is not None:
|
|
1673
|
+
_form_params.append(('any_value', any_value))
|
|
1674
|
+
# process the body parameter
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
# set the HTTP header `Accept`
|
|
1678
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1679
|
+
[
|
|
1680
|
+
'application/json'
|
|
1681
|
+
]
|
|
1682
|
+
)
|
|
1683
|
+
|
|
1684
|
+
# set the HTTP header `Content-Type`
|
|
1685
|
+
if _content_type:
|
|
1686
|
+
_header_params['Content-Type'] = _content_type
|
|
1687
|
+
else:
|
|
1688
|
+
_default_content_type = (
|
|
1689
|
+
self.api_client.select_header_content_type(
|
|
1690
|
+
[
|
|
1691
|
+
'multipart/form-data'
|
|
1692
|
+
]
|
|
1693
|
+
)
|
|
1694
|
+
)
|
|
1695
|
+
if _default_content_type is not None:
|
|
1696
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1697
|
+
|
|
1698
|
+
# authentication setting
|
|
1699
|
+
_auth_settings: List[str] = [
|
|
1700
|
+
'BasicAuth',
|
|
1701
|
+
'BearerAuth'
|
|
1702
|
+
]
|
|
1703
|
+
|
|
1704
|
+
return self.api_client.param_serialize(
|
|
1705
|
+
method='PUT',
|
|
1706
|
+
resource_path='/cells/{cell}/store/objects/{key}',
|
|
1707
|
+
path_params=_path_params,
|
|
1708
|
+
query_params=_query_params,
|
|
1709
|
+
header_params=_header_params,
|
|
1710
|
+
body=_body_params,
|
|
1711
|
+
post_params=_form_params,
|
|
1712
|
+
files=_files,
|
|
1713
|
+
auth_settings=_auth_settings,
|
|
1714
|
+
collection_formats=_collection_formats,
|
|
1715
|
+
_host=_host,
|
|
1716
|
+
_request_auth=_request_auth
|
|
1717
|
+
)
|
|
1718
|
+
|
|
1719
|
+
|