Skip to content

Commit

Permalink
refactor: Update field types in RegionUpdateRequest and RegionDeleteR…
Browse files Browse the repository at this point in the history
…equest

Signed-off-by: lhhyung <[email protected]>
  • Loading branch information
lhhyung committed Dec 11, 2024
1 parent 5a71536 commit 0954939
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 @@ -25,15 +25,15 @@ class RegionCreateRequest(BaseModel):

class RegionUpdateRequest(BaseModel):
region_id: str
name: str = None
name: Union[str, None] = None
tags: Union[dict, None] = None
workspace_id: Union[list, str, None] = None
workspace_id: Union[str, None] = None
domain_id: str


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


Expand Down

0 comments on commit 0954939

Please sign in to comment.