class documentation

class Hook:

Known subclasses: dulwich.hooks.ShellHook

View In Hierarchy

Generic hook object.

Method execute Execute the hook with the given args.
def execute(self, *args: Any) -> Any: ΒΆ

Execute the hook with the given args.

Parameters
*args:Anyargument list to hook
Returns
Anya hook may return a useful value
Raises
HookErrorhook execution failure