

def truncate_tables(self, models, restart_identity=False, cascade=False):
    for model in reversed(sort_models_topologically(models)):
        model.truncate_table(restart_identity, cascade)

dataset/ETHPy150Open coleifer/peewee/peewee.py Database.truncate_tables/original