human
I wrote the below code

    def wrapper(self, request):
        request.DATA = request.POST
        if ('$$originalJSON' in request.POST):
            request.DATA = json.loads(request.POST['$$originalJSON'])
        return func(self, request)
    return wrapper

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

def post2data(func):