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

Commit

Permalink
Merge pull request #822 from cisco-open/fix/trustsec-defaults
Browse files Browse the repository at this point in the history
dev: fix trustsec defaults
  • Loading branch information
jpkrajewski authored Sep 12, 2024
2 parents 0d537b2 + 604c9bd commit 6c6b225
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "catalystwan"
version = "0.35.3dev0"
version = "0.35.3dev1"
description = "Cisco Catalyst WAN SDK for Python"
authors = ["kagorski <kagorski@cisco.com>"]
readme = "README.md"
Expand Down

0 comments on commit 6c6b225

Please sign in to comment.