human
I wrote the below code

    def _execute(pkg):
        _depends_on(pkg, spec, when=when, type=type)
    return _execute

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

@directive(('dependencies', 'dependency_types'))
def depends_on(spec, when=None, type=None):