Skip to content

Modernize super() calls #3547

@omkar-334

Description

@omkar-334

Should we replace super(ClassName, self) with super() across the codebase?
There is no need to pass the class and instance explicitly.

Example - super(DummyModel, self).__init__() becomes super().__init__()

There are over 130 occurrences of this, which can be simplified

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions