aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorevshiron <evshiron@gmail.com>2022-10-30 04:02:56 +0800
committerevshiron <evshiron@gmail.com>2022-10-30 04:02:56 +0800
commite9c6c2a51f972fd7cd88ea740ade4ac3d8108b67 (patch)
treed3f6f20ccf22bc53dc8cfeeb8d68a6470f6dee67 /modules
parentf62db4d5c753bc32d2ae166606ce41f4c5fa5c43 (diff)
add description for state field
Diffstat (limited to 'modules')
-rw-r--r--modules/api/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index e1762fb9..709ab5a6 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -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")