Skip to content

Commit

Permalink
fix duplicate argument after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmarcos98 authored Feb 26, 2022
1 parent 2e3ca30 commit 11e969f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions datawrapper/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "",
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 11e969f

Please sign in to comment.