quick bug fixes

This commit is contained in:
João Moura
2024-09-18 03:22:56 -03:00
parent e77442cf34
commit 2787c9b0ef
6 changed files with 27 additions and 21 deletions

View File

@@ -35,7 +35,7 @@ class TaskOutput(BaseModel):
return self
@property
def json(self) -> str:
def json(self) -> Optional[str]:
if self.output_format != OutputFormat.JSON:
raise ValueError(
"""