MySQL Flask RESTful API