Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kusto: releasing 2021-08-27 client #3974

Merged
merged 28 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added UpgradeLog.htm
Binary file not shown.
7 changes: 2 additions & 5 deletions src/kusto/azext_kusto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=unused-import

import azext_kusto._help
from azure.cli.core import AzCommandsLoader
from azext_kusto.generated._help import helps # pylint: disable=unused-import
try:
from azext_kusto.manual._help import helps # pylint: disable=reimported
except ImportError:
pass


class KustoManagementClientCommandsLoader(AzCommandsLoader):
Expand Down
17 changes: 17 additions & 0 deletions src/kusto/azext_kusto/_help.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import
# pylint: disable=unused-import
from .generated._help import helps # pylint: disable=reimported
try:
from .manual._help import helps # pylint: disable=reimported
except ImportError:
pass
7 changes: 5 additions & 2 deletions src/kusto/azext_kusto/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
from .generated.action import * # noqa: F403
try:
from .manual.action import * # noqa: F403
except ImportError:
pass
except ImportError as e:
if e.name.endswith('manual.action'):
zoharHenMicrosoft marked this conversation as resolved.
Show resolved Hide resolved
pass
else:
raise e
1 change: 0 additions & 1 deletion src/kusto/azext_kusto/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.15.0"
}
7 changes: 5 additions & 2 deletions src/kusto/azext_kusto/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
from .generated.custom import * # noqa: F403
try:
from .manual.custom import * # noqa: F403
except ImportError:
pass
except ImportError as e:
if e.name.endswith('manual.custom'):
zoharHenMicrosoft marked this conversation as resolved.
Show resolved Hide resolved
pass
else:
raise e
16 changes: 14 additions & 2 deletions src/kusto/azext_kusto/generated/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ def cf_database(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).databases


def cf_attached_database_configuration(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).attached_database_configurations


def cf_managed_private_endpoint(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).managed_private_endpoints


def cf_database_principal_assignment(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).database_principal_assignments

Expand All @@ -36,8 +44,12 @@ def cf_script(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).scripts


def cf_attached_database_configuration(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).attached_database_configurations
def cf_private_endpoint_connection(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).private_endpoint_connections


def cf_private_link_resource(cli_ctx, *_):
return cf_kusto_cl(cli_ctx).private_link_resources


def cf_data_connection(cli_ctx, *_):
Expand Down
Loading