Skip to content

Commit 6bb6615

Browse files
fixup! fix(team): change teamToken type from timestamp to optional string.
1 parent f64577f commit 6bb6615

File tree

1 file changed

+2
-7
lines changed
  • functions/generated/pyfirebase/pyfirebase_mapswipe

1 file changed

+2
-7
lines changed

functions/generated/pyfirebase/pyfirebase_mapswipe/models.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TypesyncUndefined:
1616
def __init__(self):
1717
if TypesyncUndefined._instance is not None:
1818
raise RuntimeError(
19-
"TypesyncUndefined instances cannot be created directly. Import and use the UNDEFINED sentinel instead."
19+
"TypesyncUndefined instances cannot be created directly. Import and use the UNDEFINED sentinel instead.",
2020
)
2121
TypesyncUndefined._instance = self
2222

@@ -691,19 +691,14 @@ class FbTeam(TypesyncModel):
691691
"""Represents a team to limit project visibility."""
692692

693693
teamName: str
694-
teamToken: TypesyncUndefined | str = UNDEFINED
694+
teamToken: str
695695
isArchived: bool
696-
oldId: TypesyncUndefined | int = UNDEFINED
697696

698697
class Config:
699698
use_enum_values = True
700699
extra = "forbid"
701700

702701
def __setattr__(self, name: str, value: typing.Any) -> None:
703-
if name == "teamToken" and value is None:
704-
raise ValueError("'teamToken' field cannot be set to None")
705-
if name == "oldId" and value is None:
706-
raise ValueError("'oldId' field cannot be set to None")
707702
super().__setattr__(name, value)
708703

709704

0 commit comments

Comments
 (0)