Skip to content

Commit 17d9003

Browse files
committed
fix lint
1 parent 02f340d commit 17d9003

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bases/rsptx/assignment_server_api/routers/instructor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,9 @@ async def has_api_key(request: Request, user=Depends(auth_manager), course=None)
13941394
"""Return whether the course has at least one API token configured and whether async LLM modes are enabled."""
13951395
tokens = await fetch_all_api_tokens(course.id)
13961396
course_attrs = await fetch_all_course_attributes(course.id)
1397-
async_llm_modes_enabled = course_attrs.get("enable_async_llm_modes", "false") == "true"
1397+
async_llm_modes_enabled = (
1398+
course_attrs.get("enable_async_llm_modes", "false") == "true"
1399+
)
13981400
return make_json_response(
13991401
status=status.HTTP_200_OK,
14001402
detail={

0 commit comments

Comments
 (0)