From e030193d7acf36b15f680cb802e6e079d99890aa Mon Sep 17 00:00:00 2001 From: AsafMah Date: Tue, 1 Jun 2021 13:06:40 +0300 Subject: [PATCH] Fixed wrong kwargs and bumped version for release (#324) --- azure-kusto-data/azure/kusto/data/_token_providers.py | 2 +- azure-kusto-data/azure/kusto/data/_version.py | 2 +- azure-kusto-ingest/azure/kusto/ingest/_version.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-kusto-data/azure/kusto/data/_token_providers.py b/azure-kusto-data/azure/kusto/data/_token_providers.py index 0c69fa75..b86f7d19 100644 --- a/azure-kusto-data/azure/kusto/data/_token_providers.py +++ b/azure-kusto-data/azure/kusto/data/_token_providers.py @@ -286,7 +286,7 @@ async def _get_token_impl_async(self) -> Optional[dict]: if self._az_auth_context_async is None: self._az_auth_context_async = AsyncAzureCliCredential() - self._az_token = await self._az_auth_context_async.get_token(self._kusto_uri, self._az_kwargs) + self._az_token = await self._az_auth_context_async.get_token(self._kusto_uri) return {TokenConstants.AZ_TOKEN_TYPE: TokenConstants.BEARER_TYPE, TokenConstants.AZ_ACCESS_TOKEN: self._az_token.token} except Exception as e: raise KustoClientError( diff --git a/azure-kusto-data/azure/kusto/data/_version.py b/azure-kusto-data/azure/kusto/data/_version.py index 6f2408fc..19240df0 100644 --- a/azure-kusto-data/azure/kusto/data/_version.py +++ b/azure-kusto-data/azure/kusto/data/_version.py @@ -1,3 +1,3 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License -VERSION = "2.1.1" +VERSION = "2.1.2" diff --git a/azure-kusto-ingest/azure/kusto/ingest/_version.py b/azure-kusto-ingest/azure/kusto/ingest/_version.py index 6f2408fc..19240df0 100644 --- a/azure-kusto-ingest/azure/kusto/ingest/_version.py +++ b/azure-kusto-ingest/azure/kusto/ingest/_version.py @@ -1,3 +1,3 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License -VERSION = "2.1.1" +VERSION = "2.1.2"