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

Commit

Permalink
fix: service entry validation (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbasan authored Nov 7, 2024
1 parent 2ed7529 commit fe4ffe3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ENDPOINTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**THIS FILE WAS AUTO-GENERATED DO NOT EDIT**

Generated for: catalystwan-0.36.0.dev2
Generated for: catalystwan-0.36.0.dev3

All URIs are relative to */dataservice*
HTTP request | Supported Versions | Method | Payload Type | Return Type | Tenancy Mode
Expand Down
2 changes: 1 addition & 1 deletion catalystwan/models/policy/policy_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ class ServiceEntryValue(BaseModel):

@model_validator(mode="after")
def tloc_xor_tloc_list(self):
check_fields_exclusive(self.__dict__, {"tloc", "tloc_list"}, True)
check_fields_exclusive(self.__dict__, {"tloc", "tloc_list"}, False)
return self


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.36.0dev2"
version = "0.36.0dev3"
description = "Cisco Catalyst WAN SDK for Python"
authors = ["kagorski <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit fe4ffe3

Please sign in to comment.