Formatting everything with black
This commit is contained in:
1 parent
42a11c0dc6
commit
a3539beda9
20 files changed
+173
-18
No files matched your search
+4
-1
@@ -6,6 +6,7 @@ settings (env vars or .env).
|
||||
Usage:
|
||||
uv run python -m scripts.seed
|
||||
"""
|
||||
|
||||
import asyncio
|
||||
|
||||
from app.core.config import settings
|
||||
@@ -38,7 +39,9 @@ async def seed() -> None:
|
||||
for name, description in PERMISSIONS:
|
||||
perm = await role_crud.get_permission_by_name(db, name)
|
||||
if perm is None:
|
||||
perm = await role_crud.create_permission(db, name=name, description=description)
|
||||
perm = await role_crud.create_permission(
|
||||
db, name=name, description=description
|
||||
)
|
||||
perms[name] = perm
|
||||
|
||||
# Roles
|
||||
|
||||
Reference in new issue
Block a user