models: Add description of Ref model

This commit is contained in:
Stein Magnus Jodal 2013-12-29 21:08:46 +01:00
parent e87d5729e3
commit d3dcceefc5

View File

@ -138,6 +138,10 @@ def model_json_decoder(dct):
class Ref(ImmutableObject):
"""
Model to represent URI references with a human friendly name and type
attached. This is intended for use a lightweight object "free" of metadata
that can be passed around instead of using full blown models.
:param uri: object URI
:type uri: string
:param name: object name