@@ -31,7 +31,7 @@ def create_task(
31
31
llm : typing .Optional [SupportedLlMs ] = OMIT ,
32
32
start_url : typing .Optional [str ] = OMIT ,
33
33
max_steps : typing .Optional [int ] = OMIT ,
34
- schema : type [T ],
34
+ schema : typing . Type [T ],
35
35
session_id : typing .Optional [str ] = OMIT ,
36
36
metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
37
37
secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -73,7 +73,7 @@ def create_task(
73
73
start_url : typing .Optional [str ] = OMIT ,
74
74
max_steps : typing .Optional [int ] = OMIT ,
75
75
structured_output : typing .Optional [str ] = OMIT ,
76
- schema : typing .Optional [type [BaseModel ]] = OMIT ,
76
+ schema : typing .Optional [typing . Type [BaseModel ]] = OMIT ,
77
77
session_id : typing .Optional [str ] = OMIT ,
78
78
metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
79
79
secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -131,7 +131,7 @@ def create_task(
131
131
132
132
@typing .overload
133
133
def get_task (
134
- self , task_id : str , schema : type [T ], * , request_options : typing .Optional [RequestOptions ] = None
134
+ self , task_id : str , schema : typing . Type [T ], * , request_options : typing .Optional [RequestOptions ] = None
135
135
) -> TaskViewWithOutput [T ]: ...
136
136
137
137
@typing .overload
@@ -140,7 +140,7 @@ def get_task(self, task_id: str, *, request_options: typing.Optional[RequestOpti
140
140
def get_task (
141
141
self ,
142
142
task_id : str ,
143
- schema : typing .Optional [typing .Union [type [BaseModel ], str ]] = OMIT ,
143
+ schema : typing .Optional [typing .Union [typing . Type [BaseModel ], str ]] = OMIT ,
144
144
* ,
145
145
request_options : typing .Optional [RequestOptions ] = None ,
146
146
) -> typing .Union [TaskViewWithOutput [T ], TaskView ]:
@@ -167,7 +167,7 @@ async def create_task(
167
167
llm : typing .Optional [SupportedLlMs ] = OMIT ,
168
168
start_url : typing .Optional [str ] = OMIT ,
169
169
max_steps : typing .Optional [int ] = OMIT ,
170
- schema : type [T ],
170
+ schema : typing . Type [T ],
171
171
session_id : typing .Optional [str ] = OMIT ,
172
172
metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
173
173
secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -209,7 +209,7 @@ async def create_task(
209
209
start_url : typing .Optional [str ] = OMIT ,
210
210
max_steps : typing .Optional [int ] = OMIT ,
211
211
structured_output : typing .Optional [str ] = OMIT ,
212
- schema : typing .Optional [type [BaseModel ]] = OMIT ,
212
+ schema : typing .Optional [typing . Type [BaseModel ]] = OMIT ,
213
213
session_id : typing .Optional [str ] = OMIT ,
214
214
metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
215
215
secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -265,7 +265,7 @@ async def create_task(
265
265
266
266
@typing .overload
267
267
async def get_task (
268
- self , task_id : str , schema : type [T ], * , request_options : typing .Optional [RequestOptions ] = None
268
+ self , task_id : str , schema : typing . Type [T ], * , request_options : typing .Optional [RequestOptions ] = None
269
269
) -> TaskViewWithOutput [T ]: ...
270
270
271
271
@typing .overload
@@ -274,7 +274,7 @@ async def get_task(self, task_id: str, *, request_options: typing.Optional[Reque
274
274
async def get_task (
275
275
self ,
276
276
task_id : str ,
277
- schema : typing .Optional [typing .Union [type [BaseModel ], str ]] = OMIT ,
277
+ schema : typing .Optional [typing .Union [typing . Type [BaseModel ], str ]] = OMIT ,
278
278
* ,
279
279
request_options : typing .Optional [RequestOptions ] = None ,
280
280
) -> typing .Union [TaskViewWithOutput [T ], TaskView ]:
0 commit comments