Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Use mro instead of hardcoding CUBA labels to retrieve the parents #344

Description

@stefanoborini

I don't see a valid reason why we should use hardcoded labels instead of just calling

[x.cuba_key for x in inspect.getmro(Engine)[1:] if hasattr(x, "cuba_key")]

More on this regard, most of the methods that we produce in the meta classes are identical copies of the exact same method that should be enough in the base class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions