Skip to content

Commit 98ee0e6

Browse files
fix: no color for conversations
1 parent 4dbf90d commit 98ee0e6

File tree

1 file changed

+1
-1
lines changed
  • packages/models-library/src/models_library/api_schemas_webserver

1 file changed

+1
-1
lines changed

packages/models-library/src/models_library/api_schemas_webserver/projects_ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class SlideshowUI(TypedDict):
4141

4242
class AnnotationUI(BaseModel):
4343
type: Literal["note", "rect", "text", "conversation"]
44-
color: Annotated[Color, PlainSerializer(Color.as_hex)]
44+
color: Annotated[Color | None, PlainSerializer(Color.as_hex)] = None
4545
attributes: Annotated[dict, Field(description="svg attributes")]
4646

4747
@staticmethod

0 commit comments

Comments
 (0)