Formatting everything with black
This commit is contained in:
1 parent
42a11c0dc6
commit
a3539beda9
20 files changed
+173
-18
No files matched your search
@@ -66,6 +66,7 @@ async def delete(db: AsyncSession, role: Role) -> None:
|
||||
|
||||
# --- Permissions -------------------------------------------------------------
|
||||
|
||||
|
||||
async def list_permissions(db: AsyncSession) -> list[Permission]:
|
||||
result = await db.execute(select(Permission).order_by(Permission.name))
|
||||
return list(result.scalars().all())
|
||||
|
||||
Reference in new issue
Block a user