padrino inspired generators for flask