fix: resolve CI lint and docs build failures
Apply ruff formatting to 3 files and add missing package-lock.json for docs/website. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4403c9ebde
commit
79f3e41471
4 changed files with 18464 additions and 6 deletions
|
|
@ -56,6 +56,7 @@ def _drop_finished_task(task: asyncio.Task[Any]) -> None:
|
|||
except Exception:
|
||||
structured_log(logger, "exception", "runs.background_task_failed")
|
||||
|
||||
|
||||
router = APIRouter(prefix="/runs", tags=["api-runs"])
|
||||
ACTIVE_RUN_STATUSES = {RunStatus.RUNNING, RunStatus.RESOLVING}
|
||||
|
||||
|
|
|
|||
|
|
@ -99,9 +99,7 @@ async def _run_serialized_fetch(
|
|||
"arxiv.request_completed",
|
||||
status_code=int(response.status_code),
|
||||
wait_seconds=wait_seconds,
|
||||
cooldown_remaining_seconds=_cooldown_remaining_seconds(
|
||||
cooldown_until_value, now_utc=datetime.now(UTC)
|
||||
),
|
||||
cooldown_remaining_seconds=_cooldown_remaining_seconds(cooldown_until_value, now_utc=datetime.now(UTC)),
|
||||
source_path=source_path,
|
||||
)
|
||||
return response, hit_rate_limit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue