code: def _compose_func(func, args_func=lambda req_info: [req_info.index]):
      
      return FuncInfo(func=func, args_func=args_func)
docs: Compose function used to compose arguments to function.
  
      Arguments for the functions are composed from the :class:`.RequestInfo`
      object from the ZODB.