File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ class TaskResult(SchemaBase):
1919 """任务执行结果"""
2020
2121 result : str = Field (description = '任务执行结果' )
22- traceback : str = Field (description = '错误堆栈信息' )
22+ traceback : str | None = Field (None , description = '错误堆栈信息' )
2323 status : str = Field (description = '任务状态' )
24- name : str = Field (description = '任务名称' )
24+ name : str | None = Field (None , description = '任务名称' )
2525 args : list [Any ] | None = Field (None , description = '任务函数位置参数' )
2626 kwargs : dict [str , Any ] | None = Field (None , description = '任务函数关键字参数' )
27- worker : str = Field (description = '执行任务的 worker' )
27+ worker : str | None = Field (None , description = '执行任务的 worker' )
2828 retries : int | None = Field (None , description = '重试次数' )
2929 queue : str | None = Field (None , description = '任务队列' )
You can’t perform that action at this time.
0 commit comments