"""set of filter functions"""

import datetime
import uuid

def choose_current_date_partition():
    """gets the parition for current date"""

    return datetime.date.today().strftime('$%Y%m%d')

def add_bigquery_insert_uuid(row):
    """formats output_row and adds a uuid to be inserted"""

    output_row = dict()

    output_row["insertId"] = str(uuid.uuid1())
    output_row["json"] = row

    return output_row

"""set of filter functions"""

import datetime
import uuid

def choose_current_date_partition():
    """gets the parition for current date"""

    return datetime.date.today().strftime('$%Y%m%d')

def add_bigquery_insert_uuid(row):
    """formats output_row and adds a uuid to be inserted"""

    output_row = dict()

    output_row["insertId"] = str(uuid.uuid1())
    output_row["json"] = row

    return output_row

set of filter functions gets the parition for current date formats output_row and adds a uuid to be inserted