chore: ran linting

This commit is contained in:
Anish Sarkar 2026-04-09 18:10:34 +05:30
parent b8091114b5
commit f38ea77940
14 changed files with 137 additions and 111 deletions

View file

@ -257,7 +257,10 @@ async def update_search_space(
update_data = search_space_update.model_dump(exclude_unset=True)
if "shared_memory_md" in update_data and len(update_data["shared_memory_md"] or "") > MEMORY_HARD_LIMIT:
if (
"shared_memory_md" in update_data
and len(update_data["shared_memory_md"] or "") > MEMORY_HARD_LIMIT
):
raise HTTPException(
status_code=400,
detail=f"Team memory exceeds {MEMORY_HARD_LIMIT:,} character limit.",