Skip to content

Commit d1f9809

Browse files
committed
fix: disallow extra fields on FbProject
- we can change this behavior using override later
1 parent 29c43ca commit d1f9809

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

functions/generated/pyfirebase/pyfirebase_mapswipe/extended_models.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ class FbProject(
1414
class Config: # type: ignore[reportIncompatibleVariableOverride]
1515
use_enum_values = True
1616
frozen = True
17-
# NOTE: We need to allow extra fields as FbProject
18-
# is not a complete project representation
19-
extra = "allow"
17+
extra = "forbid"
2018

2119

2220
class FbMappingGroup(

0 commit comments

Comments
 (0)