xpublish.hookspec#
- xpublish.hookspec = <pluggy._hooks.HookspecMarker object>#
Decorator for marking functions as hook specifications.
Instantiate it with a project_name to get a decorator. Calling
PluginManager.add_hookspecs()later will discover all marked functions if thePluginManageruses the same project name.