update_image_set_metadata
¶
update_image_set_metadata(
datastore_id: DatastoreId,
image_set_id: ImageSetId,
latest_version_id: ImageSetExternalVersionId,
update_image_set_metadata_updates: MetadataUpdates,
*,
config_overrides: Optional[MedicalImagingClientConfig] = None,
force: Optional[bool] = None,
include_study_image_sets: Optional[bool] = None,
) -> UpdateImageSetMetadataResponse
Update image set metadata attributes.
Parameters:
-
datastore_id(DatastoreId) –The data store identifier.
-
image_set_id(ImageSetId) –The image set identifier.
-
latest_version_id(ImageSetExternalVersionId) –The latest image set version identifier.
-
force(Optional[bool], default:None) –Setting this flag will force the
UpdateImageSetMetadataoperation for the following attributes:-
Tag.StudyInstanceUID,Tag.SeriesInstanceUID,Tag.SOPInstanceUID, andTag.StudyID -
Adding, removing, or updating private tags for an individual SOP Instance
-
-
include_study_image_sets(Optional[bool], default:None) –Flag to apply the metadata updates to all image sets in the same Study as the requested image set ID.
-
update_image_set_metadata_updates(MetadataUpdates) –Update image set metadata updates.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred during processing of the request.
-
ResourceNotFoundException–The request references a resource which does not exist.
-
ServiceQuotaExceededException–The request caused a service quota to be exceeded.
-
ThrottlingException–The request was denied due to throttling.
-
ValidationException–The input fails to satisfy the constraints set by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medical_imaging/_services/medical_imaging.py
1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 | |