black formating

This commit is contained in:
callebtc
2022-06-01 14:53:05 +02:00
parent 7c4ce9bf96
commit f8400512f7
28 changed files with 127 additions and 81 deletions
+2
View File
@@ -11,6 +11,7 @@ class CreateUserData(BaseModel):
admin_id: str = Query(...)
discord_id: str = Query("")
class CreateUserWallet(BaseModel):
user_id: str = Query(...)
wallet_name: str = Query(...)
@@ -23,6 +24,7 @@ class Users(BaseModel):
admin: str
discord_id: str
class Wallets(BaseModel):
id: str
admin: str
+1 -3
View File
@@ -109,9 +109,7 @@ async def api_discordbot_wallet_transactions(
async def api_discordbot_users_wallets(
user_id, wallet: WalletTypeInfo = Depends(get_key_type)
):
return [
s_wallet.dict() for s_wallet in await get_discordbot_users_wallets(user_id)
]
return [s_wallet.dict() for s_wallet in await get_discordbot_users_wallets(user_id)]
@discordbot_ext.delete("/api/v1/wallets/{wallet_id}")