code: def wrap_context(func):
      
      @functools.wraps(func)
      def wrapper(self, request, context):
          return func(self, request, LogFieldsContext(context))
  
      return wrapper
docs: Wraps the provided servicer method by passing a wrapped context
  
      The context is wrapped using `lookout.sdk.grpc.log_fields.LogFieldsContext`.
  
      :param func: the servicer method to wrap_context
      :returns: the wrapped servicer method