

def truncate_date(self, date_part, date_field):
    return fn.strftime(SQLITE_DATE_TRUNC_MAPPING[date_part], self)

dataset/ETHPy150Open coleifer/peewee/peewee.py SqliteDatabase.truncate_date/VarMisuse@24/39 `date_field`->`self`