Skip to content

Commit

Permalink
Add output example to Queue.__generate_json_data docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Jun 29, 2021
1 parent 0e8b1dc commit 3408d37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/webqueue2api/parser/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ def __generate_json_data(self) -> dict:
Example:
__generate_json_data() returns:
...
{
'items': [ ...items ],
'name': 'ce',
'path': '/home/pier/e/queue/Mail/ce'
}
Returns:
dict: JSON serializable data dictionary of class attributes.
Expand Down

0 comments on commit 3408d37

Please sign in to comment.