Update history
This commit is contained in:
Родитель
a3bc5c76d2
Коммит
e1605c3b4f
|
@ -3,6 +3,10 @@
|
|||
Release History
|
||||
===============
|
||||
|
||||
0.0.36 (2018-10-31)
|
||||
+++++++++++++++++++
|
||||
* Fixed typo in refresh_token call
|
||||
|
||||
0.0.35 (2018-10-29)
|
||||
+++++++++++++++++++
|
||||
* Added retry for getting tokens
|
||||
|
|
|
@ -167,7 +167,7 @@ class DataLakeCredential:
|
|||
"""
|
||||
session = requests.Session()
|
||||
if time.time() - self.token['time'] > self.token['expiresIn'] - 100:
|
||||
self.refresh_token(retry_poliy=retry_policy)
|
||||
self.refresh_token(retry_policy=retry_policy)
|
||||
|
||||
scheme, token = self.token['tokenType'], self.token['access']
|
||||
header = "{} {}".format(scheme, token)
|
||||
|
|
Загрузка…
Ссылка в новой задаче