mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
feat: use Literal type for ICSStatus.status field
- Changed ICSStatus.status from str to Literal['enabled', 'disabled'] - Improves type safety and API documentation
This commit is contained in:
@@ -318,7 +318,7 @@ async def rooms_test_webhook(
|
||||
|
||||
|
||||
class ICSStatus(BaseModel):
|
||||
status: str
|
||||
status: Literal["enabled", "disabled"]
|
||||
last_sync: Optional[datetime] = None
|
||||
next_sync: Optional[datetime] = None
|
||||
last_etag: Optional[str] = None
|
||||
|
||||
Reference in New Issue
Block a user