def set_attributes(self, deprecated, doc, arg_data_type, result_data_type,<EOL>error_data_type, attrs):
self.deprecated = deprecated<EOL>self.raw_doc = doc<EOL>self.doc = doc_unwrap(doc)<EOL>self.arg_data_type = arg_data_type<EOL>self.result_data_type = result_data_type<EOL>self.error_data_type = error_data_type<EOL>self.attrs = attrs<EOL>
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.