You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Move the test file share contents to tests/share This way, it can be reused between tests. * cvat-sdk: Fix creating tasks with non-local files Forcing the `Content-Type` for the `upload_data` API call to `multipart/form-data` does not work, because the current logic for converting Python values to parts (`ApiClient._convert_body_to_post_params`) does not encode them in a way that Django REST Framework can understand (it JSON-encodes each part). Fortunately, we don't actually need to do that, since when we create a task with non-local files, we don't need to upload any files, and so we can just post the original JSON, so do just that. I couldn't add a test for the remote image case, because CVAT rejects all URLs with non-public IP addressses. However, I did test this case manually. |
3 years ago | |
|---|---|---|
| .. | ||
| assets | 3 years ago | |
| case_1_create_delete_task_label_color.js | 4 years ago | |
| case_3_task_start_stop_step_frame.js | 4 years ago | |
| case_5_image_rotate.js | 4 years ago | |
| case_6_image_scale_fit.js | 4 years ago | |
| case_7_image_scale_roi.js | 4 years ago | |
| case_18_filters_functionality.js | 4 years ago | |
| case_19_all_image_rotate_features.js | 4 years ago | |
| case_44_changing_default_value_for_attribute.js | 4 years ago | |
| case_45_open_the_task_button.js | 4 years ago | |
| case_46_create_task_with_files_from_remote_sources.js | 4 years ago | |
| case_47_export_dataset.js | 3 years ago | |
| case_48_issue_2663_annotations_statistics.js | 4 years ago | |
| case_49_settings_show_all_interpolation_tracks.js | 4 years ago | |
| case_50_settings_player_speed.js | 4 years ago | |
| case_74_drag_canvas.js | 4 years ago | |
| case_90_context_image.js | 4 years ago | |
| case_105_cloud_storage.js | 4 years ago | |
| case_107_connected_file_share.js | 4 years ago | |
| case_109_dummy_cloud_storage.js | 4 years ago | |
| case_112_tus_upload.js | 4 years ago | |
| case_113_use_default_project_storage_for_import_export_annotations.js | 3 years ago | |
| case_114_use_default_task_storage_for_import_export_annotations.js | 3 years ago | |
| case_115_use_custom_storage_for_import_export_annotations.js | 3 years ago | |