Skip to content

Commit

Permalink
Merge pull request #305 fix error text
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby authored May 24, 2023
2 parents 6c61d5f + bc1914c commit 759ccfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/aio/iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class TokenServiceCredentials(AbstractExpiringTokenCredentials):
def __init__(self, iam_endpoint=None, iam_channel_credentials=None):
super(TokenServiceCredentials, self).__init__()
assert iam_token_service_pb2_grpc is not None, "run pip install==ydb[yc] to use service account credentials"
assert iam_token_service_pb2_grpc is not None, 'run pip install "ydb[yc]" to use service account credentials'
self._get_token_request_timeout = 10
self._iam_endpoint = "iam.api.cloud.yandex.net:443" if iam_endpoint is None else iam_endpoint
self._iam_channel_credentials = {} if iam_channel_credentials is None else iam_channel_credentials
Expand Down
2 changes: 1 addition & 1 deletion ydb/iam/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_jwt(account_id, access_key_id, private_key, jwt_expiration_timeout):
class TokenServiceCredentials(credentials.AbstractExpiringTokenCredentials):
def __init__(self, iam_endpoint=None, iam_channel_credentials=None, tracer=None):
super(TokenServiceCredentials, self).__init__(tracer)
assert iam_token_service_pb2_grpc is not None, "run pip install==ydb[yc] to use service account credentials"
assert iam_token_service_pb2_grpc is not None, 'run pip install "ydb[yc]" to use service account credentials'
self._get_token_request_timeout = 10
self._iam_token_service_pb2 = iam_token_service_pb2
self._iam_token_service_pb2_grpc = iam_token_service_pb2_grpc
Expand Down

0 comments on commit 759ccfc

Please sign in to comment.