We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91a34ab + 4539bda commit aeb5eb3Copy full SHA for aeb5eb3
ydb/iam/auth.py
@@ -21,8 +21,13 @@
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
+ try:
+ # This attempt is to enable the IAM auth inside the YDB repository on Arcadia
26
+ from contrib.ydb.public.api.client.yc_public.iam import iam_token_service_pb2_grpc
27
+ from contrib.ydb.public.api.client.yc_public.iam import iam_token_service_pb2
28
+ except ImportError:
29
+ iam_token_service_pb2_grpc = None
30
+ iam_token_service_pb2 = None
31
32
try:
33
import requests
0 commit comments