iex/utils.py
def validate_date_format(date_format):
    """
        This function validates the date format specified
        and returns it as a result.
    """
    if date_format not in ['timestamp', 'datetime', 'isoformat']:
        raise ValueError("date_format must be 'timestamp', 'datetime', or 'isoformat'")
    date_format = None if date_format == 'timestamp' else date_format
    return date_format

        This function validates the date format specified
        and returns it as a result.
    
This function validates the date format specified
and returns it as a result.
This function validates the date format specified and returns it as a result .
def validate_date_format(date_format):
    if date_format not in ['timestamp', 'datetime', 'isoformat']:
        raise ValueError("date_format must be 'timestamp', 'datetime', or 'isoformat'")
    date_format = None if date_format == 'timestamp' else date_format
    return date_format
def validate_date_format ( date_format ) : if date_format not in [ 'timestamp' , 'datetime' , 'isoformat' ] : raise ValueError ( "date_format must be 'timestamp', 'datetime', or 'isoformat'" ) date_format = None if date_format == 'timestamp' else date_format return date_format
This function validates the date format specified
and returns it as a result.
This function validates the date format specified and returns it as a result .
"""
        This function validates the date format specified
        and returns it as a result.
    """
date_format