load_plugin

Contents

load_plugin#

pulserver.recon.load_plugin()[source]#

Import a plugin file and return the PLUGIN instance it defines.

The module is registered as pulserver_recon_<file stem>; loading another file with the same stem replaces it.

Raises:

ValueError – If the file defines no module-level PLUGIN, or one that is not a ReconPlugin.