testit-cli 2.10.2.post580__tar.gz → 2.11.0__tar.gz
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.
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/PKG-INFO +31 -2
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/README.md +28 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/setup.py +16 -4
- testit_cli-2.11.0/src/testit_cli/__init__.py +30 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/__init__.py +27 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/__init__.py +3 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/attachments_api.py +487 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/auto_tests_api.py +1711 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/configurations_api.py +200 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/custom_attributes_api.py +607 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/parameters_api.py +464 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/project_attributes_api.py +354 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/project_sections_api.py +204 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/project_work_items_api.py +212 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/projects_api.py +610 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/sections_api.py +311 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/test_results_api.py +477 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/test_runs_api.py +1121 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/work_items_api.py +477 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api/workflows_api.py +174 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/api_client.py +898 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/apis/__init__.py +30 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/configuration.py +488 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/exceptions.py +158 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/__init__.py +5 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_auto_tests_id_work_items_post_request.py +319 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_auto_tests_post_request.py +397 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_auto_tests_put_request.py +401 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_auto_tests_search_post_request.py +327 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_configurations_search_post_request.py +339 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_custom_attributes_global_id_put_request.py +337 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_custom_attributes_global_post_request.py +343 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_custom_attributes_search_post_request.py +351 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_parameters_post_request.py +335 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_parameters_search_post_request.py +327 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_projects_post_request.py +334 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_projects_project_id_attributes_put_request.py +355 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_projects_project_id_attributes_search_post_request.py +339 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_projects_project_id_work_items_search_post_request.py +321 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_projects_search_post_request.py +381 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_sections_post_request.py +347 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_test_results_id_put_request.py +397 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_test_results_search_post_request.py +383 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_test_runs_id_reruns_post_request.py +331 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_test_runs_post_request.py +347 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_test_runs_put_request.py +350 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/adapters_work_items_post_request.py +415 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/assign_attachment_api_model.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/assign_auto_test_case_id_api_model.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/assign_iteration_api_model.py +274 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/attachment_api_result.py +287 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/attachment_model.py +307 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/attachment_put_model.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/attachment_put_model_auto_test_step_results_model.py +304 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/attachment_update_request.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test.py +346 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_api_result.py +350 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_api_result_layer.py +325 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_case_api_model.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_create_api_model.py +348 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_create_api_model_layer.py +328 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_filter_api_model.py +311 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_id_model.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_model.py +410 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_model_last_test_result_configuration.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_model_last_test_result_status.py +341 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_result_reason_short.py +274 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_results_for_test_run_model.py +355 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_search_api_model.py +268 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_search_api_model_filter.py +373 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_search_api_model_includes.py +327 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_search_include_api_model.py +265 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_step.py +274 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_step_api_model.py +274 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_step_api_result.py +271 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_step_model.py +274 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_step_result.py +304 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_step_result_update_request.py +304 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_update_api_model.py +354 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/auto_test_work_item_identifier_api_result.py +269 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/available_test_result_outcome.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/configuration_filter_model.py +277 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/configuration_model.py +319 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/configuration_short_model.py +269 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/create_empty_test_run_api_model.py +294 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/create_link_api_model.py +285 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/create_parameter_api_model.py +281 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/create_project_api_model.py +278 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/create_step_api_model.py +273 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/create_work_item_api_model.py +372 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_api_result.py +334 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_model.py +338 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_option_api_result.py +279 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_option_model.py +283 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_option_post_api_model.py +271 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_option_update_api_model.py +283 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_put_model.py +314 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_search_api_model.py +292 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_search_api_result.py +348 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_type.py +294 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/custom_attribute_types_enum.py +294 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/date_time_range_selector_model.py +261 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/deletion_state.py +291 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/detailed_project_api_result.py +314 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/detailed_project_api_result_workflow.py +325 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/failure_category_model.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/global_custom_attribute_post_api_model.py +292 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/global_custom_attribute_update_api_model.py +284 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/guid_extraction_model.py +261 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/image_resize_type.py +290 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/int32_range_selector_model.py +261 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/int64_range_selector_model.py +261 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/iteration_api_result.py +272 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/iteration_model.py +272 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/label_api_model.py +266 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/label_api_result.py +269 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/label_short_model.py +272 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/layer_api_model.py +277 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/layer_api_result.py +274 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/layer_source.py +292 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_api_result.py +286 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_create_api_model.py +285 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_model.py +295 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_post_model.py +291 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_put_model.py +295 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_short_api_result.py +277 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_type.py +294 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/link_update_api_model.py +289 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/manual_rerun_api_result.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/manual_rerun_select_test_results_api_model.py +272 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/manual_rerun_select_test_results_api_model_extraction_model.py +321 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/manual_rerun_select_test_results_api_model_filter.py +383 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/manual_rerun_test_result_api_model.py +262 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/manual_rerun_test_result_api_model_test_result_ids.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/operation.py +269 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/parameter_api_result.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/parameter_iteration_model.py +267 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/parameter_short_api_result.py +281 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/parameter_short_model.py +299 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/parameters_filter_api_model.py +265 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/problem_details.py +279 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/project_api_result.py +297 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/project_attributes_filter_model.py +288 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/project_shortest_api_result.py +292 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/project_type_model.py +290 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/projects_filter_model.py +322 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/projects_filter_model_autotests_count.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/projects_filter_model_checklists_count.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/projects_filter_model_created_date.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/projects_filter_model_shared_steps_count.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/projects_filter_model_test_cases_count.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/section_model.py +306 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/section_post_model.py +298 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/section_shared_step.py +337 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/section_with_steps_model.py +325 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/shared_step_model.py +292 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/shared_step_result_api_model.py +269 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/step_comment_api_model.py +314 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/step_model.py +292 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/step_post_model.py +273 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/step_result_api_model.py +288 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/tag_model.py +267 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_result_link_api_result.py +291 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_result_outcome.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_result_response.py +378 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_result_short_response.py +356 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_result_short_response_status.py +329 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_result_step_comment_update_request.py +290 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_result_update_request.py +338 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_results_filter_api_model.py +324 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_results_filter_api_model_duration.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_run_api_result.py +324 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_run_api_result_status.py +329 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_run_state.py +292 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_status_api_result.py +280 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_status_api_type.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_status_model.py +296 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/test_status_type.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/update_empty_test_run_api_model.py +299 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/update_link_api_model.py +289 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/validation_problem_details.py +289 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_api_result.py +422 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_entity_type_api_model.py +291 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_filter_api_model.py +372 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_filter_api_model_duration.py +323 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_id_api_model.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_parameter_key_api_model.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_parameter_key_api_result.py +263 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_priority_api_model.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_priority_model.py +293 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_select_api_model.py +268 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_select_api_model_filter.py +431 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_short_api_result.py +368 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_source_type_model.py +290 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_state_api_model.py +291 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_states.py +291 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/work_item_type_model.py +291 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/workflow_api_result.py +274 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model/workflow_status_api_result.py +280 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/model_utils.py +2058 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/models/__init__.py +185 -0
- testit_cli-2.11.0/src/testit_cli/adapters_api/rest.py +356 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/apiclient.py +81 -66
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/autotests_filter.py +7 -8
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/click_commands.py +20 -5
- testit_cli-2.11.0/src/testit_cli/converter.py +226 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/dir_worker.py +0 -1
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/html_escape_utils.py +3 -3
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/importer.py +7 -7
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/models/config.py +2 -1
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/models/testrun.py +4 -3
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/service.py +8 -9
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/testrun_metadata.py +8 -11
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli.egg-info/PKG-INFO +31 -2
- testit_cli-2.11.0/src/testit_cli.egg-info/SOURCES.txt +236 -0
- testit_cli-2.11.0/src/testit_cli.egg-info/requires.txt +5 -0
- testit_cli-2.11.0/src/testit_cli.egg-info/top_level.txt +2 -0
- testit_cli-2.11.0/tests/test_autotest_layer.py +44 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/tests/test_testrun_metadata.py +6 -6
- testit_cli-2.10.2.post580/src/testit_cli/converter.py +0 -205
- testit_cli-2.10.2.post580/src/testit_cli/models/__init__.py +0 -0
- testit_cli-2.10.2.post580/src/testit_cli.egg-info/SOURCES.txt +0 -37
- testit_cli-2.10.2.post580/src/testit_cli.egg-info/requires.txt +0 -4
- testit_cli-2.10.2.post580/src/testit_cli.egg-info/top_level.txt +0 -1
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/LICENSE +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/setup.cfg +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/__main__.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/file_worker.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/filter_factory.py +1 -1
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/http_retry.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/logger.py +0 -0
- {testit_cli-2.10.2.post580/src/testit_cli → testit_cli-2.11.0/src/testit_cli/models}/__init__.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/models/mode.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/models/status_type.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/models/testcase.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/models/testrun_link.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/parser.py +1 -1
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/service_factory.py +3 -3
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli/validation.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli.egg-info/dependency_links.txt +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/src/testit_cli.egg-info/entry_points.txt +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/tests/test_click.py +0 -0
- {testit_cli-2.10.2.post580 → testit_cli-2.11.0}/tests/test_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.11.0
|
|
4
4
|
Summary: This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT
|
|
5
5
|
Home-page: https://pypi.org/project/testit-cli/
|
|
6
6
|
Author: Integration team
|
|
@@ -16,10 +16,11 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: testit-api-client==7.6.1.post580
|
|
20
19
|
Requires-Dist: validators
|
|
21
20
|
Requires-Dist: tqdm
|
|
22
21
|
Requires-Dist: click~=8.0.4
|
|
22
|
+
Requires-Dist: urllib3>=2.6.0
|
|
23
|
+
Requires-Dist: python-dateutil
|
|
23
24
|
Dynamic: author
|
|
24
25
|
Dynamic: author-email
|
|
25
26
|
Dynamic: classifier
|
|
@@ -144,3 +145,31 @@ Notes:
|
|
|
144
145
|
- Test run tags/links are independent from autotest/result tags and links.
|
|
145
146
|
- On an existing run, new tags/links are **merged** (existing values are kept; duplicates by tag name / link URL are skipped).
|
|
146
147
|
- Empty or omitted values mean “do not change tags/links”.
|
|
148
|
+
|
|
149
|
+
## Autotest layer (test pyramid)
|
|
150
|
+
|
|
151
|
+
When importing XML results, CLI can set the **autotest** pyramid layer for every upserted autotest (create/update).
|
|
152
|
+
This is a **run-level default** for file-based import; adapters still read layer from test code annotations.
|
|
153
|
+
|
|
154
|
+
| Intent | CLI | Env |
|
|
155
|
+
|--------|-----|-----|
|
|
156
|
+
| Default autotest layer | `--autotest-layer` / `-al` | `TMS_AUTOTEST_LAYER` |
|
|
157
|
+
|
|
158
|
+
Supported commands: `results import`, `results upload`.
|
|
159
|
+
|
|
160
|
+
Recommended values: `E2E`, `UI`, `API`, `Contract`, `Integration`, `Component`, `Unit`. Any other non-empty string is accepted.
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
export TMS_AUTOTEST_LAYER=API
|
|
164
|
+
testit results import \
|
|
165
|
+
--url "$TMS_URL" \
|
|
166
|
+
--token "$TMS_TOKEN" \
|
|
167
|
+
--project-id "$TMS_PROJECT_ID" \
|
|
168
|
+
--configuration-id "$TMS_CONFIGURATION_ID" \
|
|
169
|
+
--results ./results
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
Behaviour (aligned with adapters API):
|
|
173
|
+
|
|
174
|
+
- Layer set → send `layer: { name, source: Run }` on create/update.
|
|
175
|
+
- Layer not set → do not send `layer`; on update always send `resetLayer: false`.
|
|
@@ -111,3 +111,31 @@ Notes:
|
|
|
111
111
|
- Test run tags/links are independent from autotest/result tags and links.
|
|
112
112
|
- On an existing run, new tags/links are **merged** (existing values are kept; duplicates by tag name / link URL are skipped).
|
|
113
113
|
- Empty or omitted values mean “do not change tags/links”.
|
|
114
|
+
|
|
115
|
+
## Autotest layer (test pyramid)
|
|
116
|
+
|
|
117
|
+
When importing XML results, CLI can set the **autotest** pyramid layer for every upserted autotest (create/update).
|
|
118
|
+
This is a **run-level default** for file-based import; adapters still read layer from test code annotations.
|
|
119
|
+
|
|
120
|
+
| Intent | CLI | Env |
|
|
121
|
+
|--------|-----|-----|
|
|
122
|
+
| Default autotest layer | `--autotest-layer` / `-al` | `TMS_AUTOTEST_LAYER` |
|
|
123
|
+
|
|
124
|
+
Supported commands: `results import`, `results upload`.
|
|
125
|
+
|
|
126
|
+
Recommended values: `E2E`, `UI`, `API`, `Contract`, `Integration`, `Component`, `Unit`. Any other non-empty string is accepted.
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
export TMS_AUTOTEST_LAYER=API
|
|
130
|
+
testit results import \
|
|
131
|
+
--url "$TMS_URL" \
|
|
132
|
+
--token "$TMS_TOKEN" \
|
|
133
|
+
--project-id "$TMS_PROJECT_ID" \
|
|
134
|
+
--configuration-id "$TMS_CONFIGURATION_ID" \
|
|
135
|
+
--results ./results
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Behaviour (aligned with adapters API):
|
|
139
|
+
|
|
140
|
+
- Layer set → send `layer: { name, source: Run }` on create/update.
|
|
141
|
+
- Layer not set → do not send `layer`; on update always send `resetLayer: false`.
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "2.
|
|
3
|
+
VERSION = "2.11.0"
|
|
4
|
+
|
|
5
|
+
ADAPTERS_ROOT = "src/testit_cli/adapters_api"
|
|
6
|
+
ADAPTERS_PACKAGES = ["adapters_api"] + [
|
|
7
|
+
f"adapters_api.{pkg}" for pkg in find_packages(where=ADAPTERS_ROOT)
|
|
8
|
+
]
|
|
9
|
+
CLI_PACKAGES = [
|
|
10
|
+
pkg for pkg in find_packages(where="src")
|
|
11
|
+
if not pkg.startswith("testit_cli.adapters_api")
|
|
12
|
+
]
|
|
4
13
|
|
|
5
14
|
setup(
|
|
6
15
|
name='testit-cli',
|
|
@@ -24,9 +33,12 @@ setup(
|
|
|
24
33
|
'Programming Language :: Python :: 3.12',
|
|
25
34
|
],
|
|
26
35
|
py_modules=['testit_cli'],
|
|
27
|
-
packages=
|
|
28
|
-
package_dir={
|
|
29
|
-
|
|
36
|
+
packages=CLI_PACKAGES + ADAPTERS_PACKAGES,
|
|
37
|
+
package_dir={
|
|
38
|
+
'': 'src',
|
|
39
|
+
'adapters_api': ADAPTERS_ROOT,
|
|
40
|
+
},
|
|
41
|
+
install_requires=['validators', 'tqdm', 'click~=8.0.4', 'urllib3>=2.6.0', 'python-dateutil'],
|
|
30
42
|
entry_points={
|
|
31
43
|
'console_scripts': [
|
|
32
44
|
'testit = testit_cli.__main__:console_main'
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Register vendored OpenAPI client as package name ``adapters_api``."""
|
|
2
|
+
import importlib.util
|
|
3
|
+
import sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def _ensure_adapters_api() -> None:
|
|
8
|
+
if "adapters_api" in sys.modules:
|
|
9
|
+
return
|
|
10
|
+
try:
|
|
11
|
+
import adapters_api # noqa: F401
|
|
12
|
+
return
|
|
13
|
+
except ImportError:
|
|
14
|
+
pass
|
|
15
|
+
|
|
16
|
+
adapters_dir = Path(__file__).resolve().parent / "adapters_api"
|
|
17
|
+
init_file = adapters_dir / "__init__.py"
|
|
18
|
+
spec = importlib.util.spec_from_file_location(
|
|
19
|
+
"adapters_api",
|
|
20
|
+
init_file,
|
|
21
|
+
submodule_search_locations=[str(adapters_dir)],
|
|
22
|
+
)
|
|
23
|
+
if spec is None or spec.loader is None:
|
|
24
|
+
raise ImportError(f"Cannot load adapters_api from {adapters_dir}")
|
|
25
|
+
module = importlib.util.module_from_spec(spec)
|
|
26
|
+
sys.modules["adapters_api"] = module
|
|
27
|
+
spec.loader.exec_module(module)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
_ensure_adapters_api()
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: adapters
|
|
9
|
+
Generated by: https://openapi-generator.tech
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
__version__ = "1.0.0"
|
|
14
|
+
|
|
15
|
+
# import ApiClient
|
|
16
|
+
from adapters_api.api_client import ApiClient
|
|
17
|
+
|
|
18
|
+
# import Configuration
|
|
19
|
+
from adapters_api.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
# import exceptions
|
|
22
|
+
from adapters_api.exceptions import OpenApiException
|
|
23
|
+
from adapters_api.exceptions import ApiAttributeError
|
|
24
|
+
from adapters_api.exceptions import ApiTypeError
|
|
25
|
+
from adapters_api.exceptions import ApiValueError
|
|
26
|
+
from adapters_api.exceptions import ApiKeyError
|
|
27
|
+
from adapters_api.exceptions import ApiException
|
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
"""
|
|
2
|
+
API
|
|
3
|
+
|
|
4
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: adapters
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from adapters_api.api_client import ApiClient, Endpoint as _Endpoint
|
|
15
|
+
from adapters_api.model_utils import ( # noqa: F401
|
|
16
|
+
check_allowed_values,
|
|
17
|
+
check_validations,
|
|
18
|
+
date,
|
|
19
|
+
datetime,
|
|
20
|
+
file_type,
|
|
21
|
+
none_type,
|
|
22
|
+
validate_and_convert_types
|
|
23
|
+
)
|
|
24
|
+
from adapters_api.model.attachment_model import AttachmentModel
|
|
25
|
+
from adapters_api.model.image_resize_type import ImageResizeType
|
|
26
|
+
from adapters_api.model.problem_details import ProblemDetails
|
|
27
|
+
from adapters_api.model.validation_problem_details import ValidationProblemDetails
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class AttachmentsApi(object):
|
|
31
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
32
|
+
Ref: https://openapi-generator.tech
|
|
33
|
+
|
|
34
|
+
Do not edit the class manually.
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
def __init__(self, api_client=None):
|
|
38
|
+
if api_client is None:
|
|
39
|
+
api_client = ApiClient()
|
|
40
|
+
self.api_client = api_client
|
|
41
|
+
self.adapters_attachments_bulk_post_endpoint = _Endpoint(
|
|
42
|
+
settings={
|
|
43
|
+
'response_type': ([AttachmentModel],),
|
|
44
|
+
'auth': [
|
|
45
|
+
'PrivateToken',
|
|
46
|
+
'Identity.Application'
|
|
47
|
+
],
|
|
48
|
+
'endpoint_path': '/adapters/attachments/bulk',
|
|
49
|
+
'operation_id': 'adapters_attachments_bulk_post',
|
|
50
|
+
'http_method': 'POST',
|
|
51
|
+
'servers': None,
|
|
52
|
+
},
|
|
53
|
+
params_map={
|
|
54
|
+
'all': [
|
|
55
|
+
'files',
|
|
56
|
+
],
|
|
57
|
+
'required': [],
|
|
58
|
+
'nullable': [
|
|
59
|
+
],
|
|
60
|
+
'enum': [
|
|
61
|
+
],
|
|
62
|
+
'validation': [
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
root_map={
|
|
66
|
+
'validations': {
|
|
67
|
+
},
|
|
68
|
+
'allowed_values': {
|
|
69
|
+
},
|
|
70
|
+
'openapi_types': {
|
|
71
|
+
'files':
|
|
72
|
+
([file_type],),
|
|
73
|
+
},
|
|
74
|
+
'attribute_map': {
|
|
75
|
+
'files': 'files',
|
|
76
|
+
},
|
|
77
|
+
'location_map': {
|
|
78
|
+
'files': 'form',
|
|
79
|
+
},
|
|
80
|
+
'collection_format_map': {
|
|
81
|
+
'files': 'multi',
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
headers_map={
|
|
85
|
+
'accept': [
|
|
86
|
+
'application/json'
|
|
87
|
+
],
|
|
88
|
+
'content_type': [
|
|
89
|
+
'multipart/form-data'
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
api_client=api_client
|
|
93
|
+
)
|
|
94
|
+
self.adapters_attachments_id_get_endpoint = _Endpoint(
|
|
95
|
+
settings={
|
|
96
|
+
'response_type': None,
|
|
97
|
+
'auth': [
|
|
98
|
+
'PrivateToken',
|
|
99
|
+
'Identity.Application'
|
|
100
|
+
],
|
|
101
|
+
'endpoint_path': '/adapters/attachments/{id}',
|
|
102
|
+
'operation_id': 'adapters_attachments_id_get',
|
|
103
|
+
'http_method': 'GET',
|
|
104
|
+
'servers': None,
|
|
105
|
+
},
|
|
106
|
+
params_map={
|
|
107
|
+
'all': [
|
|
108
|
+
'id',
|
|
109
|
+
'width',
|
|
110
|
+
'height',
|
|
111
|
+
'resize_type',
|
|
112
|
+
'background_color',
|
|
113
|
+
'preview',
|
|
114
|
+
],
|
|
115
|
+
'required': [
|
|
116
|
+
'id',
|
|
117
|
+
],
|
|
118
|
+
'nullable': [
|
|
119
|
+
],
|
|
120
|
+
'enum': [
|
|
121
|
+
],
|
|
122
|
+
'validation': [
|
|
123
|
+
'width',
|
|
124
|
+
'height',
|
|
125
|
+
'background_color',
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
root_map={
|
|
129
|
+
'validations': {
|
|
130
|
+
('width',): {
|
|
131
|
+
|
|
132
|
+
'inclusive_maximum': 2147483647,
|
|
133
|
+
'inclusive_minimum': 1,
|
|
134
|
+
},
|
|
135
|
+
('height',): {
|
|
136
|
+
|
|
137
|
+
'inclusive_maximum': 2147483647,
|
|
138
|
+
'inclusive_minimum': 1,
|
|
139
|
+
},
|
|
140
|
+
('background_color',): {
|
|
141
|
+
'max_length': 7,
|
|
142
|
+
'min_length': 7,
|
|
143
|
+
'regex': {
|
|
144
|
+
'pattern': r'#[0-9A-Fa-f]{6}', # noqa: E501
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
'allowed_values': {
|
|
149
|
+
},
|
|
150
|
+
'openapi_types': {
|
|
151
|
+
'id':
|
|
152
|
+
(str,),
|
|
153
|
+
'width':
|
|
154
|
+
(int,),
|
|
155
|
+
'height':
|
|
156
|
+
(int,),
|
|
157
|
+
'resize_type':
|
|
158
|
+
(ImageResizeType,),
|
|
159
|
+
'background_color':
|
|
160
|
+
(str,),
|
|
161
|
+
'preview':
|
|
162
|
+
(bool,),
|
|
163
|
+
},
|
|
164
|
+
'attribute_map': {
|
|
165
|
+
'id': 'id',
|
|
166
|
+
'width': 'width',
|
|
167
|
+
'height': 'height',
|
|
168
|
+
'resize_type': 'resizeType',
|
|
169
|
+
'background_color': 'backgroundColor',
|
|
170
|
+
'preview': 'preview',
|
|
171
|
+
},
|
|
172
|
+
'location_map': {
|
|
173
|
+
'id': 'path',
|
|
174
|
+
'width': 'query',
|
|
175
|
+
'height': 'query',
|
|
176
|
+
'resize_type': 'query',
|
|
177
|
+
'background_color': 'query',
|
|
178
|
+
'preview': 'query',
|
|
179
|
+
},
|
|
180
|
+
'collection_format_map': {
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
headers_map={
|
|
184
|
+
'accept': [
|
|
185
|
+
'application/json'
|
|
186
|
+
],
|
|
187
|
+
'content_type': [],
|
|
188
|
+
},
|
|
189
|
+
api_client=api_client
|
|
190
|
+
)
|
|
191
|
+
self.adapters_attachments_post_endpoint = _Endpoint(
|
|
192
|
+
settings={
|
|
193
|
+
'response_type': (AttachmentModel,),
|
|
194
|
+
'auth': [
|
|
195
|
+
'PrivateToken',
|
|
196
|
+
'Identity.Application'
|
|
197
|
+
],
|
|
198
|
+
'endpoint_path': '/adapters/attachments',
|
|
199
|
+
'operation_id': 'adapters_attachments_post',
|
|
200
|
+
'http_method': 'POST',
|
|
201
|
+
'servers': None,
|
|
202
|
+
},
|
|
203
|
+
params_map={
|
|
204
|
+
'all': [
|
|
205
|
+
'file',
|
|
206
|
+
],
|
|
207
|
+
'required': [],
|
|
208
|
+
'nullable': [
|
|
209
|
+
],
|
|
210
|
+
'enum': [
|
|
211
|
+
],
|
|
212
|
+
'validation': [
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
root_map={
|
|
216
|
+
'validations': {
|
|
217
|
+
},
|
|
218
|
+
'allowed_values': {
|
|
219
|
+
},
|
|
220
|
+
'openapi_types': {
|
|
221
|
+
'file':
|
|
222
|
+
(file_type,),
|
|
223
|
+
},
|
|
224
|
+
'attribute_map': {
|
|
225
|
+
'file': 'file',
|
|
226
|
+
},
|
|
227
|
+
'location_map': {
|
|
228
|
+
'file': 'form',
|
|
229
|
+
},
|
|
230
|
+
'collection_format_map': {
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
headers_map={
|
|
234
|
+
'accept': [
|
|
235
|
+
'application/json'
|
|
236
|
+
],
|
|
237
|
+
'content_type': [
|
|
238
|
+
'multipart/form-data'
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
api_client=api_client
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
def adapters_attachments_bulk_post(
|
|
245
|
+
self,
|
|
246
|
+
**kwargs
|
|
247
|
+
):
|
|
248
|
+
"""adapters_attachments_bulk_post # noqa: E501
|
|
249
|
+
|
|
250
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
251
|
+
asynchronous HTTP request, please pass async_req=True
|
|
252
|
+
|
|
253
|
+
>>> thread = api.adapters_attachments_bulk_post(async_req=True)
|
|
254
|
+
>>> result = thread.get()
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
Keyword Args:
|
|
258
|
+
files ([file_type]): [optional]
|
|
259
|
+
_return_http_data_only (bool): response data without head status
|
|
260
|
+
code and headers. Default is True.
|
|
261
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
262
|
+
will be returned without reading/decoding response data.
|
|
263
|
+
Default is True.
|
|
264
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
265
|
+
one number provided, it will be total request timeout. It can also
|
|
266
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
267
|
+
Default is None.
|
|
268
|
+
_check_input_type (bool): specifies if type checking
|
|
269
|
+
should be done one the data sent to the server.
|
|
270
|
+
Default is True.
|
|
271
|
+
_check_return_type (bool): specifies if type checking
|
|
272
|
+
should be done one the data received from the server.
|
|
273
|
+
Default is True.
|
|
274
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
275
|
+
are serialized names, as specified in the OpenAPI document.
|
|
276
|
+
False if the variable names in the input data
|
|
277
|
+
are pythonic names, e.g. snake case (default)
|
|
278
|
+
_content_type (str/None): force body content-type.
|
|
279
|
+
Default is None and content-type will be predicted by allowed
|
|
280
|
+
content-types and body.
|
|
281
|
+
_host_index (int/None): specifies the index of the server
|
|
282
|
+
that we want to use.
|
|
283
|
+
Default is read from the configuration.
|
|
284
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
285
|
+
request; this effectively ignores the authentication
|
|
286
|
+
in the spec for a single request.
|
|
287
|
+
Default is None
|
|
288
|
+
async_req (bool): execute request asynchronously
|
|
289
|
+
|
|
290
|
+
Returns:
|
|
291
|
+
[AttachmentModel]
|
|
292
|
+
If the method is called asynchronously, returns the request
|
|
293
|
+
thread.
|
|
294
|
+
"""
|
|
295
|
+
kwargs['async_req'] = kwargs.get(
|
|
296
|
+
'async_req', False
|
|
297
|
+
)
|
|
298
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
299
|
+
'_return_http_data_only', True
|
|
300
|
+
)
|
|
301
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
302
|
+
'_preload_content', True
|
|
303
|
+
)
|
|
304
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
305
|
+
'_request_timeout', None
|
|
306
|
+
)
|
|
307
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
308
|
+
'_check_input_type', True
|
|
309
|
+
)
|
|
310
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
311
|
+
'_check_return_type', True
|
|
312
|
+
)
|
|
313
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
314
|
+
'_spec_property_naming', False
|
|
315
|
+
)
|
|
316
|
+
kwargs['_content_type'] = kwargs.get(
|
|
317
|
+
'_content_type')
|
|
318
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
319
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
320
|
+
return self.adapters_attachments_bulk_post_endpoint.call_with_http_info(**kwargs)
|
|
321
|
+
|
|
322
|
+
def adapters_attachments_id_get(
|
|
323
|
+
self,
|
|
324
|
+
id,
|
|
325
|
+
**kwargs
|
|
326
|
+
):
|
|
327
|
+
"""Download attachment file # noqa: E501
|
|
328
|
+
|
|
329
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
330
|
+
asynchronous HTTP request, please pass async_req=True
|
|
331
|
+
|
|
332
|
+
>>> thread = api.adapters_attachments_id_get(id, async_req=True)
|
|
333
|
+
>>> result = thread.get()
|
|
334
|
+
|
|
335
|
+
Args:
|
|
336
|
+
id (str):
|
|
337
|
+
|
|
338
|
+
Keyword Args:
|
|
339
|
+
width (int): Width of the result image. [optional]
|
|
340
|
+
height (int): Height of the result image. [optional]
|
|
341
|
+
resize_type (ImageResizeType): Type of resizing to apply to the result image. [optional]
|
|
342
|
+
background_color (str): Color of the background if the `resizeType` is `AddBackgroundStripes`. [optional]
|
|
343
|
+
preview (bool): If image must be converted to a preview (lower quality, no animation). [optional]
|
|
344
|
+
_return_http_data_only (bool): response data without head status
|
|
345
|
+
code and headers. Default is True.
|
|
346
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
347
|
+
will be returned without reading/decoding response data.
|
|
348
|
+
Default is True.
|
|
349
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
350
|
+
one number provided, it will be total request timeout. It can also
|
|
351
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
352
|
+
Default is None.
|
|
353
|
+
_check_input_type (bool): specifies if type checking
|
|
354
|
+
should be done one the data sent to the server.
|
|
355
|
+
Default is True.
|
|
356
|
+
_check_return_type (bool): specifies if type checking
|
|
357
|
+
should be done one the data received from the server.
|
|
358
|
+
Default is True.
|
|
359
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
360
|
+
are serialized names, as specified in the OpenAPI document.
|
|
361
|
+
False if the variable names in the input data
|
|
362
|
+
are pythonic names, e.g. snake case (default)
|
|
363
|
+
_content_type (str/None): force body content-type.
|
|
364
|
+
Default is None and content-type will be predicted by allowed
|
|
365
|
+
content-types and body.
|
|
366
|
+
_host_index (int/None): specifies the index of the server
|
|
367
|
+
that we want to use.
|
|
368
|
+
Default is read from the configuration.
|
|
369
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
370
|
+
request; this effectively ignores the authentication
|
|
371
|
+
in the spec for a single request.
|
|
372
|
+
Default is None
|
|
373
|
+
async_req (bool): execute request asynchronously
|
|
374
|
+
|
|
375
|
+
Returns:
|
|
376
|
+
None
|
|
377
|
+
If the method is called asynchronously, returns the request
|
|
378
|
+
thread.
|
|
379
|
+
"""
|
|
380
|
+
kwargs['async_req'] = kwargs.get(
|
|
381
|
+
'async_req', False
|
|
382
|
+
)
|
|
383
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
384
|
+
'_return_http_data_only', True
|
|
385
|
+
)
|
|
386
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
387
|
+
'_preload_content', True
|
|
388
|
+
)
|
|
389
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
390
|
+
'_request_timeout', None
|
|
391
|
+
)
|
|
392
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
393
|
+
'_check_input_type', True
|
|
394
|
+
)
|
|
395
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
396
|
+
'_check_return_type', True
|
|
397
|
+
)
|
|
398
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
399
|
+
'_spec_property_naming', False
|
|
400
|
+
)
|
|
401
|
+
kwargs['_content_type'] = kwargs.get(
|
|
402
|
+
'_content_type')
|
|
403
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
404
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
405
|
+
kwargs['id'] = \
|
|
406
|
+
id
|
|
407
|
+
return self.adapters_attachments_id_get_endpoint.call_with_http_info(**kwargs)
|
|
408
|
+
|
|
409
|
+
def adapters_attachments_post(
|
|
410
|
+
self,
|
|
411
|
+
**kwargs
|
|
412
|
+
):
|
|
413
|
+
"""Upload new attachment file # noqa: E501
|
|
414
|
+
|
|
415
|
+
File size is restricted to 50 MB (52 428 800 bytes) # noqa: E501
|
|
416
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
417
|
+
asynchronous HTTP request, please pass async_req=True
|
|
418
|
+
|
|
419
|
+
>>> thread = api.adapters_attachments_post(async_req=True)
|
|
420
|
+
>>> result = thread.get()
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
Keyword Args:
|
|
424
|
+
file (file_type): [optional]
|
|
425
|
+
_return_http_data_only (bool): response data without head status
|
|
426
|
+
code and headers. Default is True.
|
|
427
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
428
|
+
will be returned without reading/decoding response data.
|
|
429
|
+
Default is True.
|
|
430
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
431
|
+
one number provided, it will be total request timeout. It can also
|
|
432
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
433
|
+
Default is None.
|
|
434
|
+
_check_input_type (bool): specifies if type checking
|
|
435
|
+
should be done one the data sent to the server.
|
|
436
|
+
Default is True.
|
|
437
|
+
_check_return_type (bool): specifies if type checking
|
|
438
|
+
should be done one the data received from the server.
|
|
439
|
+
Default is True.
|
|
440
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
441
|
+
are serialized names, as specified in the OpenAPI document.
|
|
442
|
+
False if the variable names in the input data
|
|
443
|
+
are pythonic names, e.g. snake case (default)
|
|
444
|
+
_content_type (str/None): force body content-type.
|
|
445
|
+
Default is None and content-type will be predicted by allowed
|
|
446
|
+
content-types and body.
|
|
447
|
+
_host_index (int/None): specifies the index of the server
|
|
448
|
+
that we want to use.
|
|
449
|
+
Default is read from the configuration.
|
|
450
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
451
|
+
request; this effectively ignores the authentication
|
|
452
|
+
in the spec for a single request.
|
|
453
|
+
Default is None
|
|
454
|
+
async_req (bool): execute request asynchronously
|
|
455
|
+
|
|
456
|
+
Returns:
|
|
457
|
+
AttachmentModel
|
|
458
|
+
If the method is called asynchronously, returns the request
|
|
459
|
+
thread.
|
|
460
|
+
"""
|
|
461
|
+
kwargs['async_req'] = kwargs.get(
|
|
462
|
+
'async_req', False
|
|
463
|
+
)
|
|
464
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
465
|
+
'_return_http_data_only', True
|
|
466
|
+
)
|
|
467
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
468
|
+
'_preload_content', True
|
|
469
|
+
)
|
|
470
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
471
|
+
'_request_timeout', None
|
|
472
|
+
)
|
|
473
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
474
|
+
'_check_input_type', True
|
|
475
|
+
)
|
|
476
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
477
|
+
'_check_return_type', True
|
|
478
|
+
)
|
|
479
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
480
|
+
'_spec_property_naming', False
|
|
481
|
+
)
|
|
482
|
+
kwargs['_content_type'] = kwargs.get(
|
|
483
|
+
'_content_type')
|
|
484
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
485
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
486
|
+
return self.adapters_attachments_post_endpoint.call_with_http_info(**kwargs)
|
|
487
|
+
|