Skip to content

Commit 40c4f13

Browse files
author
SDKAuto
committed
CodeGen from PR 13810 in Azure/azure-rest-api-specs
Merge 6f7af67be3ffda2c1523c726f1d15d5bec9e8849 into 9fbd9c6
1 parent 5774dfe commit 40c4f13

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+15856
-4794
lines changed

src/storagesync/HISTORY.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
33
Release History
44
===============
5-
0.1.1
6-
++++++
7-
* GA.
85

96
0.1.0
107
++++++
Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,50 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# --------------------------------------------------------------------------------------------
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
510

611
from azure.cli.core import AzCommandsLoader
7-
8-
from azext_storagesync._help import helps # pylint: disable=unused-import
12+
from azext_storagesync.generated._help import helps # pylint: disable=unused-import
13+
try:
14+
from azext_storagesync.manual._help import helps # pylint: disable=reimported
15+
except ImportError:
16+
pass
917

1018

1119
class MicrosoftStorageSyncCommandsLoader(AzCommandsLoader):
1220

1321
def __init__(self, cli_ctx=None):
1422
from azure.cli.core.commands import CliCommandType
15-
from azext_storagesync._client_factory import cf_storagesync
23+
from azext_storagesync.generated._client_factory import cf_storagesync_cl
1624
storagesync_custom = CliCommandType(
1725
operations_tmpl='azext_storagesync.custom#{}',
18-
client_factory=cf_storagesync)
19-
super(MicrosoftStorageSyncCommandsLoader, self).__init__(cli_ctx=cli_ctx,
20-
custom_command_type=storagesync_custom)
26+
client_factory=cf_storagesync_cl)
27+
parent = super(MicrosoftStorageSyncCommandsLoader, self)
28+
parent.__init__(cli_ctx=cli_ctx, custom_command_type=storagesync_custom)
2129

2230
def load_command_table(self, args):
23-
from azext_storagesync.commands import load_command_table
31+
from azext_storagesync.generated.commands import load_command_table
2432
load_command_table(self, args)
33+
try:
34+
from azext_storagesync.manual.commands import load_command_table as load_command_table_manual
35+
load_command_table_manual(self, args)
36+
except ImportError:
37+
pass
2538
return self.command_table
2639

2740
def load_arguments(self, command):
28-
from azext_storagesync._params import load_arguments
41+
from azext_storagesync.generated._params import load_arguments
2942
load_arguments(self, command)
43+
try:
44+
from azext_storagesync.manual._params import load_arguments as load_arguments_manual
45+
load_arguments_manual(self, command)
46+
except ImportError:
47+
pass
3048

3149

3250
COMMAND_LOADER_CLS = MicrosoftStorageSyncCommandsLoader

src/storagesync/azext_storagesync/_client_factory.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/storagesync/azext_storagesync/_help.py

Lines changed: 0 additions & 285 deletions
This file was deleted.

0 commit comments

Comments
 (0)