From 3c3e6172fc5794ca15a6d38267ffa4c185d441c0 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 7 Dec 2025 16:14:00 -0600 Subject: [PATCH] fix(ci): rename parameter for type-checking --- scrapers/codechef.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrapers/codechef.py b/scrapers/codechef.py index 37fd9b5..e60ba88 100644 --- a/scrapers/codechef.py +++ b/scrapers/codechef.py @@ -165,13 +165,13 @@ class CodeChefScraper(BaseScraper): return ContestListResult(success=True, error="", contests=contests) - async def stream_tests_for_category_async(self, contest_id: str) -> None: + async def stream_tests_for_category_async(self, category_id: str) -> None: async with httpx.AsyncClient( limits=httpx.Limits(max_connections=CONNECTIONS) ) as client: try: contest_data = await fetch_json( - client, API_CONTEST.format(contest_id=contest_id) + client, API_CONTEST.format(category_id=category_id) ) except Exception: return @@ -194,7 +194,7 @@ class CodeChefScraper(BaseScraper): problem_data = await fetch_json( client, API_PROBLEM.format( - contest_id=contest_id, problem_id=problem_code + category_id=category_id, problem_id=problem_code ), )