from channels.generic.websocket import JsonWebsocketConsumer from .consumers_connection import ChatConnectionMixin from .consumers_events import ChatEventsMixin from .consumers_presence import ChatPresenceMixin class ChatConsumer( ChatConnectionMixin, ChatEventsMixin, ChatPresenceMixin, JsonWebsocketConsumer, ): """Compose connection, event and presence behaviour for chat sockets."""