From 70accd1767d2695a54af4d82ce455c59c9a4d310 Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Fri, 4 Jan 2019 13:49:05 -0500 Subject: [PATCH] exclusions docstring --- fun/playlist_manager.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/fun/playlist_manager.py b/fun/playlist_manager.py index 35cadb6..d4a3351 100644 --- a/fun/playlist_manager.py +++ b/fun/playlist_manager.py @@ -162,7 +162,21 @@ def selectors(): def exclusions(all_true, select, all_items): - + """ + Parameters + ---------- + all_true: bool + All of something (allLibraries, allPlaylists, allUsers) + select: list + List from arguments (user, playlists, libraries) + all_items: list or dict + List or Dictionary of all possible somethings + + Returns + ------- + output: list + List of what was included/excluded + """ output = '' if isinstance(all_items, list): output = []