refactor: extract NostrFilter
This commit is contained in:
parent
6be0169ea9
commit
2ebc83a286
9 changed files with 132 additions and 128 deletions
12
crud.py
12
crud.py
|
|
@ -1,16 +1,10 @@
|
|||
import json
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
from .relay.event import NostrEvent
|
||||
|
||||
from . import db
|
||||
from .models import (
|
||||
NostrAccount,
|
||||
NostrFilter,
|
||||
NostrRelay,
|
||||
RelayPublicSpec,
|
||||
RelaySpec,
|
||||
)
|
||||
from .models import NostrAccount, NostrRelay, RelayPublicSpec, RelaySpec
|
||||
from .relay.event import NostrEvent
|
||||
from .relay.filter import NostrFilter
|
||||
|
||||
########################## RELAYS ####################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue