human
I wrote the below code

    def run_server(func):
        @wraps(func)
        def inner(*args, **kwargs):
            _server = serve_responses(responses, files, passwords, home, pubkeys, port)
            _server.all_done = threading.Event()
            worker = ThreadHandler('server', _server.serve_forever)
            try:
                return func(*args, **kwargs)
            finally:
                with hide('status'):
                    disconnect_all()
                _server.all_done.set()
                _server.shutdown()
                _server.server_close()
                worker.thread.join()
                e = worker.exception
                if e:
                    raise e[0], e[1], e[2]
        return inner
    return run_server

What's a good function header?

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

def server(responses=RESPONSES, files=FILES, passwords=PASSWORDS, home=HOME, pubkeys=False, port=PORT):