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 thePluginManager
uses the same project name.