human
Here's a good function header given the following:
I wrote the below code

    def decorator(func):
        def wrapper(self, req, resp, *args, **kwargs):
            try:
                jsonschema.validate(req.media, schema)
            except jsonschema.ValidationError as e:
                raise falcon.HTTPBadRequest('Failed    data    validation', description=e.message)
            return func(self, req, resp, *args, **kwargs)
        return wrapper
    return decorator

What's a good function header?
assistant
#Here's a good function header.

def validate(schema):