robodock-cli 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app/__init__.py +1 -0
- app/app.py +14 -0
- app/auth.py +58 -0
- app/task_management.py +97 -0
- config.py +9 -0
- fast_api_client/__init__.py +8 -0
- fast_api_client/api/__init__.py +1 -0
- fast_api_client/api/auth/__init__.py +1 -0
- fast_api_client/api/auth/change_password_api_p_v1_auth_change_password_post.py +172 -0
- fast_api_client/api/auth/forgot_password_api_p_v1_auth_forgot_password_post.py +172 -0
- fast_api_client/api/auth/login_api_p_v1_auth_login_post.py +172 -0
- fast_api_client/api/auth/logout_api_p_v1_auth_logout_post.py +172 -0
- fast_api_client/api/auth/me_api_p_v1_auth_me_get.py +85 -0
- fast_api_client/api/auth/refresh_token_api_p_v1_auth_refresh_post.py +172 -0
- fast_api_client/api/auth/reset_password_api_p_v1_auth_reset_password_post.py +172 -0
- fast_api_client/api/auth/switch_group_api_p_v1_auth_switch_group_post.py +176 -0
- fast_api_client/api/config/__init__.py +1 -0
- fast_api_client/api/config/get_config_api_p_v1_config_get.py +85 -0
- fast_api_client/api/default/__init__.py +1 -0
- fast_api_client/api/default/root_get.py +81 -0
- fast_api_client/api/groups/__init__.py +1 -0
- fast_api_client/api/groups/add_member_api_p_v1_groups_group_id_members_post.py +188 -0
- fast_api_client/api/groups/create_group_api_p_v1_groups_post.py +172 -0
- fast_api_client/api/groups/create_platform_role_binding_api_p_v1_admin_platform_roles_bindings_post.py +172 -0
- fast_api_client/api/groups/delete_group_api_p_v1_groups_group_id_delete.py +167 -0
- fast_api_client/api/groups/delete_platform_role_binding_api_p_v1_admin_platform_roles_bindings_user_id_delete.py +167 -0
- fast_api_client/api/groups/get_group_api_p_v1_groups_group_id_get.py +167 -0
- fast_api_client/api/groups/list_groups_api_p_v1_groups_get.py +85 -0
- fast_api_client/api/groups/list_members_api_p_v1_groups_group_id_members_get.py +167 -0
- fast_api_client/api/groups/list_platform_role_bindings_api_p_v1_admin_platform_roles_bindings_get.py +85 -0
- fast_api_client/api/groups/remove_member_api_p_v1_groups_group_id_members_user_id_delete.py +181 -0
- fast_api_client/api/groups/reset_member_password_api_p_v1_groups_group_id_members_user_id_reset_password_post.py +181 -0
- fast_api_client/api/groups/update_group_api_p_v1_groups_group_id_patch.py +188 -0
- fast_api_client/api/groups/update_member_role_api_p_v1_groups_group_id_members_user_id_patch.py +202 -0
- fast_api_client/api/post_train/__init__.py +1 -0
- fast_api_client/api/post_train/check_patch_duplicate_api_p_v1_singledata_patch_check_post.py +164 -0
- fast_api_client/api/post_train/check_patch_duplicate_batch_api_p_v1_singledata_patch_check_batch_post.py +164 -0
- fast_api_client/api/post_train/create_dataset_api_p_v1_dataset_post.py +172 -0
- fast_api_client/api/post_train/create_patch_upload_api_p_v1_singledata_patch_upload_post.py +164 -0
- fast_api_client/api/post_train/data_ops_overview_api_p_v1_data_ops_overview_get.py +624 -0
- fast_api_client/api/post_train/data_ops_patches_api_p_v1_data_ops_patches_get.py +474 -0
- fast_api_client/api/post_train/delete_dataset_api_p_v1_dataset_dataset_uuid_delete.py +167 -0
- fast_api_client/api/post_train/delete_singledata_api_p_v1_singledata_uuid_delete.py +167 -0
- fast_api_client/api/post_train/delete_singledata_by_patch_api_p_v1_singledata_patch_patch_id_delete.py +167 -0
- fast_api_client/api/post_train/delete_singledata_list_api_p_v1_singledata_delete.py +172 -0
- fast_api_client/api/post_train/download_singledata_api_p_v1_singledata_download_uuid_get.py +167 -0
- fast_api_client/api/post_train/download_singledata_list_api_p_v1_singledata_download_get.py +178 -0
- fast_api_client/api/post_train/get_singledata_api_p_v1_singledata_uuid_get.py +167 -0
- fast_api_client/api/post_train/link_singledata_api_p_v1_singledata_link_post.py +172 -0
- fast_api_client/api/post_train/list_dataset_api_p_v1_dataset_get.py +307 -0
- fast_api_client/api/post_train/list_singledata_api_p_v1_singledata_get.py +737 -0
- fast_api_client/api/post_train/trigger_process_api_p_v1_singledata_trigger_post.py +172 -0
- fast_api_client/api/post_train/unlink_singledata_api_p_v1_singledata_unlink_post.py +172 -0
- fast_api_client/api/post_train/update_dataset_add_api_p_v1_dataset_update_dataset_uuid_post.py +188 -0
- fast_api_client/api/post_train/update_dataset_all_fields_api_p_v1_dataset_uuid_patch.py +188 -0
- fast_api_client/api/post_train/update_dataset_info_api_p_v1_dataset_update_post.py +172 -0
- fast_api_client/api/post_train/update_dataset_reduce_api_p_v1_dataset_reduce_dataset_uuid_post.py +188 -0
- fast_api_client/api/post_train/update_singledata_api_p_v1_singledata_uuid_patch.py +188 -0
- fast_api_client/api/post_train/update_singledata_tag_api_p_v1_singledata_tag_post.py +176 -0
- fast_api_client/api/post_train/update_upload_status_api_p_v1_singledata_upload_status_patch.py +176 -0
- fast_api_client/api/post_train/upload_singledata_api_p_v1_singledata_post.py +172 -0
- fast_api_client/api/post_train/upload_singledata_list_api_p_v1_singledata_list_post.py +172 -0
- fast_api_client/api/task_management/__init__.py +1 -0
- fast_api_client/api/task_management/create_project_api_p_v1_project_project_name_post.py +204 -0
- fast_api_client/api/task_management/create_rl_stage_api_p_v1_run_run_uuid_stage_rl_post.py +180 -0
- fast_api_client/api/task_management/create_run_api_p_v1_run_post.py +172 -0
- fast_api_client/api/task_management/delete_project_api_p_v1_project_uuid_delete.py +159 -0
- fast_api_client/api/task_management/delete_run_api_p_v1_run_uuid_delete.py +159 -0
- fast_api_client/api/task_management/delete_run_stage_api_p_v1_run_run_uuid_stage_stage_name_delete.py +181 -0
- fast_api_client/api/task_management/get_checkpoint_download_url_api_p_v1_run_checkpoint_download_post.py +172 -0
- fast_api_client/api/task_management/get_project_api_p_v1_project_uuid_get.py +159 -0
- fast_api_client/api/task_management/get_run_api_p_v1_run_unique_id_get.py +180 -0
- fast_api_client/api/task_management/get_run_log_info_api_p_v1_run_log_get.py +206 -0
- fast_api_client/api/task_management/get_run_stage_api_p_v1_run_run_uuid_stage_stage_name_get.py +173 -0
- fast_api_client/api/task_management/get_run_status_api_p_v1_run_status_uuid_get.py +159 -0
- fast_api_client/api/task_management/list_projects_api_p_v1_project_get.py +359 -0
- fast_api_client/api/task_management/list_runs_api_p_v1_run_get.py +399 -0
- fast_api_client/api/task_management/open_artifact_api_p_v1_run_artifact_open_post.py +164 -0
- fast_api_client/api/task_management/proxy_argo_log_api_p_v1_run_log_proxy_get.py +85 -0
- fast_api_client/api/task_management/resubmit_run_api_p_v1_run_resubmit_unique_id_post.py +180 -0
- fast_api_client/api/task_management/retry_run_api_p_v1_run_retry_unique_id_post.py +180 -0
- fast_api_client/api/task_management/stop_run_api_p_v1_run_stop_uuid_post.py +159 -0
- fast_api_client/api/task_management/trigger_model_convert_api_p_v1_run_model_convert_trigger_post.py +172 -0
- fast_api_client/api/task_management/update_project_api_p_v1_project_uuid_patch.py +180 -0
- fast_api_client/api/task_management/update_run_api_p_v1_run_unique_id_patch.py +200 -0
- fast_api_client/api/task_mapping/__init__.py +1 -0
- fast_api_client/api/task_mapping/create_task_mapping_api_p_v1_task_mapping_post.py +164 -0
- fast_api_client/api/task_mapping/delete_task_mapping_api_p_v1_task_mapping_task_id_delete.py +159 -0
- fast_api_client/api/task_mapping/get_task_mapping_api_p_v1_task_mapping_task_id_get.py +159 -0
- fast_api_client/api/task_mapping/list_task_mapping_patches_api_p_v1_task_mapping_task_id_patches_get.py +195 -0
- fast_api_client/api/task_mapping/list_task_mappings_api_p_v1_task_mapping_get.py +279 -0
- fast_api_client/api/task_mapping/update_task_mapping_api_p_v1_task_mapping_task_id_patch.py +180 -0
- fast_api_client/client.py +268 -0
- fast_api_client/errors.py +16 -0
- fast_api_client/models/__init__.py +121 -0
- fast_api_client/models/add_member_request.py +89 -0
- fast_api_client/models/artifact_item.py +251 -0
- fast_api_client/models/artifact_item_extra_info_type_0.py +45 -0
- fast_api_client/models/artifact_open_request.py +93 -0
- fast_api_client/models/body_download_singledata_list_api_pv1_singledata_download_get.py +61 -0
- fast_api_client/models/change_password_request.py +69 -0
- fast_api_client/models/checkpoint_download_request.py +69 -0
- fast_api_client/models/create_group_request.py +72 -0
- fast_api_client/models/create_platform_role_binding_request.py +69 -0
- fast_api_client/models/dataset_add_request.py +165 -0
- fast_api_client/models/dataset_create_request.py +253 -0
- fast_api_client/models/dataset_full_update_request.py +133 -0
- fast_api_client/models/dataset_reduce_request.py +84 -0
- fast_api_client/models/dataset_update_request.py +123 -0
- fast_api_client/models/forgot_password_request.py +61 -0
- fast_api_client/models/http_validation_error.py +79 -0
- fast_api_client/models/login_request.py +69 -0
- fast_api_client/models/logout_request.py +61 -0
- fast_api_client/models/model_convert_trigger_request.py +69 -0
- fast_api_client/models/patch_duplicate_batch_item_request.py +69 -0
- fast_api_client/models/patch_duplicate_batch_request.py +75 -0
- fast_api_client/models/patch_duplicate_check_request.py +69 -0
- fast_api_client/models/patch_episode_create_request.py +547 -0
- fast_api_client/models/patch_episode_create_request_lable_info.py +47 -0
- fast_api_client/models/patch_upload_create_request.py +94 -0
- fast_api_client/models/project_create_request.py +174 -0
- fast_api_client/models/project_create_request_default_configs.py +47 -0
- fast_api_client/models/project_update_request.py +175 -0
- fast_api_client/models/project_update_request_default_configs_type_0.py +45 -0
- fast_api_client/models/refresh_request.py +61 -0
- fast_api_client/models/reset_password_request.py +69 -0
- fast_api_client/models/rl_stage_create_request.py +75 -0
- fast_api_client/models/rl_stage_create_request_configs.py +47 -0
- fast_api_client/models/run_create_request.py +243 -0
- fast_api_client/models/run_create_request_configs.py +47 -0
- fast_api_client/models/run_update_request.py +533 -0
- fast_api_client/models/run_update_request_artifacts_type_0.py +45 -0
- fast_api_client/models/run_update_request_configs_type_0.py +45 -0
- fast_api_client/models/run_update_request_stages_type_0_item.py +45 -0
- fast_api_client/models/single_data_create_request.py +189 -0
- fast_api_client/models/single_data_link_request.py +69 -0
- fast_api_client/models/single_data_list_request.py +169 -0
- fast_api_client/models/single_data_tag_request.py +69 -0
- fast_api_client/models/single_data_trigger_request.py +61 -0
- fast_api_client/models/single_data_unlink_request.py +69 -0
- fast_api_client/models/single_data_update_request.py +775 -0
- fast_api_client/models/single_data_update_request_lable_info_type_0.py +45 -0
- fast_api_client/models/stage_artifact_append.py +85 -0
- fast_api_client/models/stage_artifact_append_category.py +10 -0
- fast_api_client/models/switch_group_request.py +61 -0
- fast_api_client/models/task_mapping_create_request.py +111 -0
- fast_api_client/models/task_mapping_update_request.py +93 -0
- fast_api_client/models/update_group_request.py +93 -0
- fast_api_client/models/update_member_request.py +61 -0
- fast_api_client/models/upload_status_request.py +69 -0
- fast_api_client/models/validation_error.py +123 -0
- fast_api_client/models/validation_error_context.py +45 -0
- fast_api_client/py.typed +1 -0
- fast_api_client/types.py +54 -0
- robodock_cli-0.1.0.dist-info/METADATA +97 -0
- robodock_cli-0.1.0.dist-info/RECORD +167 -0
- robodock_cli-0.1.0.dist-info/WHEEL +5 -0
- robodock_cli-0.1.0.dist-info/entry_points.txt +2 -0
- robodock_cli-0.1.0.dist-info/top_level.txt +4 -0
- sdk/__init__.py +1 -0
- sdk/client/__init__.py +1 -0
- sdk/client/auth.py +171 -0
- sdk/client/client.py +9 -0
- sdk/client/task_management.py +29 -0
- sdk/exception.py +95 -0
- sdk/utils/__init__.py +1 -0
- sdk/utils/downloader.py +267 -0
|
@@ -0,0 +1,737 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
9
|
+
from ...types import UNSET, Response, Unset
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs(
|
|
13
|
+
*,
|
|
14
|
+
uuid: None | str | Unset = UNSET,
|
|
15
|
+
alias: None | str | Unset = UNSET,
|
|
16
|
+
uploader: None | str | Unset = UNSET,
|
|
17
|
+
operator: None | str | Unset = UNSET,
|
|
18
|
+
patch_id: None | str | Unset = UNSET,
|
|
19
|
+
patch_name: None | str | Unset = UNSET,
|
|
20
|
+
episode_id: None | str | Unset = UNSET,
|
|
21
|
+
collection_method: None | str | Unset = UNSET,
|
|
22
|
+
collector_type: None | str | Unset = UNSET,
|
|
23
|
+
collector_id: None | str | Unset = UNSET,
|
|
24
|
+
task_id: None | str | Unset = UNSET,
|
|
25
|
+
task_success: int | None | Unset = UNSET,
|
|
26
|
+
finetune: int | None | Unset = UNSET,
|
|
27
|
+
isreal: int | None | Unset = UNSET,
|
|
28
|
+
lable_info: None | str | Unset = UNSET,
|
|
29
|
+
scene_type: None | str | Unset = UNSET,
|
|
30
|
+
review_status: None | str | Unset = UNSET,
|
|
31
|
+
reviewer: None | str | Unset = UNSET,
|
|
32
|
+
uploaded: bool | None | Unset = UNSET,
|
|
33
|
+
dataset_uuid: None | str | Unset = UNSET,
|
|
34
|
+
time_field: str | Unset = "upload_time",
|
|
35
|
+
start_ts: int | None | Unset = UNSET,
|
|
36
|
+
end_ts: int | None | Unset = UNSET,
|
|
37
|
+
label: None | str | Unset = UNSET,
|
|
38
|
+
checker_result: None | str | Unset = UNSET,
|
|
39
|
+
sort: None | str | Unset = UNSET,
|
|
40
|
+
order: None | str | Unset = UNSET,
|
|
41
|
+
with_total: bool | Unset = False,
|
|
42
|
+
page: int | Unset = 1,
|
|
43
|
+
size: int | Unset = 10,
|
|
44
|
+
) -> dict[str, Any]:
|
|
45
|
+
|
|
46
|
+
params: dict[str, Any] = {}
|
|
47
|
+
|
|
48
|
+
json_uuid: None | str | Unset
|
|
49
|
+
if isinstance(uuid, Unset):
|
|
50
|
+
json_uuid = UNSET
|
|
51
|
+
else:
|
|
52
|
+
json_uuid = uuid
|
|
53
|
+
params["uuid"] = json_uuid
|
|
54
|
+
|
|
55
|
+
json_alias: None | str | Unset
|
|
56
|
+
if isinstance(alias, Unset):
|
|
57
|
+
json_alias = UNSET
|
|
58
|
+
else:
|
|
59
|
+
json_alias = alias
|
|
60
|
+
params["alias"] = json_alias
|
|
61
|
+
|
|
62
|
+
json_uploader: None | str | Unset
|
|
63
|
+
if isinstance(uploader, Unset):
|
|
64
|
+
json_uploader = UNSET
|
|
65
|
+
else:
|
|
66
|
+
json_uploader = uploader
|
|
67
|
+
params["uploader"] = json_uploader
|
|
68
|
+
|
|
69
|
+
json_operator: None | str | Unset
|
|
70
|
+
if isinstance(operator, Unset):
|
|
71
|
+
json_operator = UNSET
|
|
72
|
+
else:
|
|
73
|
+
json_operator = operator
|
|
74
|
+
params["operator"] = json_operator
|
|
75
|
+
|
|
76
|
+
json_patch_id: None | str | Unset
|
|
77
|
+
if isinstance(patch_id, Unset):
|
|
78
|
+
json_patch_id = UNSET
|
|
79
|
+
else:
|
|
80
|
+
json_patch_id = patch_id
|
|
81
|
+
params["patch_id"] = json_patch_id
|
|
82
|
+
|
|
83
|
+
json_patch_name: None | str | Unset
|
|
84
|
+
if isinstance(patch_name, Unset):
|
|
85
|
+
json_patch_name = UNSET
|
|
86
|
+
else:
|
|
87
|
+
json_patch_name = patch_name
|
|
88
|
+
params["patch_name"] = json_patch_name
|
|
89
|
+
|
|
90
|
+
json_episode_id: None | str | Unset
|
|
91
|
+
if isinstance(episode_id, Unset):
|
|
92
|
+
json_episode_id = UNSET
|
|
93
|
+
else:
|
|
94
|
+
json_episode_id = episode_id
|
|
95
|
+
params["episode_id"] = json_episode_id
|
|
96
|
+
|
|
97
|
+
json_collection_method: None | str | Unset
|
|
98
|
+
if isinstance(collection_method, Unset):
|
|
99
|
+
json_collection_method = UNSET
|
|
100
|
+
else:
|
|
101
|
+
json_collection_method = collection_method
|
|
102
|
+
params["collection_method"] = json_collection_method
|
|
103
|
+
|
|
104
|
+
json_collector_type: None | str | Unset
|
|
105
|
+
if isinstance(collector_type, Unset):
|
|
106
|
+
json_collector_type = UNSET
|
|
107
|
+
else:
|
|
108
|
+
json_collector_type = collector_type
|
|
109
|
+
params["collector_type"] = json_collector_type
|
|
110
|
+
|
|
111
|
+
json_collector_id: None | str | Unset
|
|
112
|
+
if isinstance(collector_id, Unset):
|
|
113
|
+
json_collector_id = UNSET
|
|
114
|
+
else:
|
|
115
|
+
json_collector_id = collector_id
|
|
116
|
+
params["collector_id"] = json_collector_id
|
|
117
|
+
|
|
118
|
+
json_task_id: None | str | Unset
|
|
119
|
+
if isinstance(task_id, Unset):
|
|
120
|
+
json_task_id = UNSET
|
|
121
|
+
else:
|
|
122
|
+
json_task_id = task_id
|
|
123
|
+
params["task_id"] = json_task_id
|
|
124
|
+
|
|
125
|
+
json_task_success: int | None | Unset
|
|
126
|
+
if isinstance(task_success, Unset):
|
|
127
|
+
json_task_success = UNSET
|
|
128
|
+
else:
|
|
129
|
+
json_task_success = task_success
|
|
130
|
+
params["task_success"] = json_task_success
|
|
131
|
+
|
|
132
|
+
json_finetune: int | None | Unset
|
|
133
|
+
if isinstance(finetune, Unset):
|
|
134
|
+
json_finetune = UNSET
|
|
135
|
+
else:
|
|
136
|
+
json_finetune = finetune
|
|
137
|
+
params["finetune"] = json_finetune
|
|
138
|
+
|
|
139
|
+
json_isreal: int | None | Unset
|
|
140
|
+
if isinstance(isreal, Unset):
|
|
141
|
+
json_isreal = UNSET
|
|
142
|
+
else:
|
|
143
|
+
json_isreal = isreal
|
|
144
|
+
params["isreal"] = json_isreal
|
|
145
|
+
|
|
146
|
+
json_lable_info: None | str | Unset
|
|
147
|
+
if isinstance(lable_info, Unset):
|
|
148
|
+
json_lable_info = UNSET
|
|
149
|
+
else:
|
|
150
|
+
json_lable_info = lable_info
|
|
151
|
+
params["lable_info"] = json_lable_info
|
|
152
|
+
|
|
153
|
+
json_scene_type: None | str | Unset
|
|
154
|
+
if isinstance(scene_type, Unset):
|
|
155
|
+
json_scene_type = UNSET
|
|
156
|
+
else:
|
|
157
|
+
json_scene_type = scene_type
|
|
158
|
+
params["scene_type"] = json_scene_type
|
|
159
|
+
|
|
160
|
+
json_review_status: None | str | Unset
|
|
161
|
+
if isinstance(review_status, Unset):
|
|
162
|
+
json_review_status = UNSET
|
|
163
|
+
else:
|
|
164
|
+
json_review_status = review_status
|
|
165
|
+
params["review_status"] = json_review_status
|
|
166
|
+
|
|
167
|
+
json_reviewer: None | str | Unset
|
|
168
|
+
if isinstance(reviewer, Unset):
|
|
169
|
+
json_reviewer = UNSET
|
|
170
|
+
else:
|
|
171
|
+
json_reviewer = reviewer
|
|
172
|
+
params["reviewer"] = json_reviewer
|
|
173
|
+
|
|
174
|
+
json_uploaded: bool | None | Unset
|
|
175
|
+
if isinstance(uploaded, Unset):
|
|
176
|
+
json_uploaded = UNSET
|
|
177
|
+
else:
|
|
178
|
+
json_uploaded = uploaded
|
|
179
|
+
params["uploaded"] = json_uploaded
|
|
180
|
+
|
|
181
|
+
json_dataset_uuid: None | str | Unset
|
|
182
|
+
if isinstance(dataset_uuid, Unset):
|
|
183
|
+
json_dataset_uuid = UNSET
|
|
184
|
+
else:
|
|
185
|
+
json_dataset_uuid = dataset_uuid
|
|
186
|
+
params["dataset_uuid"] = json_dataset_uuid
|
|
187
|
+
|
|
188
|
+
params["time_field"] = time_field
|
|
189
|
+
|
|
190
|
+
json_start_ts: int | None | Unset
|
|
191
|
+
if isinstance(start_ts, Unset):
|
|
192
|
+
json_start_ts = UNSET
|
|
193
|
+
else:
|
|
194
|
+
json_start_ts = start_ts
|
|
195
|
+
params["start_ts"] = json_start_ts
|
|
196
|
+
|
|
197
|
+
json_end_ts: int | None | Unset
|
|
198
|
+
if isinstance(end_ts, Unset):
|
|
199
|
+
json_end_ts = UNSET
|
|
200
|
+
else:
|
|
201
|
+
json_end_ts = end_ts
|
|
202
|
+
params["end_ts"] = json_end_ts
|
|
203
|
+
|
|
204
|
+
json_label: None | str | Unset
|
|
205
|
+
if isinstance(label, Unset):
|
|
206
|
+
json_label = UNSET
|
|
207
|
+
else:
|
|
208
|
+
json_label = label
|
|
209
|
+
params["label"] = json_label
|
|
210
|
+
|
|
211
|
+
json_checker_result: None | str | Unset
|
|
212
|
+
if isinstance(checker_result, Unset):
|
|
213
|
+
json_checker_result = UNSET
|
|
214
|
+
else:
|
|
215
|
+
json_checker_result = checker_result
|
|
216
|
+
params["checker_result"] = json_checker_result
|
|
217
|
+
|
|
218
|
+
json_sort: None | str | Unset
|
|
219
|
+
if isinstance(sort, Unset):
|
|
220
|
+
json_sort = UNSET
|
|
221
|
+
else:
|
|
222
|
+
json_sort = sort
|
|
223
|
+
params["sort"] = json_sort
|
|
224
|
+
|
|
225
|
+
json_order: None | str | Unset
|
|
226
|
+
if isinstance(order, Unset):
|
|
227
|
+
json_order = UNSET
|
|
228
|
+
else:
|
|
229
|
+
json_order = order
|
|
230
|
+
params["order"] = json_order
|
|
231
|
+
|
|
232
|
+
params["with_total"] = with_total
|
|
233
|
+
|
|
234
|
+
params["page"] = page
|
|
235
|
+
|
|
236
|
+
params["size"] = size
|
|
237
|
+
|
|
238
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
239
|
+
|
|
240
|
+
_kwargs: dict[str, Any] = {
|
|
241
|
+
"method": "get",
|
|
242
|
+
"url": "/api/p/v1/singledata",
|
|
243
|
+
"params": params,
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
return _kwargs
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
def _parse_response(
|
|
250
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
251
|
+
) -> Any | HTTPValidationError | None:
|
|
252
|
+
if response.status_code == 200:
|
|
253
|
+
response_200 = response.json()
|
|
254
|
+
return response_200
|
|
255
|
+
|
|
256
|
+
if response.status_code == 422:
|
|
257
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
258
|
+
|
|
259
|
+
return response_422
|
|
260
|
+
|
|
261
|
+
if client.raise_on_unexpected_status:
|
|
262
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
263
|
+
else:
|
|
264
|
+
return None
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
def _build_response(
|
|
268
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
269
|
+
) -> Response[Any | HTTPValidationError]:
|
|
270
|
+
return Response(
|
|
271
|
+
status_code=HTTPStatus(response.status_code),
|
|
272
|
+
content=response.content,
|
|
273
|
+
headers=response.headers,
|
|
274
|
+
parsed=_parse_response(client=client, response=response),
|
|
275
|
+
)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
def sync_detailed(
|
|
279
|
+
*,
|
|
280
|
+
client: AuthenticatedClient,
|
|
281
|
+
uuid: None | str | Unset = UNSET,
|
|
282
|
+
alias: None | str | Unset = UNSET,
|
|
283
|
+
uploader: None | str | Unset = UNSET,
|
|
284
|
+
operator: None | str | Unset = UNSET,
|
|
285
|
+
patch_id: None | str | Unset = UNSET,
|
|
286
|
+
patch_name: None | str | Unset = UNSET,
|
|
287
|
+
episode_id: None | str | Unset = UNSET,
|
|
288
|
+
collection_method: None | str | Unset = UNSET,
|
|
289
|
+
collector_type: None | str | Unset = UNSET,
|
|
290
|
+
collector_id: None | str | Unset = UNSET,
|
|
291
|
+
task_id: None | str | Unset = UNSET,
|
|
292
|
+
task_success: int | None | Unset = UNSET,
|
|
293
|
+
finetune: int | None | Unset = UNSET,
|
|
294
|
+
isreal: int | None | Unset = UNSET,
|
|
295
|
+
lable_info: None | str | Unset = UNSET,
|
|
296
|
+
scene_type: None | str | Unset = UNSET,
|
|
297
|
+
review_status: None | str | Unset = UNSET,
|
|
298
|
+
reviewer: None | str | Unset = UNSET,
|
|
299
|
+
uploaded: bool | None | Unset = UNSET,
|
|
300
|
+
dataset_uuid: None | str | Unset = UNSET,
|
|
301
|
+
time_field: str | Unset = "upload_time",
|
|
302
|
+
start_ts: int | None | Unset = UNSET,
|
|
303
|
+
end_ts: int | None | Unset = UNSET,
|
|
304
|
+
label: None | str | Unset = UNSET,
|
|
305
|
+
checker_result: None | str | Unset = UNSET,
|
|
306
|
+
sort: None | str | Unset = UNSET,
|
|
307
|
+
order: None | str | Unset = UNSET,
|
|
308
|
+
with_total: bool | Unset = False,
|
|
309
|
+
page: int | Unset = 1,
|
|
310
|
+
size: int | Unset = 10,
|
|
311
|
+
) -> Response[Any | HTTPValidationError]:
|
|
312
|
+
"""List Singledata
|
|
313
|
+
|
|
314
|
+
查找数据列表
|
|
315
|
+
|
|
316
|
+
Args:
|
|
317
|
+
uuid (None | str | Unset):
|
|
318
|
+
alias (None | str | Unset):
|
|
319
|
+
uploader (None | str | Unset):
|
|
320
|
+
operator (None | str | Unset):
|
|
321
|
+
patch_id (None | str | Unset):
|
|
322
|
+
patch_name (None | str | Unset):
|
|
323
|
+
episode_id (None | str | Unset):
|
|
324
|
+
collection_method (None | str | Unset):
|
|
325
|
+
collector_type (None | str | Unset):
|
|
326
|
+
collector_id (None | str | Unset):
|
|
327
|
+
task_id (None | str | Unset):
|
|
328
|
+
task_success (int | None | Unset):
|
|
329
|
+
finetune (int | None | Unset):
|
|
330
|
+
isreal (int | None | Unset):
|
|
331
|
+
lable_info (None | str | Unset):
|
|
332
|
+
scene_type (None | str | Unset):
|
|
333
|
+
review_status (None | str | Unset):
|
|
334
|
+
reviewer (None | str | Unset):
|
|
335
|
+
uploaded (bool | None | Unset):
|
|
336
|
+
dataset_uuid (None | str | Unset):
|
|
337
|
+
time_field (str | Unset): Default: 'upload_time'.
|
|
338
|
+
start_ts (int | None | Unset):
|
|
339
|
+
end_ts (int | None | Unset):
|
|
340
|
+
label (None | str | Unset):
|
|
341
|
+
checker_result (None | str | Unset):
|
|
342
|
+
sort (None | str | Unset):
|
|
343
|
+
order (None | str | Unset):
|
|
344
|
+
with_total (bool | Unset): Default: False.
|
|
345
|
+
page (int | Unset): Default: 1.
|
|
346
|
+
size (int | Unset): Default: 10.
|
|
347
|
+
|
|
348
|
+
Raises:
|
|
349
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
350
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
351
|
+
|
|
352
|
+
Returns:
|
|
353
|
+
Response[Any | HTTPValidationError]
|
|
354
|
+
"""
|
|
355
|
+
|
|
356
|
+
kwargs = _get_kwargs(
|
|
357
|
+
uuid=uuid,
|
|
358
|
+
alias=alias,
|
|
359
|
+
uploader=uploader,
|
|
360
|
+
operator=operator,
|
|
361
|
+
patch_id=patch_id,
|
|
362
|
+
patch_name=patch_name,
|
|
363
|
+
episode_id=episode_id,
|
|
364
|
+
collection_method=collection_method,
|
|
365
|
+
collector_type=collector_type,
|
|
366
|
+
collector_id=collector_id,
|
|
367
|
+
task_id=task_id,
|
|
368
|
+
task_success=task_success,
|
|
369
|
+
finetune=finetune,
|
|
370
|
+
isreal=isreal,
|
|
371
|
+
lable_info=lable_info,
|
|
372
|
+
scene_type=scene_type,
|
|
373
|
+
review_status=review_status,
|
|
374
|
+
reviewer=reviewer,
|
|
375
|
+
uploaded=uploaded,
|
|
376
|
+
dataset_uuid=dataset_uuid,
|
|
377
|
+
time_field=time_field,
|
|
378
|
+
start_ts=start_ts,
|
|
379
|
+
end_ts=end_ts,
|
|
380
|
+
label=label,
|
|
381
|
+
checker_result=checker_result,
|
|
382
|
+
sort=sort,
|
|
383
|
+
order=order,
|
|
384
|
+
with_total=with_total,
|
|
385
|
+
page=page,
|
|
386
|
+
size=size,
|
|
387
|
+
)
|
|
388
|
+
|
|
389
|
+
response = client.get_httpx_client().request(
|
|
390
|
+
**kwargs,
|
|
391
|
+
)
|
|
392
|
+
|
|
393
|
+
return _build_response(client=client, response=response)
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
def sync(
|
|
397
|
+
*,
|
|
398
|
+
client: AuthenticatedClient,
|
|
399
|
+
uuid: None | str | Unset = UNSET,
|
|
400
|
+
alias: None | str | Unset = UNSET,
|
|
401
|
+
uploader: None | str | Unset = UNSET,
|
|
402
|
+
operator: None | str | Unset = UNSET,
|
|
403
|
+
patch_id: None | str | Unset = UNSET,
|
|
404
|
+
patch_name: None | str | Unset = UNSET,
|
|
405
|
+
episode_id: None | str | Unset = UNSET,
|
|
406
|
+
collection_method: None | str | Unset = UNSET,
|
|
407
|
+
collector_type: None | str | Unset = UNSET,
|
|
408
|
+
collector_id: None | str | Unset = UNSET,
|
|
409
|
+
task_id: None | str | Unset = UNSET,
|
|
410
|
+
task_success: int | None | Unset = UNSET,
|
|
411
|
+
finetune: int | None | Unset = UNSET,
|
|
412
|
+
isreal: int | None | Unset = UNSET,
|
|
413
|
+
lable_info: None | str | Unset = UNSET,
|
|
414
|
+
scene_type: None | str | Unset = UNSET,
|
|
415
|
+
review_status: None | str | Unset = UNSET,
|
|
416
|
+
reviewer: None | str | Unset = UNSET,
|
|
417
|
+
uploaded: bool | None | Unset = UNSET,
|
|
418
|
+
dataset_uuid: None | str | Unset = UNSET,
|
|
419
|
+
time_field: str | Unset = "upload_time",
|
|
420
|
+
start_ts: int | None | Unset = UNSET,
|
|
421
|
+
end_ts: int | None | Unset = UNSET,
|
|
422
|
+
label: None | str | Unset = UNSET,
|
|
423
|
+
checker_result: None | str | Unset = UNSET,
|
|
424
|
+
sort: None | str | Unset = UNSET,
|
|
425
|
+
order: None | str | Unset = UNSET,
|
|
426
|
+
with_total: bool | Unset = False,
|
|
427
|
+
page: int | Unset = 1,
|
|
428
|
+
size: int | Unset = 10,
|
|
429
|
+
) -> Any | HTTPValidationError | None:
|
|
430
|
+
"""List Singledata
|
|
431
|
+
|
|
432
|
+
查找数据列表
|
|
433
|
+
|
|
434
|
+
Args:
|
|
435
|
+
uuid (None | str | Unset):
|
|
436
|
+
alias (None | str | Unset):
|
|
437
|
+
uploader (None | str | Unset):
|
|
438
|
+
operator (None | str | Unset):
|
|
439
|
+
patch_id (None | str | Unset):
|
|
440
|
+
patch_name (None | str | Unset):
|
|
441
|
+
episode_id (None | str | Unset):
|
|
442
|
+
collection_method (None | str | Unset):
|
|
443
|
+
collector_type (None | str | Unset):
|
|
444
|
+
collector_id (None | str | Unset):
|
|
445
|
+
task_id (None | str | Unset):
|
|
446
|
+
task_success (int | None | Unset):
|
|
447
|
+
finetune (int | None | Unset):
|
|
448
|
+
isreal (int | None | Unset):
|
|
449
|
+
lable_info (None | str | Unset):
|
|
450
|
+
scene_type (None | str | Unset):
|
|
451
|
+
review_status (None | str | Unset):
|
|
452
|
+
reviewer (None | str | Unset):
|
|
453
|
+
uploaded (bool | None | Unset):
|
|
454
|
+
dataset_uuid (None | str | Unset):
|
|
455
|
+
time_field (str | Unset): Default: 'upload_time'.
|
|
456
|
+
start_ts (int | None | Unset):
|
|
457
|
+
end_ts (int | None | Unset):
|
|
458
|
+
label (None | str | Unset):
|
|
459
|
+
checker_result (None | str | Unset):
|
|
460
|
+
sort (None | str | Unset):
|
|
461
|
+
order (None | str | Unset):
|
|
462
|
+
with_total (bool | Unset): Default: False.
|
|
463
|
+
page (int | Unset): Default: 1.
|
|
464
|
+
size (int | Unset): Default: 10.
|
|
465
|
+
|
|
466
|
+
Raises:
|
|
467
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
468
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
469
|
+
|
|
470
|
+
Returns:
|
|
471
|
+
Any | HTTPValidationError
|
|
472
|
+
"""
|
|
473
|
+
|
|
474
|
+
return sync_detailed(
|
|
475
|
+
client=client,
|
|
476
|
+
uuid=uuid,
|
|
477
|
+
alias=alias,
|
|
478
|
+
uploader=uploader,
|
|
479
|
+
operator=operator,
|
|
480
|
+
patch_id=patch_id,
|
|
481
|
+
patch_name=patch_name,
|
|
482
|
+
episode_id=episode_id,
|
|
483
|
+
collection_method=collection_method,
|
|
484
|
+
collector_type=collector_type,
|
|
485
|
+
collector_id=collector_id,
|
|
486
|
+
task_id=task_id,
|
|
487
|
+
task_success=task_success,
|
|
488
|
+
finetune=finetune,
|
|
489
|
+
isreal=isreal,
|
|
490
|
+
lable_info=lable_info,
|
|
491
|
+
scene_type=scene_type,
|
|
492
|
+
review_status=review_status,
|
|
493
|
+
reviewer=reviewer,
|
|
494
|
+
uploaded=uploaded,
|
|
495
|
+
dataset_uuid=dataset_uuid,
|
|
496
|
+
time_field=time_field,
|
|
497
|
+
start_ts=start_ts,
|
|
498
|
+
end_ts=end_ts,
|
|
499
|
+
label=label,
|
|
500
|
+
checker_result=checker_result,
|
|
501
|
+
sort=sort,
|
|
502
|
+
order=order,
|
|
503
|
+
with_total=with_total,
|
|
504
|
+
page=page,
|
|
505
|
+
size=size,
|
|
506
|
+
).parsed
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
async def asyncio_detailed(
|
|
510
|
+
*,
|
|
511
|
+
client: AuthenticatedClient,
|
|
512
|
+
uuid: None | str | Unset = UNSET,
|
|
513
|
+
alias: None | str | Unset = UNSET,
|
|
514
|
+
uploader: None | str | Unset = UNSET,
|
|
515
|
+
operator: None | str | Unset = UNSET,
|
|
516
|
+
patch_id: None | str | Unset = UNSET,
|
|
517
|
+
patch_name: None | str | Unset = UNSET,
|
|
518
|
+
episode_id: None | str | Unset = UNSET,
|
|
519
|
+
collection_method: None | str | Unset = UNSET,
|
|
520
|
+
collector_type: None | str | Unset = UNSET,
|
|
521
|
+
collector_id: None | str | Unset = UNSET,
|
|
522
|
+
task_id: None | str | Unset = UNSET,
|
|
523
|
+
task_success: int | None | Unset = UNSET,
|
|
524
|
+
finetune: int | None | Unset = UNSET,
|
|
525
|
+
isreal: int | None | Unset = UNSET,
|
|
526
|
+
lable_info: None | str | Unset = UNSET,
|
|
527
|
+
scene_type: None | str | Unset = UNSET,
|
|
528
|
+
review_status: None | str | Unset = UNSET,
|
|
529
|
+
reviewer: None | str | Unset = UNSET,
|
|
530
|
+
uploaded: bool | None | Unset = UNSET,
|
|
531
|
+
dataset_uuid: None | str | Unset = UNSET,
|
|
532
|
+
time_field: str | Unset = "upload_time",
|
|
533
|
+
start_ts: int | None | Unset = UNSET,
|
|
534
|
+
end_ts: int | None | Unset = UNSET,
|
|
535
|
+
label: None | str | Unset = UNSET,
|
|
536
|
+
checker_result: None | str | Unset = UNSET,
|
|
537
|
+
sort: None | str | Unset = UNSET,
|
|
538
|
+
order: None | str | Unset = UNSET,
|
|
539
|
+
with_total: bool | Unset = False,
|
|
540
|
+
page: int | Unset = 1,
|
|
541
|
+
size: int | Unset = 10,
|
|
542
|
+
) -> Response[Any | HTTPValidationError]:
|
|
543
|
+
"""List Singledata
|
|
544
|
+
|
|
545
|
+
查找数据列表
|
|
546
|
+
|
|
547
|
+
Args:
|
|
548
|
+
uuid (None | str | Unset):
|
|
549
|
+
alias (None | str | Unset):
|
|
550
|
+
uploader (None | str | Unset):
|
|
551
|
+
operator (None | str | Unset):
|
|
552
|
+
patch_id (None | str | Unset):
|
|
553
|
+
patch_name (None | str | Unset):
|
|
554
|
+
episode_id (None | str | Unset):
|
|
555
|
+
collection_method (None | str | Unset):
|
|
556
|
+
collector_type (None | str | Unset):
|
|
557
|
+
collector_id (None | str | Unset):
|
|
558
|
+
task_id (None | str | Unset):
|
|
559
|
+
task_success (int | None | Unset):
|
|
560
|
+
finetune (int | None | Unset):
|
|
561
|
+
isreal (int | None | Unset):
|
|
562
|
+
lable_info (None | str | Unset):
|
|
563
|
+
scene_type (None | str | Unset):
|
|
564
|
+
review_status (None | str | Unset):
|
|
565
|
+
reviewer (None | str | Unset):
|
|
566
|
+
uploaded (bool | None | Unset):
|
|
567
|
+
dataset_uuid (None | str | Unset):
|
|
568
|
+
time_field (str | Unset): Default: 'upload_time'.
|
|
569
|
+
start_ts (int | None | Unset):
|
|
570
|
+
end_ts (int | None | Unset):
|
|
571
|
+
label (None | str | Unset):
|
|
572
|
+
checker_result (None | str | Unset):
|
|
573
|
+
sort (None | str | Unset):
|
|
574
|
+
order (None | str | Unset):
|
|
575
|
+
with_total (bool | Unset): Default: False.
|
|
576
|
+
page (int | Unset): Default: 1.
|
|
577
|
+
size (int | Unset): Default: 10.
|
|
578
|
+
|
|
579
|
+
Raises:
|
|
580
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
581
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
582
|
+
|
|
583
|
+
Returns:
|
|
584
|
+
Response[Any | HTTPValidationError]
|
|
585
|
+
"""
|
|
586
|
+
|
|
587
|
+
kwargs = _get_kwargs(
|
|
588
|
+
uuid=uuid,
|
|
589
|
+
alias=alias,
|
|
590
|
+
uploader=uploader,
|
|
591
|
+
operator=operator,
|
|
592
|
+
patch_id=patch_id,
|
|
593
|
+
patch_name=patch_name,
|
|
594
|
+
episode_id=episode_id,
|
|
595
|
+
collection_method=collection_method,
|
|
596
|
+
collector_type=collector_type,
|
|
597
|
+
collector_id=collector_id,
|
|
598
|
+
task_id=task_id,
|
|
599
|
+
task_success=task_success,
|
|
600
|
+
finetune=finetune,
|
|
601
|
+
isreal=isreal,
|
|
602
|
+
lable_info=lable_info,
|
|
603
|
+
scene_type=scene_type,
|
|
604
|
+
review_status=review_status,
|
|
605
|
+
reviewer=reviewer,
|
|
606
|
+
uploaded=uploaded,
|
|
607
|
+
dataset_uuid=dataset_uuid,
|
|
608
|
+
time_field=time_field,
|
|
609
|
+
start_ts=start_ts,
|
|
610
|
+
end_ts=end_ts,
|
|
611
|
+
label=label,
|
|
612
|
+
checker_result=checker_result,
|
|
613
|
+
sort=sort,
|
|
614
|
+
order=order,
|
|
615
|
+
with_total=with_total,
|
|
616
|
+
page=page,
|
|
617
|
+
size=size,
|
|
618
|
+
)
|
|
619
|
+
|
|
620
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
621
|
+
|
|
622
|
+
return _build_response(client=client, response=response)
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
async def asyncio(
|
|
626
|
+
*,
|
|
627
|
+
client: AuthenticatedClient,
|
|
628
|
+
uuid: None | str | Unset = UNSET,
|
|
629
|
+
alias: None | str | Unset = UNSET,
|
|
630
|
+
uploader: None | str | Unset = UNSET,
|
|
631
|
+
operator: None | str | Unset = UNSET,
|
|
632
|
+
patch_id: None | str | Unset = UNSET,
|
|
633
|
+
patch_name: None | str | Unset = UNSET,
|
|
634
|
+
episode_id: None | str | Unset = UNSET,
|
|
635
|
+
collection_method: None | str | Unset = UNSET,
|
|
636
|
+
collector_type: None | str | Unset = UNSET,
|
|
637
|
+
collector_id: None | str | Unset = UNSET,
|
|
638
|
+
task_id: None | str | Unset = UNSET,
|
|
639
|
+
task_success: int | None | Unset = UNSET,
|
|
640
|
+
finetune: int | None | Unset = UNSET,
|
|
641
|
+
isreal: int | None | Unset = UNSET,
|
|
642
|
+
lable_info: None | str | Unset = UNSET,
|
|
643
|
+
scene_type: None | str | Unset = UNSET,
|
|
644
|
+
review_status: None | str | Unset = UNSET,
|
|
645
|
+
reviewer: None | str | Unset = UNSET,
|
|
646
|
+
uploaded: bool | None | Unset = UNSET,
|
|
647
|
+
dataset_uuid: None | str | Unset = UNSET,
|
|
648
|
+
time_field: str | Unset = "upload_time",
|
|
649
|
+
start_ts: int | None | Unset = UNSET,
|
|
650
|
+
end_ts: int | None | Unset = UNSET,
|
|
651
|
+
label: None | str | Unset = UNSET,
|
|
652
|
+
checker_result: None | str | Unset = UNSET,
|
|
653
|
+
sort: None | str | Unset = UNSET,
|
|
654
|
+
order: None | str | Unset = UNSET,
|
|
655
|
+
with_total: bool | Unset = False,
|
|
656
|
+
page: int | Unset = 1,
|
|
657
|
+
size: int | Unset = 10,
|
|
658
|
+
) -> Any | HTTPValidationError | None:
|
|
659
|
+
"""List Singledata
|
|
660
|
+
|
|
661
|
+
查找数据列表
|
|
662
|
+
|
|
663
|
+
Args:
|
|
664
|
+
uuid (None | str | Unset):
|
|
665
|
+
alias (None | str | Unset):
|
|
666
|
+
uploader (None | str | Unset):
|
|
667
|
+
operator (None | str | Unset):
|
|
668
|
+
patch_id (None | str | Unset):
|
|
669
|
+
patch_name (None | str | Unset):
|
|
670
|
+
episode_id (None | str | Unset):
|
|
671
|
+
collection_method (None | str | Unset):
|
|
672
|
+
collector_type (None | str | Unset):
|
|
673
|
+
collector_id (None | str | Unset):
|
|
674
|
+
task_id (None | str | Unset):
|
|
675
|
+
task_success (int | None | Unset):
|
|
676
|
+
finetune (int | None | Unset):
|
|
677
|
+
isreal (int | None | Unset):
|
|
678
|
+
lable_info (None | str | Unset):
|
|
679
|
+
scene_type (None | str | Unset):
|
|
680
|
+
review_status (None | str | Unset):
|
|
681
|
+
reviewer (None | str | Unset):
|
|
682
|
+
uploaded (bool | None | Unset):
|
|
683
|
+
dataset_uuid (None | str | Unset):
|
|
684
|
+
time_field (str | Unset): Default: 'upload_time'.
|
|
685
|
+
start_ts (int | None | Unset):
|
|
686
|
+
end_ts (int | None | Unset):
|
|
687
|
+
label (None | str | Unset):
|
|
688
|
+
checker_result (None | str | Unset):
|
|
689
|
+
sort (None | str | Unset):
|
|
690
|
+
order (None | str | Unset):
|
|
691
|
+
with_total (bool | Unset): Default: False.
|
|
692
|
+
page (int | Unset): Default: 1.
|
|
693
|
+
size (int | Unset): Default: 10.
|
|
694
|
+
|
|
695
|
+
Raises:
|
|
696
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
697
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
698
|
+
|
|
699
|
+
Returns:
|
|
700
|
+
Any | HTTPValidationError
|
|
701
|
+
"""
|
|
702
|
+
|
|
703
|
+
return (
|
|
704
|
+
await asyncio_detailed(
|
|
705
|
+
client=client,
|
|
706
|
+
uuid=uuid,
|
|
707
|
+
alias=alias,
|
|
708
|
+
uploader=uploader,
|
|
709
|
+
operator=operator,
|
|
710
|
+
patch_id=patch_id,
|
|
711
|
+
patch_name=patch_name,
|
|
712
|
+
episode_id=episode_id,
|
|
713
|
+
collection_method=collection_method,
|
|
714
|
+
collector_type=collector_type,
|
|
715
|
+
collector_id=collector_id,
|
|
716
|
+
task_id=task_id,
|
|
717
|
+
task_success=task_success,
|
|
718
|
+
finetune=finetune,
|
|
719
|
+
isreal=isreal,
|
|
720
|
+
lable_info=lable_info,
|
|
721
|
+
scene_type=scene_type,
|
|
722
|
+
review_status=review_status,
|
|
723
|
+
reviewer=reviewer,
|
|
724
|
+
uploaded=uploaded,
|
|
725
|
+
dataset_uuid=dataset_uuid,
|
|
726
|
+
time_field=time_field,
|
|
727
|
+
start_ts=start_ts,
|
|
728
|
+
end_ts=end_ts,
|
|
729
|
+
label=label,
|
|
730
|
+
checker_result=checker_result,
|
|
731
|
+
sort=sort,
|
|
732
|
+
order=order,
|
|
733
|
+
with_total=with_total,
|
|
734
|
+
page=page,
|
|
735
|
+
size=size,
|
|
736
|
+
)
|
|
737
|
+
).parsed
|