xpublish.Rest.setup_plugins#

Rest.setup_plugins(plugins=None)[source]#

Initialize and load plugins from entry_points unless explicitly provided

Parameters

plugins (Optional[Dict[str, Plugin]]) –

If a dictionary of initialized plugins is provided, then the automatic loading of plugins is disabled.

Providing an empty dictionary will also disable automatic loading of plugins.