File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ AuthenticationFailure
2+ BadImage
3+ ImageTooLarge
4+ MetadataTooLarge
5+ ProjectInactive
6+ TargetNameExist
17Ubuntu
28UnknownTarget
39api
@@ -19,6 +25,7 @@ filename
1925foo
2026formdata
2127github
28+ grayscale
2229greyscale
2330hexdigits
2431hmac
3542kwargs
3643linters
3744linting
38- linting
3945macOS
4046mb
4147metadata
Original file line number Diff line number Diff line change @@ -211,9 +211,12 @@ def add_target(
211211 RGB color space.
212212 ~vws.exceptions.Fail: There was an error with the request. For
213213 example, the given access key does not match a known database.
214+ ~vws.exceptions.MetadataTooLarge: The given metadata is too large.
215+ The maximum size is 1 MB of data when Base64 encoded.
214216 ~vws.exceptions.ImageTooLarge: The given image is too large.
215217 ~vws.exceptions.TargetNameExist: A target with the given ``name``
216218 already exists.
219+ ~vws.exceptions.ProjectInactive: The project is inactive.
217220 """
218221 image_data = image .getvalue ()
219222 image_data_encoded = base64 .b64encode (image_data ).decode ('ascii' )
You can’t perform that action at this time.
0 commit comments