Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit f4005fd

Browse files
fix: switch from | to Union
1 parent c5e5aba commit f4005fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage3/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ class ListBucketFilesOptions(TypedDict):
4141
class TransformOptions(TypedDict):
4242
height: Optional[float]
4343
width: Optional[float]
44-
resize: Optional[Literal["cover"] | Literal["contain"] | Literal["fill"]]
44+
resize: Optional[Union[Literal["cover"], Literal["contain"], Literal["fill"]]]
4545

4646

4747
class CreateSignedURLOptions(TypedDict):
48-
download: Optional[str | bool]
48+
download: Optional[Union[str,bool]]
4949
transform: Optional[TransformOptions]

0 commit comments

Comments
 (0)