From 52961d71f59d53fc98273729dc828b240ebb92b0 Mon Sep 17 00:00:00 2001 From: Rahul Ahuja Date: Sat, 5 Oct 2019 16:30:24 -0700 Subject: [PATCH] Add defaults to docstring --- beets/plugins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beets/plugins.py b/beets/plugins.py index f4c78d55d..d85f53f65 100644 --- a/beets/plugins.py +++ b/beets/plugins.py @@ -671,10 +671,11 @@ class MetadataSourcePlugin(object): :param artists: Iterable of artist dicts or lists returned by API. :type artists: list[dict] or list[list] :param id_key: Key or index corresponding to the value of ``id`` for - the main/first artist. + the main/first artist. Defaults to 'id'. :type id_key: str or int :param name_key: Key or index corresponding to values of names to concatenate for the artist string (containing all artists). + Defaults to 'name'. :type name_key: str or int :return: Normalized artist string. :rtype: str