Allow empty description for tracked objects (#14271)

* Allow tracked object description to be saved as an empty string

* ensure event_ids is passed as list
This commit is contained in:
Josh Hawkins
2024-10-10 18:12:05 -05:00
committed by GitHub
parent 54eb03d2a1
commit 8d753f821d
3 changed files with 12 additions and 22 deletions
+1 -3
View File
@@ -11,9 +11,7 @@ class EventsSubLabelBody(BaseModel):
class EventsDescriptionBody(BaseModel):
description: Union[str, None] = Field(
title="The description of the event", min_length=1
)
description: Union[str, None] = Field(title="The description of the event")
class EventsCreateBody(BaseModel):