def on_app_delete(self, app_id: str) -> int: db = DataStore(DataStore.get_db_connection(self._db_conn_str)) db.delete_app(app_id) return 204
def setUp(self) -> None: store = DataStore(DBConnection(self.get_db_conn())) for app in store.get_apps(): store.delete_app(app.app_id)