That way plugins don't need to implement the SettingsPlugin mixin in order to access their data folder, which is now an injected property in OctoPrintPlugin. Plugin authors should still always use the getter since that will also make sure the folder actually does exist (lazy creation). PluginSettings.get_plugin_data_folder has been marked as deprecated. |
||
|---|---|---|
| .. | ||
| concepts.rst | ||
| distributing.rst | ||
| gettingstarted.rst | ||
| hooks.rst | ||
| index.rst | ||
| mixins.rst | ||
| viewmodels.rst | ||