Skip to content

Commit

Permalink
fix: switch from | to Union
Browse files Browse the repository at this point in the history
  • Loading branch information
joel@joellee.org committed Jan 6, 2023
1 parent c5e5aba commit f4005fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage3/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class ListBucketFilesOptions(TypedDict):
class TransformOptions(TypedDict):
height: Optional[float]
width: Optional[float]
resize: Optional[Literal["cover"] | Literal["contain"] | Literal["fill"]]
resize: Optional[Union[Literal["cover"], Literal["contain"], Literal["fill"]]]


class CreateSignedURLOptions(TypedDict):
download: Optional[str | bool]
download: Optional[Union[str,bool]]
transform: Optional[TransformOptions]

0 comments on commit f4005fd

Please sign in to comment.