plugins.registry.build_registry

plugins.registry.build_registry(config=None, use_entry_points=True)

Assemble a registry from built-ins, entry points and the config file.

Parameters

Name Type Description Default
config Path | None An explicit plugins.toml; None resolves it the usual way. None
use_entry_points bool Include installed cadjoint.plugins entry points (tests turn this off to stay hermetic). True

Returns

Name Type Description
PluginRegistry The assembled registry.