code: def get_backends_by_class(self, backend_class):
          
          return [backend for backend in self._backends_registry.values() if isinstance(backend, backend_class)]
docs: Return a list of backends that are instances of the given `backend_class`.