Returns a ``Connection`` query set matching all connections with
        the given object as a source.

def connections_from_object(self, from_obj):
        """
        Returns a ``Connection`` query set matching all connections with
        the given object as a source.
        """
        self._validate_ctypes(from_obj, None)
        return self.connections.filter(from_pk=from_obj.pk)