Skip to content

class should not be wrapped as Function #39

@Jelleas

Description

@Jelleas
for name, func in [(name, f) for name, f in mod.__dict__.items() if callable(f)]:

Includes all classes as they are callable too. Should probably be:

for name, obj in inspect.getmembers(module, inspect.isfunction):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions