WebsocketTopic uses as_str in its init now
This commit is contained in:
1 parent
8c031232d1
commit
ede42e4589
1 file changed
+1
-1
+1
-1
@@ -216,8 +216,8 @@ class WebsocketTopic:
|
||||
target_id: int,
|
||||
process: TopicProcess,
|
||||
):
|
||||
self._id: str = f"{WEBSOCKET_TOPICS[category][topic_name]}.{target_id}"
|
||||
assert isinstance(target_id, int)
|
||||
self._id: str = self.as_str(category, topic_name, target_id)
|
||||
self._target_id = target_id
|
||||
self._process: TopicProcess = process
|
||||
|
||||
|
||||
Reference in new issue
Block a user