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

[AutoPR storagesync] [StorageSync] Publish 2020-09-01 as stable API version #1352

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 0 additions & 3 deletions src/storagesync/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

Release History
===============
0.1.1
++++++
* GA.

0.1.0
++++++
Expand Down
40 changes: 29 additions & 11 deletions src/storagesync/azext_storagesync/__init__.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,50 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader

from azext_storagesync._help import helps # pylint: disable=unused-import
from azext_storagesync.generated._help import helps # pylint: disable=unused-import
try:
from azext_storagesync.manual._help import helps # pylint: disable=reimported
except ImportError:
pass


class MicrosoftStorageSyncCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from azext_storagesync._client_factory import cf_storagesync
from azext_storagesync.generated._client_factory import cf_storagesync_cl
storagesync_custom = CliCommandType(
operations_tmpl='azext_storagesync.custom#{}',
client_factory=cf_storagesync)
super(MicrosoftStorageSyncCommandsLoader, self).__init__(cli_ctx=cli_ctx,
custom_command_type=storagesync_custom)
client_factory=cf_storagesync_cl)
parent = super(MicrosoftStorageSyncCommandsLoader, self)
parent.__init__(cli_ctx=cli_ctx, custom_command_type=storagesync_custom)

def load_command_table(self, args):
from azext_storagesync.commands import load_command_table
from azext_storagesync.generated.commands import load_command_table
load_command_table(self, args)
try:
from azext_storagesync.manual.commands import load_command_table as load_command_table_manual
load_command_table_manual(self, args)
except ImportError:
pass
return self.command_table

def load_arguments(self, command):
from azext_storagesync._params import load_arguments
from azext_storagesync.generated._params import load_arguments
load_arguments(self, command)
try:
from azext_storagesync.manual._params import load_arguments as load_arguments_manual
load_arguments_manual(self, command)
except ImportError:
pass


COMMAND_LOADER_CLS = MicrosoftStorageSyncCommandsLoader
38 changes: 0 additions & 38 deletions src/storagesync/azext_storagesync/_client_factory.py

This file was deleted.

285 changes: 0 additions & 285 deletions src/storagesync/azext_storagesync/_help.py

This file was deleted.

Loading