Skip to content

Commit 5af4feb

Browse files
authored
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 d6c0214 commit 5af4feb

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)