refactor: extract NostrEvent

This commit is contained in:
Vlad Stan 2023-02-17 14:13:06 +02:00
parent c42d81f696
commit 6be0169ea9
7 changed files with 119 additions and 105 deletions

View file

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