From b59fc0b726ee53d22fe4f5f2544529fcecfd2c50 Mon Sep 17 00:00:00 2001 From: Szymon Basan Date: Wed, 22 May 2024 10:44:25 +0200 Subject: [PATCH 1/2] restore tenant model validate during login --- catalystwan/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalystwan/session.py b/catalystwan/session.py index a30c9e1d..40f74bb9 100644 --- a/catalystwan/session.py +++ b/catalystwan/session.py @@ -421,7 +421,7 @@ def get_tenant_id(self) -> str: Returns: Tenant UUID. """ - tenants = self.get("dataservice/tenant").dataseq(Tenant, validate=False) + tenants = self.get("dataservice/tenant").dataseq(Tenant) tenant = tenants.filter(subdomain=self.subdomain).single_or_default() if not tenant or not tenant.tenant_id: From a20fa9db554e6018b0cd59b067f0d54a3bff291b Mon Sep 17 00:00:00 2001 From: Szymon Basan Date: Wed, 22 May 2024 10:51:06 +0200 Subject: [PATCH 2/2] bump release version --- ENDPOINTS.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ENDPOINTS.md b/ENDPOINTS.md index 08b1ffba..dadd7a9c 100644 --- a/ENDPOINTS.md +++ b/ENDPOINTS.md @@ -1,6 +1,6 @@ **THIS FILE WAS AUTO-GENERATED DO NOT EDIT** -Generated for: catalystwan-0.33.5 +Generated for: catalystwan-0.33.7 All URIs are relative to */dataservice* HTTP request | Supported Versions | Method | Payload Type | Return Type | Tenancy Mode diff --git a/pyproject.toml b/pyproject.toml index 830bf9fa..52610791 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "catalystwan" -version = "0.33.6" +version = "0.33.7" description = "Cisco Catalyst WAN SDK for Python" authors = ["kagorski "] readme = "README.md"