human
I wrote the below code

    def sync_wrapper(self, *args, **kwds):
        method = getattr(self, name)
        future = method(*args, **kwds)
        return future.get_result()
    return sync_wrapper

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

def _make_sync_method(name):