Spaces:
Sleeping
Sleeping
Update app/core/service/playwright/models.py
Browse files
app/core/service/playwright/models.py
CHANGED
@@ -74,13 +74,11 @@ class ScreenshotModel(GetContentModel):
|
|
74 |
"""Screenshot schemas
|
75 |
|
76 |
Attributes:
|
77 |
-
full_page (bool | None):
|
78 |
-
Whether you want a full page screenshot or not.
|
79 |
-
|
80 |
image_type (Literal["png", "jpeg"]):
|
81 |
The image type of screenshot.
|
82 |
"""
|
83 |
|
84 |
-
full_page: bool | None = False
|
85 |
image_type: Literal["png", "jpeg"] = "jpeg"
|
86 |
|
|
|
74 |
"""Screenshot schemas
|
75 |
|
76 |
Attributes:
|
77 |
+
full_page (bool | None): Whether you want a full page screenshot or not.
|
|
|
|
|
78 |
image_type (Literal["png", "jpeg"]):
|
79 |
The image type of screenshot.
|
80 |
"""
|
81 |
|
82 |
+
full_page: bool | None = Field(default = False, description = "Whether you want a full page screenshot or not.")
|
83 |
image_type: Literal["png", "jpeg"] = "jpeg"
|
84 |
|