Formatting

This commit is contained in:
Nicolas Mowen 2024-09-23 17:26:23 -06:00
parent ecfc86e553
commit b37bb8edc7

View File

@ -5,9 +5,7 @@ from pydantic import BaseModel, Field
class EventsSubLabelBody(BaseModel): class EventsSubLabelBody(BaseModel):
subLabel: str = Field( subLabel: str = Field(title="Sub label", max_length=100)
title="Sub label", max_length=100
)
subLabelScore: Optional[float] = Field( subLabelScore: Optional[float] = Field(
title="Score for sub label", default=None, gt=0.0, le=1.0 title="Score for sub label", default=None, gt=0.0, le=1.0
) )