Skip to content

Commit ca567e9

Browse files
fix: older python versions are broken due to NotRequired (#344)
1 parent 8ef8f5f commit ca567e9

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
@@ -2,7 +2,7 @@
22

33
from dataclasses import asdict, dataclass
44
from datetime import datetime
5-
from typing import Any, Dict, Literal, NotRequired, Optional, TypedDict, Union
5+
from typing import Any, Dict, Literal, Optional, TypedDict, Union
66

77
import dateutil.parser
88

@@ -115,7 +115,7 @@ class SignedUrlResponse(TypedDict):
115115

116116

117117
class CreateSignedUrlResponse(TypedDict):
118-
error: NotRequired[str]
118+
error: Optional[str]
119119
path: str
120120
signedURL: str
121121
signedUrl: str

0 commit comments

Comments
 (0)