refactor: extract NostrRelay
This commit is contained in:
parent
2ebc83a286
commit
855812cb8f
8 changed files with 143 additions and 141 deletions
3
crud.py
3
crud.py
|
|
@ -2,9 +2,10 @@ import json
|
|||
from typing import List, Optional, Tuple
|
||||
|
||||
from . import db
|
||||
from .models import NostrAccount, NostrRelay, RelayPublicSpec, RelaySpec
|
||||
from .models import NostrAccount
|
||||
from .relay.event import NostrEvent
|
||||
from .relay.filter import NostrFilter
|
||||
from .relay.relay import NostrRelay, RelayPublicSpec, RelaySpec
|
||||
|
||||
########################## RELAYS ####################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue