Skip to content

Commit

Permalink
add Optional typing for api_token
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Apr 10, 2024
1 parent 733d5c3 commit cdc8977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyDataverse/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Api:
def __init__(
self,
base_url: str,
api_token: str = None,
api_token: Optional[str] = None,
api_version: str = "latest",
):
"""Init an Api() class.
Expand Down

0 comments on commit cdc8977

Please sign in to comment.