airflow/contrib/hooks/bigquery_hook.py
def _validate_value(key, value, expected_type):
    """ function to check expected type and raise
    error if type is not correct """
    if not isinstance(value, expected_type):
        raise TypeError("{} argument must have a type {} not {}".format(
            key, expected_type, type(value)))
def _validate_value(key, value, expected_type):
    if not isinstance(value, expected_type):
        raise TypeError("{} argument must have a type {} not {}".format(
            key, expected_type, type(value)))
def _validate_value ( key , value , expected_type ) : if not isinstance ( value , expected_type ) : raise TypeError ( "{} argument must have a type {} not {}" . format ( key , expected_type , type ( value ) ) )
function to check expected type and raise
    error if type is not correct
function to check expected type and raise error if type is not correct