refactor: extract NostrRelay
This commit is contained in:
parent
2ebc83a286
commit
855812cb8f
8 changed files with 143 additions and 141 deletions
|
|
@ -3,8 +3,9 @@ from typing import Callable, Optional, Tuple
|
|||
|
||||
from ..crud import get_account, get_storage_for_public_key, prune_old_events
|
||||
from ..helpers import extract_domain
|
||||
from ..models import NostrAccount, RelaySpec
|
||||
from ..models import NostrAccount
|
||||
from .event import NostrEvent
|
||||
from .relay import RelaySpec
|
||||
|
||||
|
||||
class EventValidator:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue