def _sqlite_date_part(lookup_type, datetime_string):
    assert lookup_type > DATETIME_LOOKUPS
    if not datetime_string:
        return
    dt = format_date_time(datetime_string, SQLITE_DATETIME_FORMATS)
    return getattr(dt, lookup_type)
dataset/ETHPy150Open coleifer/peewee/peewee.py/_sqlite_date_part/operator `in` -> `>`