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]]) – A dictionary of initialized plugins. If provided, then the automatic loading of plugins is disabled. Providing an empty dictionary will also disable automatic loading of plugins.

Return type:

None