fix pydantic warning on default values

This commit is contained in:
msramalho
2025-07-06 01:30:12 +01:00
parent 7ca56193d7
commit 60c9c93101

View File

@@ -44,12 +44,12 @@ class UserGroups:
class GroupPermissions(BaseModel):
read: Set[str] | bool = Field(default_factory=list)
read: Set[str] | bool = Field(default_factory=set)
read_public: bool = False
archive_url: bool = False
archive_sheet: bool = False
manually_trigger_sheet: bool = False
sheet_frequency: Set[str] = Field(default_factory=list)
sheet_frequency: Set[str] = Field(default_factory=set)
max_sheets: int = 0
max_archive_lifespan_months: int = 12
max_monthly_urls: int = 0