File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2323 ProjectInactive ,
2424 TargetNameExist ,
2525 TargetProcessingTimeout ,
26- TargetStatusProcessing ,
2726 TargetStatusNotSuccess ,
27+ TargetStatusProcessing ,
2828 UnknownTarget ,
2929)
3030
@@ -510,16 +510,14 @@ def update_target(
510510 for parameter details.
511511
512512 Args:
513+ target_id: The ID of the target to get details of.
513514 name: The name of the target.
514515 width: The width of the target.
515516 image: The image of the target.
516517 active_flag: Whether or not the target is active for query.
517518 application_metadata: The application metadata of the target.
518519 This will be base64 encoded.
519520
520- Returns:
521- The target ID of the new target.
522-
523521 Raises:
524522 ~vws.exceptions.AuthenticationFailure: The secret key is not
525523 correct.
@@ -558,7 +556,7 @@ def update_target(
558556
559557 content = bytes (json .dumps (data ), encoding = 'utf-8' )
560558
561- response = self ._make_request (
559+ self ._make_request (
562560 method = 'PUT' ,
563561 content = content ,
564562 request_path = f'/targets/{ target_id } ' ,
Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ def test_authentication_failure(high_quality_image: io.BytesIO) -> None:
227227
228228 assert exc .value .response .status_code == codes .UNAUTHORIZED
229229
230+
230231def test_target_status_not_success (
231232 client : VWS ,
232233 high_quality_image : io .BytesIO ,
You can’t perform that action at this time.
0 commit comments