flask & rethinkdb