code: def set_attributes(self, deprecated, doc, arg_data_type, result_data_type,
                         error_data_type, attrs):
          
          self.deprecated = deprecated
          self.raw_doc = doc
          self.doc = doc_unwrap(doc)
          self.arg_data_type = arg_data_type
          self.result_data_type = result_data_type
          self.error_data_type = error_data_type
          self.attrs = attrs
docs: Converts a forward reference definition of a route into a full
          definition.
  
          :param DeprecationInfo deprecated: Set if this route is deprecated.
          :param str doc: Description of the endpoint.
          :type arg_data_type: :class:`stone.data_type.DataType`
          :type result_data_type: :class:`stone.data_type.DataType`
          :type error_data_type: :class:`stone.data_type.DataType`
          :param dict attrs: Map of string keys to values that are either int,
              float, bool, str, or None. These are the route attributes assigned
              in the spec.