(
value: Any | Literal[_Keywords.NO_VALUE] | None = _Keywords.NO_VALUE,
height: int | None = None,
width: int | None = None,
label: str | None = None,
show_label: bool | None = None,
show_download_button: bool | None = None,
container: bool | None = None,
scale: int | None = None,
min_width: int | None = None,
interactive: bool | None = None,
visible: bool | None = None,
brush_radius: float | None = None,
brush_color: str | None = None,
mask_opacity: float | None = None,
show_share_button: bool | None = None,
)
| 197 | |
| 198 | @staticmethod |
| 199 | def update( |
| 200 | value: Any | Literal[_Keywords.NO_VALUE] | None = _Keywords.NO_VALUE, |
| 201 | height: int | None = None, |
| 202 | width: int | None = None, |
| 203 | label: str | None = None, |
| 204 | show_label: bool | None = None, |
| 205 | show_download_button: bool | None = None, |
| 206 | container: bool | None = None, |
| 207 | scale: int | None = None, |
| 208 | min_width: int | None = None, |
| 209 | interactive: bool | None = None, |
| 210 | visible: bool | None = None, |
| 211 | brush_radius: float | None = None, |
| 212 | brush_color: str | None = None, |
| 213 | mask_opacity: float | None = None, |
| 214 | show_share_button: bool | None = None, |
| 215 | ): |
| 216 | return { |
| 217 | "height": height, |
| 218 | "width": width, |
| 219 | "label": label, |
| 220 | "show_label": show_label, |
| 221 | "show_download_button": show_download_button, |
| 222 | "container": container, |
| 223 | "scale": scale, |
| 224 | "min_width": min_width, |
| 225 | "interactive": interactive, |
| 226 | "visible": visible, |
| 227 | "value": value, |
| 228 | "brush_radius": brush_radius, |
| 229 | "brush_color": brush_color, |
| 230 | "mask_opacity": mask_opacity, |
| 231 | "show_share_button": show_share_button, |
| 232 | "__type__": "update", |
| 233 | } |
| 234 | |
| 235 | def _format_image( |
| 236 | self, im: _Image.Image | None |
no outgoing calls
no test coverage detected