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

Commit

Permalink
Add defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrajewski committed Sep 12, 2024
1 parent 0d537b2 commit 15f5786
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,14 @@ class Trustsec(BaseModel):
Union[Global[bool], Default[None]],
VersionedField(versions="<=20.12", serialization_alias="enableEnforcedPropogation"),
] = Field(
default=Default[None](value=None),
serialization_alias="enableEnforcedPropagation",
validation_alias=AliasChoices("enableEnforcedPropagation", "enableEnforcedPropogation"),
)
enforced_security_group_tag: Union[Global[int], Variable, Default[None]] = Field(
serialization_alias="enforcedSecurityGroupTag", validation_alias="enforcedSecurityGroupTag"
default=Default[None](value=None),
serialization_alias="enforcedSecurityGroupTag",
validation_alias="enforcedSecurityGroupTag",
)

@model_serializer(mode="wrap", when_used="json")
Expand Down

0 comments on commit 15f5786

Please sign in to comment.