In Case 1, I am generating fonts using the instance.generate() method. In this case, I can generate all fonts that I requested but they don’t get recognized in Adobe products (no option to adjust variable axes).
In Case 2, I am generating fonts using the undocumented font.export() method. In this case, I can only generate ttf variable font which works beautifully. Even though I specified WOFF and WOFF2 containers, I only get ttf format. These work fine through the export dialog box, but not programmatically through Python API.