|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import Type, Iterable, Optional, cast |
| 5 | +from typing import List, Type, Iterable, Optional, cast |
6 | 6 |
|
7 | 7 | import httpx |
8 | 8 |
|
|
48 | 48 | pool_update_params, |
49 | 49 | ) |
50 | 50 | from ....types.load_balancers.pool import Pool |
| 51 | +from ....types.load_balancers.check_region import CheckRegion |
51 | 52 | from ....types.load_balancers.origin_param import OriginParam |
52 | | -from ....types.load_balancers.region_id_param import RegionIDParam |
53 | 53 | from ....types.load_balancers.load_shedding_param import LoadSheddingParam |
54 | 54 | from ....types.load_balancers.pool_delete_response import PoolDeleteResponse |
55 | 55 | from ....types.load_balancers.origin_steering_param import OriginSteeringParam |
@@ -189,7 +189,7 @@ def update( |
189 | 189 | account_id: str, |
190 | 190 | name: str, |
191 | 191 | origins: Iterable[OriginParam], |
192 | | - check_regions: Optional[RegionIDParam] | NotGiven = NOT_GIVEN, |
| 192 | + check_regions: Optional[List[CheckRegion]] | NotGiven = NOT_GIVEN, |
193 | 193 | description: str | NotGiven = NOT_GIVEN, |
194 | 194 | enabled: bool | NotGiven = NOT_GIVEN, |
195 | 195 | latitude: float | NotGiven = NOT_GIVEN, |
@@ -388,7 +388,7 @@ def edit( |
388 | 388 | pool_id: str, |
389 | 389 | *, |
390 | 390 | account_id: str, |
391 | | - check_regions: Optional[RegionIDParam] | NotGiven = NOT_GIVEN, |
| 391 | + check_regions: Optional[List[CheckRegion]] | NotGiven = NOT_GIVEN, |
392 | 392 | description: str | NotGiven = NOT_GIVEN, |
393 | 393 | enabled: bool | NotGiven = NOT_GIVEN, |
394 | 394 | latitude: float | NotGiven = NOT_GIVEN, |
@@ -672,7 +672,7 @@ async def update( |
672 | 672 | account_id: str, |
673 | 673 | name: str, |
674 | 674 | origins: Iterable[OriginParam], |
675 | | - check_regions: Optional[RegionIDParam] | NotGiven = NOT_GIVEN, |
| 675 | + check_regions: Optional[List[CheckRegion]] | NotGiven = NOT_GIVEN, |
676 | 676 | description: str | NotGiven = NOT_GIVEN, |
677 | 677 | enabled: bool | NotGiven = NOT_GIVEN, |
678 | 678 | latitude: float | NotGiven = NOT_GIVEN, |
@@ -871,7 +871,7 @@ async def edit( |
871 | 871 | pool_id: str, |
872 | 872 | *, |
873 | 873 | account_id: str, |
874 | | - check_regions: Optional[RegionIDParam] | NotGiven = NOT_GIVEN, |
| 874 | + check_regions: Optional[List[CheckRegion]] | NotGiven = NOT_GIVEN, |
875 | 875 | description: str | NotGiven = NOT_GIVEN, |
876 | 876 | enabled: bool | NotGiven = NOT_GIVEN, |
877 | 877 | latitude: float | NotGiven = NOT_GIVEN, |
|
0 commit comments