Remove source_type from API

This commit is contained in:
Nicolas Mowen
2025-12-03 11:11:44 -07:00
parent 9ab78f496c
commit e473117705
3 changed files with 545 additions and 553 deletions
+544 -551
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -29,7 +29,6 @@ class EventsDescriptionBody(BaseModel):
class EventsCreateBody(BaseModel):
source_type: Optional[str] = "api"
sub_label: Optional[str] = None
score: Optional[float] = 0
duration: Optional[int] = 30
+1 -1
View File
@@ -1620,7 +1620,7 @@ def create_event(
body.score,
body.sub_label,
body.duration,
body.source_type,
"api",
body.draw,
),
EventMetadataTypeEnum.manual_event_create.value,