refactor: extract NostrEvent
This commit is contained in:
parent
c42d81f696
commit
6be0169ea9
7 changed files with 119 additions and 105 deletions
5
crud.py
5
crud.py
|
|
@ -1,10 +1,11 @@
|
|||
import json
|
||||
from typing import Any, List, Optional, Tuple
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
from .relay.event import NostrEvent
|
||||
|
||||
from . import db
|
||||
from .models import (
|
||||
NostrAccount,
|
||||
NostrEvent,
|
||||
NostrFilter,
|
||||
NostrRelay,
|
||||
RelayPublicSpec,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue