From 11e969ff5b93a2693e066da94781650f2e27dfd5 Mon Sep 17 00:00:00 2001 From: davidmarcos98 Date: Sat, 26 Feb 2022 17:02:41 +0000 Subject: [PATCH] fix duplicate argument after merge --- datawrapper/__main__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/datawrapper/__main__.py b/datawrapper/__main__.py index d2160d9..d00ff80 100644 --- a/datawrapper/__main__.py +++ b/datawrapper/__main__.py @@ -614,7 +614,6 @@ def get_charts( search: str = "", order: str = "DESC", order_by: str = "createdAt", - folder_id: str = "", limit: int = 25, folder_id: str = "", team_id: str = "", @@ -633,8 +632,6 @@ def get_charts( Result order (ascending or descending), by default "DESC" order_by : str, optional Attribute to order by. One of createdAt, email, id, or name, by default "createdAt" - folder_id: str, optional - ID of the folder to search charts in, by default "" limit : int, optional Maximum items to fetch, by default 25 folder_id : str, optional @@ -662,8 +659,6 @@ def get_charts( _query["order"] = order if order_by: _query["orderBy"] = order_by - if folder_id: - _query["folderId"] = folder_id if limit: _query["limit"] = str(limit) if folder_id: