def get_signal_models(self):
        """Return all signal types in a list.

        :rtype: list(`signal-model`)

        """

        base = self.db.Model
        return [
            cls for cls in base._decl_class_registry.values() if (
                isinstance(cls, type)
                and issubclass(cls, base)
                and hasattr(cls, 'send_signalbus_message')
            )
        ]
def get_signal_models ( self ) : base = self . db . Model return [ cls for cls in base . _decl_class_registry . values ( ) if ( isinstance ( cls , type ) and issubclass ( cls , base ) and hasattr ( cls , 'send_signalbus_message' ) ) ]
Return all signal types in a list.

        :rtype: list(`signal-model`)