From d3dcceefc52f7ca417e84a47a6951d1b7b543fad Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 29 Dec 2013 21:08:46 +0100 Subject: [PATCH] models: Add description of Ref model --- mopidy/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mopidy/models.py b/mopidy/models.py index 1aace8db..0e40a8f6 100644 --- a/mopidy/models.py +++ b/mopidy/models.py @@ -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