pubsub.channel: add flags to ChannelDispatcher

This commit is contained in:
Luna 2019-07-20 13:00:19 -03:00
parent 4c29575b2c
commit 29d13c53b8
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,7 @@ def gdm_recipient_view(orig: dict, user_id: int) -> dict:
return data return data
class ChannelDispatcher(DispatcherWithState): class ChannelDispatcher(DispatcherWithFlags):
"""Main channel Pub/Sub logic.""" """Main channel Pub/Sub logic."""
KEY_TYPE = int KEY_TYPE = int
VAL_TYPE = int VAL_TYPE = int

View File

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
from typing import Any from typing import Any
from collections import defaultdict
from logbook import Logger from logbook import Logger