Skip to content

Commit

Permalink
mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Oct 19, 2023
1 parent f10330c commit 47ed86b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datawrapper/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def create_chart(
folder_id: str = "",
organization_id: str = "",
metadata: dict | None = None,
) -> dict | None | Any:
) -> dict:
"""Creates a new Datawrapper chart, table or map.
You can pass a pandas DataFrame as a `data` argument to upload data.
Expand Down Expand Up @@ -919,7 +919,7 @@ def get_basemap_key(self, basemap_id: str, basemap_key: str) -> dict:
"""
return self.get(f"{self._BASEMAPS_URL}/{basemap_id}/{basemap_key}")

def get_folders(self) -> dict | None | Any:
def get_folders(self) -> dict:
"""Get a list of folders in your Datawrapper account.
Returns
Expand Down

0 comments on commit 47ed86b

Please sign in to comment.