Spaces:
Sleeping
Sleeping
Update app/core/service/playwright/models.py
Browse files
app/core/service/playwright/models.py
CHANGED
@@ -74,11 +74,15 @@ class ScreenshotModel(GetContentModel):
|
|
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(
|
|
|
|
|
83 |
image_type: Literal["png", "jpeg"] = "jpeg"
|
84 |
|
|
|
74 |
"""Screenshot schemas
|
75 |
|
76 |
Attributes:
|
77 |
+
|
78 |
full_page (bool | None): 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 = Field(
|
85 |
+
default = False,
|
86 |
+
description = "`Whether you want a full page screenshot or not.`")
|
87 |
image_type: Literal["png", "jpeg"] = "jpeg"
|
88 |
|