iterate over classes in module python code example
Example: iterate over classes in module python
dict([(name, cls) for name, cls in mod.__dict__.items() if isinstance(cls, type)])
dict([(name, cls) for name, cls in mod.__dict__.items() if isinstance(cls, type)])