chore: code clean-up
This commit is contained in:
parent
1a58f0fea8
commit
666009720a
3 changed files with 1 additions and 102 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue