mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Add some missing type hints
This commit is contained in:
parent
c19802e4d8
commit
fc4a02c0c9
1 changed files with 2 additions and 2 deletions
|
|
@ -63,9 +63,9 @@ class BasicAuthMethod(AuthMethod):
|
|||
class DigestAuthMethod(AuthMethod):
|
||||
# make class var to 'cache' the state, which is more efficient because otherwise
|
||||
# each request would first require another 'initialization' request.
|
||||
_auth_helpers = {}
|
||||
_auth_helpers: dict[tuple[str, str], requests.auth.HTTPDigestAuth] = {}
|
||||
|
||||
def __init__(self, username, password):
|
||||
def __init__(self, username: str, password: str):
|
||||
super().__init__(username, password)
|
||||
|
||||
self._auth_helper = self._auth_helpers.get(
|
||||
|
|
|
|||
Loading…
Reference in a new issue