(cls, actor_class)
Get :class:`ActorRef` for all running actors of the given class, or of
        any subclass of the given class.

        :param actor_class: actor class, or any superclass of the actor
        :type actor_class: class

        :returns: list of :class:`pykka.ActorRef`
Get :class:`ActorRef` for all running actors of the given class, or of
        any subclass of the given class.
Get : class : ActorRef for all running actors of the given class or of any subclass of the given class .
def get_by_class(cls, actor_class):
        """
        Get :class:`ActorRef` for all running actors of the given class, or of
        any subclass of the given class.

        :param actor_class: actor class, or any superclass of the actor
        :type actor_class: class

        :returns: list of :class:`pykka.ActorRef`
        """
        with cls._actor_refs_lock:
            return [
                ref
                for ref in cls._actor_refs
                if issubclass(ref.actor_class, actor_class)
            ]
def get_by_class ( cls , actor_class ) : with cls . _actor_refs_lock : return [ ref for ref in cls . _actor_refs if issubclass ( ref . actor_class , actor_class ) ]