add description for state field

This commit is contained in:
evshiron 2022-10-30 04:02:56 +08:00
parent f62db4d5c7
commit e9c6c2a51f

View File

@ -160,4 +160,4 @@ class PNGInfoResponse(BaseModel):
class ProgressResponse(BaseModel):
progress: float = Field(title="Progress", description="The progress with a range of 0 to 1")
eta_relative: float = Field(title="ETA in secs")
state: Json
state: Json = Field(title="State", description="The current state snapshot")