Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove extra parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagrski committed Sep 20, 2023
1 parent a2e710e commit 4bfe522
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 55 deletions.
4 changes: 2 additions & 2 deletions vmngclient/api/configuration_groups/parcel.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class Parcel(BaseModel):
model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True, extra="forbid")
model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True)


class OptionType(str, Enum):
Expand All @@ -17,7 +17,7 @@ class OptionType(str, Enum):


class ParcelValue(BaseModel):
model_config = ConfigDict(extra="forbid")
model_config = ConfigDict()

optionType: OptionType

Expand Down
2 changes: 1 addition & 1 deletion vmngclient/api/configuration_groups/parcels/aaa_parcel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class User(Parcel):


class RadiusServer(Parcel):
model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True, extra="ignore")
model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True)

address: str
key: str
Expand Down
Loading

0 comments on commit 4bfe522

Please sign in to comment.