This allows you to create a decorator for Eve hooks. The decorator returns a decorator that checks its first argument's node type. If the node type is not of the required node type, returns None, otherwise calls the wrapped function.
This allows you to create a decorator for Eve hooks. The decorator returns a decorator that checks its first argument's node type. If the node type is not of the required node type, returns None, otherwise calls the wrapped function.