__init__
method from the base class not called PYL-W0231 23 media_storage = None
24 pre_delete_django_instance = None
25
26 def __init__(self): 27 models = apps.get_models()
28 self.model_classes = dict(map(lambda x: (x._meta.db_table, x), models))
29 self.models = dict(map(lambda x: (self.model_key(x), self.serialize_model(x)), models))
The ancestor class method has an init method which is not called by the derived class. This can cause unintended consequences.