mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
ruff format
This commit is contained in:
committed by
psychedelicious
parent
29eb3c8b62
commit
a7ea096b28
@ -124,11 +124,7 @@ async def list_boards(
|
||||
if all:
|
||||
return ApiDependencies.invoker.services.boards.get_all(archived)
|
||||
elif offset is not None and limit is not None:
|
||||
return ApiDependencies.invoker.services.boards.get_many(
|
||||
offset,
|
||||
limit,
|
||||
archived
|
||||
)
|
||||
return ApiDependencies.invoker.services.boards.get_many(offset, limit, archived)
|
||||
else:
|
||||
raise HTTPException(
|
||||
status_code=400,
|
||||
|
Reference in New Issue
Block a user