fix(ci): rename parameter for type-checking

This commit is contained in:
Barrett Ruth 2025-12-07 16:14:00 -06:00
parent f805251762
commit 3c3e6172fc

View file

@ -165,13 +165,13 @@ class CodeChefScraper(BaseScraper):
return ContestListResult(success=True, error="", contests=contests) 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( async with httpx.AsyncClient(
limits=httpx.Limits(max_connections=CONNECTIONS) limits=httpx.Limits(max_connections=CONNECTIONS)
) as client: ) as client:
try: try:
contest_data = await fetch_json( contest_data = await fetch_json(
client, API_CONTEST.format(contest_id=contest_id) client, API_CONTEST.format(category_id=category_id)
) )
except Exception: except Exception:
return return
@ -194,7 +194,7 @@ class CodeChefScraper(BaseScraper):
problem_data = await fetch_json( problem_data = await fetch_json(
client, client,
API_PROBLEM.format( API_PROBLEM.format(
contest_id=contest_id, problem_id=problem_code category_id=category_id, problem_id=problem_code
), ),
) )