@classmethod
def from_connections(cls, connections):
    """
        Alternate constructor accepting `.Connection` objects.

        .. versionadded:: 2.0
        """
    group = cls()
    group.extend(connections)
    return group
