human
Complete this python program:
def decorator_from_middleware_with_args(middleware_class):
assistant
#Here is the Python code you requested.

    """Like decorator_from_middleware, but returns a function
    that accepts the arguments to be passed to the middleware_class.
    Use like::
    cache_page = decorator_from_middleware_with_args(CacheMiddleware)
    @cache_page(3600)
    def my_view(request):
    """
    return make_middleware_decorator(middleware_class)