Skip to content

Commit b50a6fc

Browse files
committed
Updated URL params
1 parent 77267dd commit b50a6fc

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/oxylabs_mcp/url_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@
5151
]
5252
START_PAGE_PARAM = Annotated[
5353
int,
54-
Field(ge=1, description="Starting page number."),
54+
Field(description="Starting page number."),
5555
]
5656
PAGES_PARAM = Annotated[
5757
int,
58-
Field(ge=1, description="Number of pages to retrieve."),
58+
Field(description="Number of pages to retrieve."),
5959
]
6060
LIMIT_PARAM = Annotated[
6161
int,
62-
Field(ge=1, description="Number of results to retrieve in each page."),
62+
Field(description="Number of results to retrieve in each page."),
6363
]
6464
DOMAIN_PARAM = Annotated[
6565
str,

tests/integration/test_server.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,8 @@ async def test_oxylabs_web_unblocker_results(
247247
*params.USER_AGENTS,
248248
params.INVALID_USER_AGENT,
249249
params.START_PAGE_SPECIFIED,
250-
params.START_PAGE_INVALID,
251250
params.PAGES_SPECIFIED,
252-
params.PAGES_INVALID,
253251
params.LIMIT_SPECIFIED,
254-
params.LIMIT_INVALID,
255252
params.DOMAIN_SPECIFIED,
256253
params.GEO_LOCATION_SPECIFIED,
257254
params.LOCALE_SPECIFIED,
@@ -313,9 +310,7 @@ async def test_oxylabs_google_search_ad_mode_argument(
313310
*params.USER_AGENTS,
314311
params.INVALID_USER_AGENT,
315312
params.START_PAGE_SPECIFIED,
316-
params.START_PAGE_INVALID,
317313
params.PAGES_SPECIFIED,
318-
params.PAGES_INVALID,
319314
params.DOMAIN_SPECIFIED,
320315
params.GEO_LOCATION_SPECIFIED,
321316
params.LOCALE_SPECIFIED,

0 commit comments

Comments
 (0)