testit-python-commons 4.3.2.post580__tar.gz → 5.0.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_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/PKG-INFO +3 -2
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/setup.py +2 -2
- testit_python_commons-5.0.0/src/api_client_adapters/__init__.py +27 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/__init__.py +3 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/attachments_api.py +487 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/auto_tests_api.py +1711 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/configurations_api.py +200 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/parameters_api.py +464 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/project_attributes_api.py +354 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/project_sections_api.py +204 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/project_work_items_api.py +212 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/projects_api.py +610 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/sections_api.py +311 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/test_results_api.py +477 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/test_runs_api.py +1121 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/work_items_api.py +477 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api/workflows_api.py +174 -0
- testit_python_commons-5.0.0/src/api_client_adapters/api_client.py +898 -0
- testit_python_commons-5.0.0/src/api_client_adapters/apis/__init__.py +29 -0
- testit_python_commons-5.0.0/src/api_client_adapters/configuration.py +488 -0
- testit_python_commons-5.0.0/src/api_client_adapters/exceptions.py +158 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/__init__.py +5 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_auto_tests_id_work_items_post_request.py +319 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_auto_tests_post_request.py +391 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_auto_tests_put_request.py +391 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_auto_tests_search_post_request.py +327 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_configurations_search_post_request.py +339 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_parameters_post_request.py +335 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_parameters_search_post_request.py +327 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_projects_post_request.py +334 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_projects_project_id_attributes_put_request.py +355 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_projects_project_id_attributes_search_post_request.py +339 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_projects_project_id_work_items_search_post_request.py +321 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_projects_search_post_request.py +381 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_sections_post_request.py +347 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_test_results_id_put_request.py +397 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_test_results_search_post_request.py +377 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_test_runs_id_reruns_post_request.py +331 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_test_runs_post_request.py +347 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_test_runs_put_request.py +350 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/adapters_work_items_post_request.py +415 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/assign_attachment_api_model.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/assign_auto_test_case_id_api_model.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/assign_iteration_api_model.py +274 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/attachment_api_result.py +287 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/attachment_model.py +307 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/attachment_put_model.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/attachment_put_model_auto_test_step_results_model.py +304 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/attachment_update_request.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test.py +346 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_api_result.py +344 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_case_api_model.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_create_api_model.py +342 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_filter_api_model.py +311 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_id_model.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_model.py +410 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_model_last_test_result_configuration.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_model_last_test_result_status.py +341 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_result_reason_short.py +274 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_results_for_test_run_model.py +355 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_search_api_model.py +268 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_search_api_model_filter.py +373 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_search_api_model_includes.py +327 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_search_include_api_model.py +265 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_step.py +274 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_step_api_model.py +274 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_step_api_result.py +271 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_step_model.py +274 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_step_result.py +304 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_step_result_update_request.py +304 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_update_api_model.py +342 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/auto_test_work_item_identifier_api_result.py +269 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/available_test_result_outcome.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/configuration_filter_model.py +277 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/configuration_model.py +319 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/configuration_short_model.py +269 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/create_empty_test_run_api_model.py +294 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/create_link_api_model.py +285 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/create_parameter_api_model.py +281 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/create_project_api_model.py +278 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/create_step_api_model.py +273 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/create_work_item_api_model.py +372 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/custom_attribute_api_result.py +312 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/custom_attribute_get_model.py +312 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/custom_attribute_option_api_result.py +279 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/custom_attribute_option_model.py +283 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/custom_attribute_put_model.py +314 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/custom_attribute_type.py +294 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/custom_attribute_types_enum.py +294 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/date_time_range_selector_model.py +261 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/deletion_state.py +291 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/detailed_project_api_result.py +314 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/detailed_project_api_result_workflow.py +325 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/failure_category_model.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/guid_extraction_model.py +261 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/image_resize_type.py +290 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/int32_range_selector_model.py +261 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/int64_range_selector_model.py +261 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/iteration_api_result.py +272 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/iteration_model.py +272 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/label_api_model.py +272 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/label_api_result.py +269 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/label_short_model.py +272 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_api_result.py +286 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_create_api_model.py +285 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_model.py +295 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_post_model.py +291 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_put_model.py +295 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_short_api_result.py +277 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_type.py +294 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/link_update_api_model.py +289 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/manual_rerun_api_result.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/manual_rerun_select_test_results_api_model.py +272 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/manual_rerun_select_test_results_api_model_extraction_model.py +321 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/manual_rerun_select_test_results_api_model_filter.py +377 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/manual_rerun_test_result_api_model.py +262 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/manual_rerun_test_result_api_model_test_result_ids.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/operation.py +269 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/parameter_api_result.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/parameter_iteration_model.py +267 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/parameter_short_api_result.py +281 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/parameter_short_model.py +299 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/parameters_filter_api_model.py +265 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/problem_details.py +279 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/project_api_result.py +297 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/project_attributes_filter_model.py +288 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/project_type_model.py +290 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/projects_filter_model.py +322 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/projects_filter_model_autotests_count.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/projects_filter_model_checklists_count.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/projects_filter_model_created_date.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/projects_filter_model_shared_steps_count.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/projects_filter_model_test_cases_count.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/section_model.py +306 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/section_post_model.py +298 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/section_shared_step.py +337 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/section_with_steps_model.py +325 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/shared_step_model.py +292 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/shared_step_result_api_model.py +269 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/step_comment_api_model.py +314 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/step_model.py +292 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/step_post_model.py +273 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/step_result_api_model.py +288 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/tag_model.py +267 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_result_link_api_result.py +291 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_result_outcome.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_result_response.py +372 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_result_short_response.py +350 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_result_short_response_status.py +329 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_result_step_comment_update_request.py +290 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_result_update_request.py +338 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_results_filter_api_model.py +318 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_results_filter_api_model_duration.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_run_api_result.py +310 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_run_api_result_status.py +329 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_run_state.py +292 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_status_api_result.py +280 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_status_api_type.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_status_model.py +296 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/test_status_type.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/update_empty_test_run_api_model.py +299 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/update_link_api_model.py +289 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/validation_problem_details.py +289 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_api_result.py +422 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_entity_type_api_model.py +291 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_filter_api_model.py +372 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_filter_api_model_duration.py +323 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_id_api_model.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_parameter_key_api_model.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_parameter_key_api_result.py +263 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_priority_api_model.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_priority_model.py +293 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_select_api_model.py +268 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_select_api_model_filter.py +431 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_short_api_result.py +368 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_source_type_model.py +290 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_state_api_model.py +291 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_states.py +291 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/work_item_type_model.py +291 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/workflow_api_result.py +274 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model/workflow_status_api_result.py +280 -0
- testit_python_commons-5.0.0/src/api_client_adapters/model_utils.py +2058 -0
- testit_python_commons-5.0.0/src/api_client_adapters/models/__init__.py +170 -0
- testit_python_commons-5.0.0/src/api_client_adapters/rest.py +356 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/api_client.py +57 -47
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/converter.py +69 -52
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/helpers/bulk_autotest_helper.py +15 -14
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/helpers/threads_manager.py +1 -1
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/models/threads_for_create_and_result.py +1 -1
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/models/threads_for_update_and_result.py +1 -1
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/retry.py +3 -3
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons.egg-info/PKG-INFO +3 -2
- testit_python_commons-5.0.0/src/testit_python_commons.egg-info/SOURCES.txt +259 -0
- testit_python_commons-5.0.0/src/testit_python_commons.egg-info/requires.txt +4 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons.egg-info/top_level.txt +1 -0
- testit_python_commons-4.3.2.post580/src/testit_python_commons.egg-info/SOURCES.txt +0 -77
- testit_python_commons-4.3.2.post580/src/testit_python_commons.egg-info/requires.txt +0 -3
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/README.md +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/setup.cfg +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/api/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/api/completion_api.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/api/health_api.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/api/system_api.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/api/test_results_api.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/api/workers_api.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/api_client.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/apis/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/configuration.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/exceptions.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/completion_response.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/health_status_response.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/register_request.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/register_response.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/set_worker_status_request.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/set_worker_status_response.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/shutdown_response.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/test_result_cut_api_model.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model/test_result_save_response.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/model_utils.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/models/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/api_client_syncstorage/rest.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/app_properties.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/client_configuration.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/helpers/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/client/models/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/configurations/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/configurations/properties_names.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/decorators.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/dynamic_methods.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/adapter_mode.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/fixture.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/link.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/link_type.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/outcome_type.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/status_type.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/step_result.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/test_result.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/adapter_manager.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/adapter_manager_configuration.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/fixture_manager.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/fixture_storage.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/logger.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/plugin_manager.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/step_manager.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/step_result_storage.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/sync_storage/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/sync_storage/sync_storage_runner.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/services/utils.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/step.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/utils/__init__.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons/utils/html_escape_utils.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/src/testit_python_commons.egg-info/dependency_links.txt +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/tests/test_app_properties.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/tests/test_dynamic_methods.py +0 -0
- {testit_python_commons-4.3.2.post580 → testit_python_commons-5.0.0}/tests/test_html_escape_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-python-commons
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.0
|
|
4
4
|
Summary: Python commons for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -17,7 +17,8 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
Requires-Dist: pluggy
|
|
19
19
|
Requires-Dist: tomli
|
|
20
|
-
Requires-Dist:
|
|
20
|
+
Requires-Dist: urllib3
|
|
21
|
+
Requires-Dist: python-dateutil
|
|
21
22
|
Dynamic: author
|
|
22
23
|
Dynamic: author-email
|
|
23
24
|
Dynamic: classifier
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "
|
|
3
|
+
VERSION = "5.0.0"
|
|
4
4
|
|
|
5
5
|
setup(
|
|
6
6
|
name='testit-python-commons',
|
|
@@ -25,5 +25,5 @@ setup(
|
|
|
25
25
|
py_modules=['testit', 'testit_python_commons'],
|
|
26
26
|
packages=find_packages(where='src'),
|
|
27
27
|
package_dir={'': 'src'},
|
|
28
|
-
install_requires=['pluggy', 'tomli', '
|
|
28
|
+
install_requires=['pluggy', 'tomli', 'urllib3', 'python-dateutil']
|
|
29
29
|
)
|
|
@@ -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 api_client_adapters.api_client import ApiClient
|
|
17
|
+
|
|
18
|
+
# import Configuration
|
|
19
|
+
from api_client_adapters.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
# import exceptions
|
|
22
|
+
from api_client_adapters.exceptions import OpenApiException
|
|
23
|
+
from api_client_adapters.exceptions import ApiAttributeError
|
|
24
|
+
from api_client_adapters.exceptions import ApiTypeError
|
|
25
|
+
from api_client_adapters.exceptions import ApiValueError
|
|
26
|
+
from api_client_adapters.exceptions import ApiKeyError
|
|
27
|
+
from api_client_adapters.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 api_client_adapters.api_client import ApiClient, Endpoint as _Endpoint
|
|
15
|
+
from api_client_adapters.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 api_client_adapters.model.attachment_model import AttachmentModel
|
|
25
|
+
from api_client_adapters.model.image_resize_type import ImageResizeType
|
|
26
|
+
from api_client_adapters.model.problem_details import ProblemDetails
|
|
27
|
+
from api_client_adapters.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
|
+
'Cookies'
|
|
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
|
+
'Cookies'
|
|
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
|
+
'Cookies'
|
|
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 1 GB (1 073 741 824 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
|
+
|