chore: code format

This commit is contained in:
Vlad Stan 2022-08-03 13:50:59 +03:00
parent f1976e624d
commit 828e4a78d1
2 changed files with 23 additions and 24 deletions

View file

@ -1,5 +1,6 @@
from sqlite3 import Row
from typing import List, Optional
from fastapi.param_functions import Query
from pydantic import BaseModel

View file

@ -1,49 +1,47 @@
from http import HTTPStatus
import httpx
import json
from http import HTTPStatus
import httpx
from embit import finalizer, script
from embit.descriptor import Descriptor, Key
from embit.ec import PublicKey
from embit.psbt import PSBT, DerivationPath
from embit.transaction import Transaction, TransactionInput, TransactionOutput
from fastapi import Query, Request
from fastapi.params import Depends
from starlette.exceptions import HTTPException
from embit.descriptor import Descriptor, Key
from embit.psbt import PSBT, DerivationPath
from embit.ec import PublicKey
from embit.transaction import Transaction, TransactionInput, TransactionOutput
from embit import script, finalizer
from lnbits.decorators import WalletTypeInfo, get_key_type, require_admin_key
from lnbits.extensions.watchonly import watchonly_ext
from .crud import (
create_config,
create_fresh_addresses,
create_mempool,
create_watch_wallet,
delete_addresses_for_wallet,
delete_watch_wallet,
get_addresses,
get_config,
get_fresh_address,
create_fresh_addresses,
update_address,
delete_addresses_for_wallet,
get_mempool,
get_watch_wallet,
get_watch_wallets,
update_address,
update_config,
update_mempool,
update_watch_wallet,
create_config,
get_config,
update_config,
)
from .models import (
BroadcastTransaction,
SignedTransaction,
CreateWallet,
CreatePsbt,
Config,
WalletAccount,
ExtractPsbt,
)
from .helpers import parse_key
from .models import (
BroadcastTransaction,
Config,
CreatePsbt,
CreateWallet,
ExtractPsbt,
SignedTransaction,
WalletAccount,
)
###################WALLETS#############################