Skip to content

Commit

Permalink
typing of dict error
Browse files Browse the repository at this point in the history
  • Loading branch information
barrust committed Jan 4, 2024
1 parent ecf3671 commit 01fb86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediawiki/mediawikipage.py
Expand Up @@ -809,7 +809,7 @@ def _list_to_dict(_dict, path, sec):

self._table_of_contents = res

def __title_query_param(self) -> Dict[str, str | int]:
def __title_query_param(self) -> Dict[str, Any]:
"""util function to determine which parameter method to use"""
if getattr(self, "title", None) is not None:
return {"titles": self.title}
Expand Down

0 comments on commit 01fb86a

Please sign in to comment.