Skip to content

Commit 044263c

Browse files
committed
fixup! feat: define deprecated fields in schema
1 parent 0b260b6 commit 044263c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

functions/definition/user.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ FbUserReadonlyType:
1515
deprecated: true
1616
username:
1717
type: string
18-
deprecated: true
1918
usernameKey:
2019
type: string
20+
deprecated: true
2121
accessibility:
2222
optional: true
2323
type: boolean

functions/generated/pyfirebase/pyfirebase_mapswipe/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,8 @@ class FbUserReadonlyType(TypesyncModel):
933933
created: datetime.datetime
934934
userName: str
935935
userNameKey: typing.Annotated[str, pydantic.Field(deprecated=True)]
936-
username: typing.Annotated[str, pydantic.Field(deprecated=True)]
937-
usernameKey: str
936+
username: str
937+
usernameKey: typing.Annotated[str, pydantic.Field(deprecated=True)]
938938
accessibility: bool | TypesyncUndefined | None = UNDEFINED
939939
userGroups: dict[str, typing.Any] | TypesyncUndefined | None = UNDEFINED
940940

0 commit comments

Comments
 (0)