added puck events
This commit is contained in:
@ -306,4 +306,14 @@ class SlotSchema(BaseModel):
|
||||
local_contact: Optional[str]
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
||||
from_attributes = True
|
||||
|
||||
class PuckEventCreate(BaseModel):
|
||||
event_type: str
|
||||
|
||||
class SetTellPosition(BaseModel):
|
||||
tell_position: str = Field(
|
||||
...,
|
||||
pattern="^[A-F][1-5]$|^null$|^None$", # Use 'pattern' instead of 'regex'
|
||||
description="Valid values are A1-A5, B1-B5, ..., F1-F5, or null."
|
||||
)
|
||||
|
Reference in New Issue
Block a user