f2 in flask