mypy: Remove un-needed 'type: ignore' for session.auth.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-12-21 08:32:40 -08:00 committed by showell
parent 7d493d64c5
commit bcca5230a3

View file

@ -403,7 +403,7 @@ class Client(object):
# Actually construct the session
session = requests.Session()
session.auth = requests.auth.HTTPBasicAuth(self.email, self.api_key) # type: ignore # https://github.com/python/typeshed/pull/1504
session.auth = requests.auth.HTTPBasicAuth(self.email, self.api_key)
session.verify = self.tls_verification # type: ignore # https://github.com/python/typeshed/pull/1504
session.cert = client_cert
session.headers = {"User-agent": self.get_user_agent()}