peony/commands/event_types.py
def connect(data):
    """
        event triggered on connection or reconnection to a stream
    """
    return connected(data) or stream_restart(data)

        event triggered on connection or reconnection to a stream
    
event triggered on connection or reconnection to a stream
event triggered on connection or reconnection to a stream
def connect(data):
    return connected(data) or stream_restart(data)
def connect ( data ) : return connected ( data ) or stream_restart ( data )
event triggered on connection or reconnection to a stream
event triggered on connection or reconnection to a stream
"""
        event triggered on connection or reconnection to a stream
    """
data