def FormatEvent(element):
    """Format a GameEvent to a BigQuery TableRow."""
    return {
        'user': element.user,
        'team': element.team,
        'score': element.score,
        'timestamp': element.timestamp
    }