plugins.registry.register_plugin

plugins.registry.register_plugin(spec, *, default=None)

Register spec in the process-wide registry.