From 15f578644a54b93c25a4e8719cc301843ad6012c Mon Sep 17 00:00:00 2001 From: Jakub Krajewski Date: Thu, 12 Sep 2024 10:42:17 +0200 Subject: [PATCH 1/2] Add defaults --- .../feature_profile/sdwan/service/lan/ethernet.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py b/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py index 406a9fef..0a313f48 100644 --- a/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py +++ b/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py @@ -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") From 604c9bddfe8cd386dda7a5df07a430fae68d4848 Mon Sep 17 00:00:00 2001 From: Jakub Krajewski Date: Thu, 12 Sep 2024 10:43:17 +0200 Subject: [PATCH 2/2] Bump to 0.35.3dev1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6ec50de9..185c64c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] readme = "README.md"