rasa/core/utils.py
def all_subclasses(cls: Any) -> List[Any]:
    """Returns all known (imported) subclasses of a class."""

    return cls.__subclasses__() + [g for s in cls.__subclasses__()
                                   for g in all_subclasses(s)]
Returns all known (imported) subclasses of a class.
Returns all known (imported) subclasses of a class.
Returns all known ( imported ) subclasses of a class .
def all_subclasses(cls: Any) -> List[Any]:
    return cls.__subclasses__() + [g for s in cls.__subclasses__()
                                   for g in all_subclasses(s)]
def all_subclasses ( cls : Any ) -> List [ Any ] : return cls . __subclasses__ ( ) + [ g for s in cls . __subclasses__ ( ) for g in all_subclasses ( s ) ]
Returns all known (imported) subclasses of a class.
Returns all known ( imported ) subclasses of a class .
"""Returns all known (imported) subclasses of a class."""
cls
Any