Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dtc/docs/PolicyPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Display name of __Pool__. | [optional] [readonly]
**pool_id** | **str** | The resource identifier. |
**weight** | **int** | Weight of __Pool__ to be used for load balancing. Unsigned integer, min 1; max 65535. |
**weight** | **int** | Weight of __Pool__ to be used for load balancing. Unsigned integer, min 1; max 65535. | [optional]

## Example

Expand Down
3 changes: 2 additions & 1 deletion src/dtc/models/policy_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class PolicyPool(BaseModel):
name: Optional[StrictStr] = Field(default=None,
description="Display name of __Pool__.")
pool_id: StrictStr = Field(description="The resource identifier.")
weight: StrictInt = Field(
weight: Optional[StrictInt] = Field(
default=None,
description=
"Weight of __Pool__ to be used for load balancing. Unsigned integer, min 1; max 65535."
)
Expand Down
Loading