Inheritance - args and kwargs

Viewed 27

I follow some tutorial https://testdriven.io/blog/django-channels/#add-channels-consumer and I wonder why the arguments of super().init() function do not have asterisk and double asterisk, is it correct like in the example below?

    class ChatConsumer(WebsocketConsumer):

        def __init__(self, *args, **kwargs):
            super().__init__(args, kwargs)
            self.room_name = None
            self.room = None
1 Answers
Related