File tree Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1
1
* Fixed leak sessions on asyncio timeout
2
2
3
+ ## 3.12.2 ##
4
+ * Added support ydb github repo with own auth protobuf
5
+
6
+ ## 3.12.1 ##
7
+ * Fixed error while read the account key from a file (release version)
8
+
3
9
## 3.12.1b1 ##
4
10
* Fixed error while read the account key from a file
5
11
Original file line number Diff line number Diff line change 13
13
14
14
setuptools .setup (
15
15
name = "ydb" ,
16
- version = "3.12.1b1 " , # AUTOVERSION
16
+ version = "3.12.2 " , # AUTOVERSION
17
17
description = "YDB Python SDK" ,
18
18
author = "Yandex LLC" ,
19
19
author_email = "ydb@yandex-team.ru" ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ async def _refresh(self):
71
71
try :
72
72
auth_metadata = await self ._make_token_request ()
73
73
await self ._cached_token .update (auth_metadata ["access_token" ])
74
- self .update_expiration_info (auth_metadata )
74
+ self ._update_expiration_info (auth_metadata )
75
75
self .logger .info (
76
76
"Token refresh successful. current_time %s, refresh_in %s" ,
77
77
current_time ,
Original file line number Diff line number Diff line change 16
16
from yandex .cloud .iam .v1 import iam_token_service_pb2_grpc
17
17
from yandex .cloud .iam .v1 import iam_token_service_pb2
18
18
except ImportError :
19
- iam_token_service_pb2_grpc = None
20
- iam_token_service_pb2 = None
19
+ try :
20
+ # This attempt is to enable the IAM auth inside the YDB repository on GitHub
21
+ from ydb .public .api .client .yc_public .iam import iam_token_service_pb2_grpc
22
+ from ydb .public .api .client .yc_public .iam import iam_token_service_pb2
23
+ except ImportError :
24
+ iam_token_service_pb2_grpc = None
25
+ iam_token_service_pb2 = None
21
26
22
27
try :
23
28
import requests
Original file line number Diff line number Diff line change 1
- VERSION = "3.12.1b1 "
1
+ VERSION = "3.12.2 "
You can’t perform that action at this time.
0 commit comments