Skip to content

Commit

Permalink
Fix syntax error in BaseModel definition
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 31, 2024
1 parent 01c88d6 commit fb3e0b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neon_data_models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@


class BaseModel(_BaseModel):
allow_extra = "allow" if environ.get("NEON_DATA_MODELS_ALLOW_EXTRA",
False) else "ignore"
model_config = ConfigDict(extra=allow_extra)
_allow_extra = "allow" if environ.get("NEON_DATA_MODELS_ALLOW_EXTRA",
False) else "ignore"
model_config = ConfigDict(extra=_allow_extra)

0 comments on commit fb3e0b8

Please sign in to comment.