Skip to content

Commit e49fce0

Browse files
xgchenaJoseJuan98
authored andcommitted
fix: Remove content type image/jpg from analysis configuration schema (aws#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 4544074 commit e49fce0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/sagemaker/clarify.py

-1
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)