Neutone / neutone_sdk

Join the community on Discord for more discussions around Neutone! https://discord.gg/VHSMzb8Wqp
GNU Lesser General Public License v2.1
465 stars 21 forks source link

[cm] Saving wrapper model earlier and export flags #80

Open christhetree opened 3 months ago

christhetree commented 3 months ago

This PR moves saving the internal model in the neutone wrapper to the very beginning before calling the superclass constructor so that one can call self.model.attribute_name in some of the other methods of the wrapper without causing an exception.

It also adds an additional flag to the export method to speed things up when prototyping.