Closed johnmaguire closed 3 years ago
Currently, plugins are required to instantiate like this:
def setup(cardinal, config): return MyPlugin(cardinal, config)
Instead, we could simply do this:
entrypoint = MyPlugin
The order of cardinal and config also should not matter - and it should be possible to request config without requesting cardinal.
cardinal
config
Currently, plugins are required to instantiate like this:
Instead, we could simply do this:
The order of
cardinal
andconfig
also should not matter - and it should be possible to requestconfig
without requestingcardinal
.