From d50cc349913b496e947c4ed4dd4dbdd3e96a53ee Mon Sep 17 00:00:00 2001 From: lhhyung Date: Tue, 10 Dec 2024 18:34:52 +0900 Subject: [PATCH] fix: Fix type of workspace_id in get_region Signed-off-by: lhhyung --- src/spaceone/inventory_v2/manager/region_manager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/spaceone/inventory_v2/manager/region_manager.py b/src/spaceone/inventory_v2/manager/region_manager.py index 084cda4..fdc894f 100644 --- a/src/spaceone/inventory_v2/manager/region_manager.py +++ b/src/spaceone/inventory_v2/manager/region_manager.py @@ -39,7 +39,10 @@ def delete_region_by_vo(region_vo: Region) -> None: region_vo.delete() def get_region( - self, region_id: str, domain_id: str, workspace_id: Union[str, None] = None + self, + region_id: str, + domain_id: str, + workspace_id: Union[list, str, None] = None, ) -> Region: conditions = {"region_id": region_id, "domain_id": domain_id}