chore: code clean-up

This commit is contained in:
Vlad Stan 2023-06-22 10:22:13 +03:00
parent 1a58f0fea8
commit 666009720a
3 changed files with 1 additions and 102 deletions

View file

@ -122,11 +122,6 @@ class Relay:
with self.lock:
self.subscriptions.pop(id)
def update_subscription(self, id: str, filters: Filters) -> None:
with self.lock:
subscription = self.subscriptions[id]
subscription.filters = filters
def to_json_object(self) -> dict:
return {
"url": self.url,