Skip to content

Commit

Permalink
fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
amatmv committed Aug 4, 2023
1 parent d1401f7 commit 8e015e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyakeneo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(
secret: str = None,
username: str = None,
password: str = None,
session: Auth = None,
session: requests.Session = None,
):
if not session and not (client_id and secret and username and password):
# No credentials provided neither via client_id+secret+username+password nor via session
Expand All @@ -36,7 +36,7 @@ def __init__(

self._init(base_url, session)

def _make_auth(self, base_url, client_id, secret, username, password):
def _make_auth(self, base_url, client_id, secret, username, password) -> Auth:
return Auth(base_url, client_id, secret, username, password)

def _init(self, base_url, session):
Expand Down

0 comments on commit 8e015e6

Please sign in to comment.