@@ -31,7 +31,7 @@ def create_task(
3131 llm : typing .Optional [SupportedLlMs ] = OMIT ,
3232 start_url : typing .Optional [str ] = OMIT ,
3333 max_steps : typing .Optional [int ] = OMIT ,
34- schema : type [T ],
34+ schema : typing . Type [T ],
3535 session_id : typing .Optional [str ] = OMIT ,
3636 metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
3737 secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -73,7 +73,7 @@ def create_task(
7373 start_url : typing .Optional [str ] = OMIT ,
7474 max_steps : typing .Optional [int ] = OMIT ,
7575 structured_output : typing .Optional [str ] = OMIT ,
76- schema : typing .Optional [type [BaseModel ]] = OMIT ,
76+ schema : typing .Optional [typing . Type [BaseModel ]] = OMIT ,
7777 session_id : typing .Optional [str ] = OMIT ,
7878 metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
7979 secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -131,7 +131,7 @@ def create_task(
131131
132132 @typing .overload
133133 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
135135 ) -> TaskViewWithOutput [T ]: ...
136136
137137 @typing .overload
@@ -140,7 +140,7 @@ def get_task(self, task_id: str, *, request_options: typing.Optional[RequestOpti
140140 def get_task (
141141 self ,
142142 task_id : str ,
143- schema : typing .Optional [typing .Union [type [BaseModel ], str ]] = OMIT ,
143+ schema : typing .Optional [typing .Union [typing . Type [BaseModel ], str ]] = OMIT ,
144144 * ,
145145 request_options : typing .Optional [RequestOptions ] = None ,
146146 ) -> typing .Union [TaskViewWithOutput [T ], TaskView ]:
@@ -167,7 +167,7 @@ async def create_task(
167167 llm : typing .Optional [SupportedLlMs ] = OMIT ,
168168 start_url : typing .Optional [str ] = OMIT ,
169169 max_steps : typing .Optional [int ] = OMIT ,
170- schema : type [T ],
170+ schema : typing . Type [T ],
171171 session_id : typing .Optional [str ] = OMIT ,
172172 metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
173173 secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -209,7 +209,7 @@ async def create_task(
209209 start_url : typing .Optional [str ] = OMIT ,
210210 max_steps : typing .Optional [int ] = OMIT ,
211211 structured_output : typing .Optional [str ] = OMIT ,
212- schema : typing .Optional [type [BaseModel ]] = OMIT ,
212+ schema : typing .Optional [typing . Type [BaseModel ]] = OMIT ,
213213 session_id : typing .Optional [str ] = OMIT ,
214214 metadata : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
215215 secrets : typing .Optional [typing .Dict [str , typing .Optional [str ]]] = OMIT ,
@@ -265,7 +265,7 @@ async def create_task(
265265
266266 @typing .overload
267267 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
269269 ) -> TaskViewWithOutput [T ]: ...
270270
271271 @typing .overload
@@ -274,7 +274,7 @@ async def get_task(self, task_id: str, *, request_options: typing.Optional[Reque
274274 async def get_task (
275275 self ,
276276 task_id : str ,
277- schema : typing .Optional [typing .Union [type [BaseModel ], str ]] = OMIT ,
277+ schema : typing .Optional [typing .Union [typing . Type [BaseModel ], str ]] = OMIT ,
278278 * ,
279279 request_options : typing .Optional [RequestOptions ] = None ,
280280 ) -> typing .Union [TaskViewWithOutput [T ], TaskView ]:
0 commit comments