xpublish.hookspec#
- xpublish.hookspec = <pluggy._hooks.HookspecMarker object>#
Decorator helper class for marking functions as hook specifications.
You can instantiate it with a project_name to get a decorator. Calling
PluginManager.add_hookspecs()
later will discover all marked functions if thePluginManager
uses the same project_name.