Skip to content

Commit

Permalink
fix: Fix Region request model
Browse files Browse the repository at this point in the history
Signed-off-by: lhhyung <[email protected]>
  • Loading branch information
lhhyung committed Dec 10, 2024
1 parent 2267862 commit ea9163c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spaceone/inventory_v2/model/region/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class RegionDeleteRequest(BaseModel):

class RegionGetRequest(BaseModel):
region_id: str
workspace_id: Union[str, None] = None
workspace_id: Union[list, str, None] = None
domain_id: str


Expand All @@ -50,11 +50,11 @@ class RegionSearchQueryRequest(BaseModel):
region_code: Union[str, None] = None
provider: Union[str, None] = None
exists_only: Union[bool, None] = None
workspace_id: Union[str, None] = None
workspace_id: Union[list, str, None] = None
domain_id: str


class RegionStatQueryRequest(BaseModel):
query: dict
workspace_id: Union[str, None] = None
workspace_id: Union[list, str, None] = None
domain_id: str

0 comments on commit ea9163c

Please sign in to comment.