Clarify _search_spotify return type

This commit is contained in:
Rahul Ahuja 2019-01-21 22:12:56 -08:00
parent aa18f9116d
commit 42e852cc7e

View file

@ -370,8 +370,9 @@ class SpotifyPlugin(BeetsPlugin):
:param filters: (Optional) Field filters to apply.
:type filters: dict
:param keywords: (Optional) Query keywords to use.
:return: JSON data for the class:`Response <Response>` object
:rtype: dict
:return: JSON data for the class:`Response <Response>` object or None
if no search results are returned
:rtype: dict or None
"""
query = self._construct_search_query(
keywords=keywords, filters=filters