refactor: extract NostrEvent
This commit is contained in:
parent
c42d81f696
commit
6be0169ea9
7 changed files with 119 additions and 105 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import time
|
||||
from typing import Callable, Optional, Tuple
|
||||
|
||||
from .event import NostrEvent
|
||||
|
||||
from ..crud import get_account, get_storage_for_public_key, prune_old_events
|
||||
from ..helpers import extract_domain
|
||||
from ..models import NostrAccount, NostrEvent, RelaySpec
|
||||
from ..models import NostrAccount, RelaySpec
|
||||
|
||||
|
||||
class EventValidator:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue