Try to use 'super().init()' to properly initializes the base class constructor. The warning says you should call the base class constructor using super().init(**kwargs). Hope this works for you.