human
Complete the below
def _get_client(func):

    ''''Injects a client instance to the each function
    This decorator creates an instance of the Registry
    client and passes it as an argument to each function
    in this API.'
    '''
 Can you provide a the Python code you requested?
assistant
#Here is the Python code you requested.
    @functools.wraps(func)
    def wrapper(context, *args, **kwargs):
        client = api.get_registry_client(context)
        return func(client, *args, **kwargs)
    return wrapper