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 #689 from cisco-open/fix/tenant-fetch-during-login
Browse files Browse the repository at this point in the history
  • Loading branch information
JimOverholt authored May 22, 2024
2 parents 5454f14 + a20fa9d commit ed8795b
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.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
Expand Down
2 changes: 1 addition & 1 deletion catalystwan/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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.33.6"
version = "0.33.7"
description = "Cisco Catalyst WAN SDK for Python"
authors = ["kagorski <kagorski@cisco.com>"]
readme = "README.md"
Expand Down

0 comments on commit ed8795b

Please sign in to comment.