Skip to content

Commit 40a59d4

Browse files
xgchenamufiAmazon
authored andcommitted
fix: Remove content type image/jpg from analysis configuration schema (#3530)
Currently the analysis configuration schema of SageMaker Clarify API allows the content_type configuration "image/jpeg" and "image/jpg", but the service side validation only accepts the former which is the registered MIME type for JPEG (see rfc3745 and JPEG specification). The commit removes the latter from the schema to avoid confusion and enable early API validation.
1 parent 3a42f7b commit 40a59d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/sagemaker/clarify.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@
282282
"text/csv",
283283
"application/jsonlines",
284284
"image/jpeg",
285-
"image/jpg",
286285
"image/png",
287286
"application/x-npy",
288287
),

0 commit comments

Comments
 (0)