Skip to content

Commit 73997bc

Browse files
authored
Merge pull request xtekky#2418 from hlohaus/arm3
Fix typing issue
2 parents 2fb0163 + 1b7f89f commit 73997bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

g4f/client/stubs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@ def model_construct(cls, url: str = None, b64_json: str = None, revised_prompt:
133133
))
134134

135135
class ImagesResponse(BaseModel):
136-
data: list[Image]
136+
data: List[Image]
137137
model: str
138138
provider: str
139139
created: int
140140

141141
@classmethod
142-
def model_construct(cls, data: list[Image], created: int = None, model: str = None, provider: str = None):
142+
def model_construct(cls, data: List[Image], created: int = None, model: str = None, provider: str = None):
143143
if created is None:
144144
created = int(time())
145145
return super().model_construct(

0 commit comments

Comments
 (0)