diff options
author | kovalad <kovalad@yandex-team.ru> | 2022-02-10 16:52:22 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:52:22 +0300 |
commit | 11629a741930d54b23e29d28004a02f60d1125cb (patch) | |
tree | 5b8dab053ae4b2c8a1c088254a47e5f2dd32230b | |
parent | 6424279e2c8fcc72a394ef12fce2201cc35d21e8 (diff) | |
download | ydb-11629a741930d54b23e29d28004a02f60d1125cb.tar.gz |
Restoring authorship annotation for <kovalad@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | ydb/core/kqp/provider/yql_kikimr_provider.cpp | 2 | ||||
-rw-r--r-- | ydb/public/lib/ydb_cli/commands/ydb_service_discovery.cpp | 10 | ||||
-rw-r--r-- | ydb/public/sdk/python/CONTRIBUTING.md | 70 | ||||
-rw-r--r-- | ydb/public/sdk/python/ydb/auth_helpers.py | 2 |
4 files changed, 42 insertions, 42 deletions
diff --git a/ydb/core/kqp/provider/yql_kikimr_provider.cpp b/ydb/core/kqp/provider/yql_kikimr_provider.cpp index 635d1648279..7f69085a53d 100644 --- a/ydb/core/kqp/provider/yql_kikimr_provider.cpp +++ b/ydb/core/kqp/provider/yql_kikimr_provider.cpp @@ -127,7 +127,7 @@ const TKikimrTableDescription* TKikimrTablesData::EnsureTableExists(const TStrin ctx.AddError(YqlIssue(ctx.GetPosition(pos), TIssuesIds::KIKIMR_SCHEME_ERROR, TStringBuilder() << "Cannot find table '" << NCommon::FullTableName(cluster, table) - << "' because it does not exist or you do not have access permissions." + << "' because it does not exist or you do not have access permissions." << " Please check correctness of table path and user permissions.")); return nullptr; } diff --git a/ydb/public/lib/ydb_cli/commands/ydb_service_discovery.cpp b/ydb/public/lib/ydb_cli/commands/ydb_service_discovery.cpp index 18aa3a65e5a..5f237ae1114 100644 --- a/ydb/public/lib/ydb_cli/commands/ydb_service_discovery.cpp +++ b/ydb/public/lib/ydb_cli/commands/ydb_service_discovery.cpp @@ -33,11 +33,11 @@ void TCommandListEndpoints::PrintResponse(NDiscovery::TListEndpointsResult& resu const TVector<NDiscovery::TEndpointInfo>& endpoints = result.GetEndpointsInfo(); if (endpoints.size()) { for (auto& endpoint : endpoints) { - if (endpoint.Ssl) { - Cout << "grpcs://"; - } else { - Cout << "grpc://"; - } + if (endpoint.Ssl) { + Cout << "grpcs://"; + } else { + Cout << "grpc://"; + } Cout << endpoint.Address << ":" << endpoint.Port; if (endpoint.Location) { Cout << " [" << endpoint.Location << "]"; diff --git a/ydb/public/sdk/python/CONTRIBUTING.md b/ydb/public/sdk/python/CONTRIBUTING.md index 9ebd417e211..5bf5833cf11 100644 --- a/ydb/public/sdk/python/CONTRIBUTING.md +++ b/ydb/public/sdk/python/CONTRIBUTING.md @@ -1,35 +1,35 @@ -# Notice to external contributors - - -## General info - -Hello! In order for us (YANDEX LLC) to accept patches and other contributions from you, you will have to adopt our Yandex Contributor License Agreement (the “**CLA**”). The current version of the CLA you may find here: -1) https://yandex.ru/legal/cla/?lang=en (in English) and -2) https://yandex.ru/legal/cla/?lang=ru (in Russian). - -By adopting the CLA, you state the following: - -* You obviously wish and are willingly licensing your contributions to us for our open source projects under the terms of the CLA, -* You has read the terms and conditions of the CLA and agree with them in full, -* You are legally able to provide and license your contributions as stated, -* We may use your contributions for our open source projects and for any other our project too, -* We rely on your assurances concerning the rights of third parties in relation to your contributes. - -If you agree with these principles, please read and adopt our CLA. By providing us your contributions, you hereby declare that you has already read and adopt our CLA, and we may freely merge your contributions with our corresponding open source project and use it in further in accordance with terms and conditions of the CLA. - -## Provide contributions - -If you have already adopted terms and conditions of the CLA, you are able to provide your contributes. When you submit your pull request, please add the following information into it: - -``` -I hereby agree to the terms of the CLA available at: [link]. -``` - -Replace the bracketed text as follows: -* [link] is the link at the current version of the CLA (you may add here a link https://yandex.ru/legal/cla/?lang=en (in English) or a link https://yandex.ru/legal/cla/?lang=ru (in Russian). - -It is enough to provide us such notification at once. - -## Other questions - -If you have any questions, please mail us at opensource@yandex-team.ru. +# Notice to external contributors + + +## General info + +Hello! In order for us (YANDEX LLC) to accept patches and other contributions from you, you will have to adopt our Yandex Contributor License Agreement (the “**CLA**”). The current version of the CLA you may find here: +1) https://yandex.ru/legal/cla/?lang=en (in English) and +2) https://yandex.ru/legal/cla/?lang=ru (in Russian). + +By adopting the CLA, you state the following: + +* You obviously wish and are willingly licensing your contributions to us for our open source projects under the terms of the CLA, +* You has read the terms and conditions of the CLA and agree with them in full, +* You are legally able to provide and license your contributions as stated, +* We may use your contributions for our open source projects and for any other our project too, +* We rely on your assurances concerning the rights of third parties in relation to your contributes. + +If you agree with these principles, please read and adopt our CLA. By providing us your contributions, you hereby declare that you has already read and adopt our CLA, and we may freely merge your contributions with our corresponding open source project and use it in further in accordance with terms and conditions of the CLA. + +## Provide contributions + +If you have already adopted terms and conditions of the CLA, you are able to provide your contributes. When you submit your pull request, please add the following information into it: + +``` +I hereby agree to the terms of the CLA available at: [link]. +``` + +Replace the bracketed text as follows: +* [link] is the link at the current version of the CLA (you may add here a link https://yandex.ru/legal/cla/?lang=en (in English) or a link https://yandex.ru/legal/cla/?lang=ru (in Russian). + +It is enough to provide us such notification at once. + +## Other questions + +If you have any questions, please mail us at opensource@yandex-team.ru. diff --git a/ydb/public/sdk/python/ydb/auth_helpers.py b/ydb/public/sdk/python/ydb/auth_helpers.py index 5d889555dfa..a8d4ae641db 100644 --- a/ydb/public/sdk/python/ydb/auth_helpers.py +++ b/ydb/public/sdk/python/ydb/auth_helpers.py @@ -34,7 +34,7 @@ def construct_credentials_from_environ(tracer=None): tracing.trace(tracer, {"credentials.metadata": True}) return ydb.iam.MetadataUrlCredentials() - + if os.getenv("YDB_TOKEN") is not None: tracing.trace(tracer, {"credentials.access_token": True}) return credentials.AuthTokenCredentials(os.getenv("YDB_TOKEN")) |