We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ae375 commit 6e3f209Copy full SHA for 6e3f209
1 file changed
src/imagekitio/lib/serialization_utils.py
@@ -37,7 +37,7 @@ def serialize_upload_options(upload_options: Dict[str, Any]) -> Dict[str, Any]:
37
elif key == "extensions" and isinstance(value, list):
38
# Extensions should be JSON stringified
39
serialized[key] = json.dumps(value)
40
- elif key == "custom_metadata" and isinstance(value, dict) and not isinstance(value, (list, tuple)):
+ elif key == "custom_metadata" and isinstance(value, dict):
41
# Custom metadata should be JSON stringified
42
43
elif key == "transformation" and isinstance(value, dict):
0 commit comments