Skip to content

Not possible to subclass Requirements to add new methods #41

@sebbASF

Description

@sebbASF

if not callable(req) or req != getattr(Requirements, req.__name__, None):

AFAICT, the above line means that only methods in the Requirements class are allowed.
So subclasses cannot be used to add a new method

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions