Skip to content

Commit 92a3a5f

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
ANKUR DWIVEDI
authored and
ANKUR DWIVEDI
committed
added checks
1 parent 5ae792c commit 92a3a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imagekitio/models/UploadFileRequestOptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ def __init__(
4949
self.custom_metadata = custom_metadata
5050
if transformation is not None:
5151
self.transformation = transformation
52-
if checks is not None:
52+
if checks is not None and isinstance(checks, str):
5353
self.checks = checks

0 commit comments

Comments
 (0)