python-gatekeeper/helpers.py
def write_event(event):
    """
    Writes the event to disk using the chosen partition.
    """
    file_name = "/tmp/api%s.log" % event['ChosenPartition']
    with open(file_name, 'w') as f:
        f.write(json.dumps(event))

    Writes the event to disk using the chosen partition.
    
Writes the event to disk using the chosen partition.
Writes the event to disk using the chosen partition .
def write_event(event):
    file_name = "/tmp/api%s.log" % event['ChosenPartition']
    with open(file_name, 'w') as f:
        f.write(json.dumps(event))
def write_event ( event ) : file_name = "/tmp/api%s.log" % event [ 'ChosenPartition' ] with open ( file_name , 'w' ) as f : f . write ( json . dumps ( event ) )
Writes the event to disk using the chosen partition.
Writes the event to disk using the chosen partition .
"""
    Writes the event to disk using the chosen partition.
    """
event