mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 00:15:20 +01:00
Added documentation for the expand parameter
This commit is contained in:
parent
041adf47ac
commit
619344c813
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ def json_generator(items, root, expand=False):
|
|||
|
||||
:param root: root key for JSON
|
||||
:param items: list of :class:`Item` or :class:`Album` to dump
|
||||
:param expand: If true every :class:`Album` contains its items in the json
|
||||
representation
|
||||
:returns: generator that yields strings
|
||||
"""
|
||||
yield '{"%s":[' % root
|
||||
|
|
|
|||
Loading…
Reference in a new issue