Skip to content

Commit e9c6c2a

Browse files
committed
add description for state field
1 parent f62db4d commit e9c6c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,4 @@ class PNGInfoResponse(BaseModel):
160160
class ProgressResponse(BaseModel):
161161
progress: float = Field(title="Progress", description="The progress with a range of 0 to 1")
162162
eta_relative: float = Field(title="ETA in secs")
163-
state: Json
163+
state: Json = Field(title="State", description="The current state snapshot")

0 commit comments

Comments
 (0)