refactor: extract NostrRelay

This commit is contained in:
Vlad Stan 2023-02-17 14:23:58 +02:00
parent 2ebc83a286
commit 855812cb8f
8 changed files with 143 additions and 141 deletions

View file

@ -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 ####################