Document what should happen if library.lookup() fails
This commit is contained in:
parent
a3498ba5d6
commit
597ea290ae
@ -273,11 +273,11 @@ class BaseLibraryController(object):
|
|||||||
|
|
||||||
def lookup(self, uri):
|
def lookup(self, uri):
|
||||||
"""
|
"""
|
||||||
Lookup track with given URI.
|
Lookup track with given URI. Returns :class:`None` if not found.
|
||||||
|
|
||||||
:param uri: track URI
|
:param uri: track URI
|
||||||
:type uri: string
|
:type uri: string
|
||||||
:rtype: :class:`mopidy.models.Track`
|
:rtype: :class:`mopidy.models.Track` or :class:`None`
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user