The tacker.db.migration.purge_tables Module

tacker.db.migration.purge_tables.get_engine(tacker_config)
tacker.db.migration.purge_tables.purge_deleted(tacker_config, table_name, age, granularity=’days’)