Skip to content

Commit ce48f6c

Browse files
authored
fix: add optional type field to bucket metadata (#380)
1 parent ed6a2fb commit ce48f6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage3/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class BaseBucket:
2121
updated_at: datetime
2222
file_size_limit: Optional[int]
2323
allowed_mime_types: Optional[list[str]]
24+
type: Optional[str] = None
2425

2526
def __post_init__(self) -> None:
2627
# created_at and updated_at are returned by the API as ISO timestamps

0 commit comments

Comments
 (0)