flask bdd