Make the manager
field on a plugin object optional
#191
Labels
Milestone
manager
field on a plugin object optional
#191
At the moment, an implementation of the
Manager
class must be defined in a plugin class.buildarr/buildarr/plugins/models.py
Lines 110 to 117 in c8a7e69
In practice, however, all of the existing managers within plugins are subclasses of the
ManagerPlugin
class without overriding any of the existing methods, sinceManagerPlugin
provides methods that hook into corresponding methods on theConfigPlugin
andSecretsPlugin
classes.Make it so that, similar to the
cli
field, plugins can simply specifyNone
here (or leave it completely undefined), and Buildarr will use theManagerPlugin
class's base methods unmodified.The text was updated successfully, but these errors were encountered: