flask snippets