Skip to content

Commit 85bc6c4

Browse files
authored
[healthcareapis] Bump version to 2021-11-01 (#4799)
* init * update * update test * update * update * Update HISTORY.rst * update recording * update * update * update * update * Update custom.py
1 parent 91fbeb5 commit 85bc6c4

File tree

78 files changed

+33995
-9401
lines changed

Some content is hidden

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

78 files changed

+33995
-9401
lines changed

src/healthcareapis/HISTORY.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
33
Release History
44
===============
55

6+
0.4.0
7+
++++++
8+
9+
* `az healthcareapis service` Add new argument `--login-servers` to support adding login servers to the service instance.
10+
* `az healthcareapis service` Add new argument `--oci-artifacts` to support specifying open container initiative artifacts.
11+
* `az healthcareapis private-endpoint-connection` Will deprecate argument `--private-link-service-connection-state-actions-required`
12+
* `az healthcareapis private-endpoint-connection` Will deprecate argument `--private-link-service-connection-state-description`
13+
* `az healthcareapis private-endpoint-connection` Will deprecate argument `--private-link-service-connection-state-status`
14+
* `az healthcareapis private-endpoint-connection` Add new argument `--private-link-service-connection-state` to support specifying information about the state of the connection between service consumer and provider.
15+
* Add new subgroups `az healthcareapis workspace` to Manage workspace with healthcareapis.
16+
* Add new subgroups `az healthcareapis workspace dicom-service` to Manage dicom service with healthcareapis.
17+
* Add new subgroups `az healthcareapis workspace fhir-service` to Manage fhir service with healthcareapis.
18+
* Add new subgroups `az healthcareapis workspace iot-connector` to Manage iot connector with healthcareapis.
19+
* Add new subgroups `az healthcareapis workspace iot-connector fhir-destination` to Manage iot connector fhir destination with healthcareapis.
20+
* Add new subgroups `az healthcareapis workspace private-endpoint-connection` to Manage workspace private endpoint connection with healthcareapis.
21+
* Add new subgroups `az healthcareapis workspace private-link-resource` to Manage workspace private link resource with healthcareapis.
22+
623
0.3.3
724
++++++
825

src/healthcareapis/azext_healthcareapis/__init__.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77
# Changes may cause incorrect behavior and will be lost if the code is
88
# regenerated.
99
# --------------------------------------------------------------------------
10+
# pylint: disable=unused-import
1011

12+
import azext_healthcareapis._help
1113
from azure.cli.core import AzCommandsLoader
12-
from azext_healthcareapis.generated._help import helps # pylint: disable=unused-import
13-
try:
14-
from azext_healthcareapis.manual._help import helps # pylint: disable=reimported
15-
except ImportError:
16-
pass
1714

1815

1916
class HealthcareApisManagementClientCommandsLoader(AzCommandsLoader):
@@ -33,8 +30,11 @@ def load_command_table(self, args):
3330
try:
3431
from azext_healthcareapis.manual.commands import load_command_table as load_command_table_manual
3532
load_command_table_manual(self, args)
36-
except ImportError:
37-
pass
33+
except ImportError as e:
34+
if e.name.endswith('manual.commands'):
35+
pass
36+
else:
37+
raise e
3838
return self.command_table
3939

4040
def load_arguments(self, command):
@@ -43,8 +43,11 @@ def load_arguments(self, command):
4343
try:
4444
from azext_healthcareapis.manual._params import load_arguments as load_arguments_manual
4545
load_arguments_manual(self, command)
46-
except ImportError:
47-
pass
46+
except ImportError as e:
47+
if e.name.endswith('manual._params'):
48+
pass
49+
else:
50+
raise e
4851

4952

5053
COMMAND_LOADER_CLS = HealthcareApisManagementClientCommandsLoader
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
# coding=utf-8
21
# --------------------------------------------------------------------------
32
# Copyright (c) Microsoft Corporation. All rights reserved.
4-
# Licensed under the MIT License. See License.txt in the project root for license information.
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
56
# Code generated by Microsoft (R) AutoRest Code Generator.
6-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
79
# --------------------------------------------------------------------------
8-
9-
from ._healthcare_apis_management_client import HealthcareApisManagementClient
10-
__all__ = ['HealthcareApisManagementClient']
11-
10+
# pylint: disable=wildcard-import
11+
# pylint: disable=unused-wildcard-import
12+
# pylint: disable=unused-import
13+
from .generated._help import helps # pylint: disable=reimported
1214
try:
13-
from ._patch import patch_sdk # type: ignore
14-
patch_sdk()
15-
except ImportError:
16-
pass
15+
from .manual._help import helps # pylint: disable=reimported
16+
except ImportError as e:
17+
if e.name.endswith('manual._help'):
18+
pass
19+
else:
20+
raise e

src/healthcareapis/azext_healthcareapis/action.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
from .generated.action import * # noqa: F403
1414
try:
1515
from .manual.action import * # noqa: F403
16-
except ImportError:
17-
pass
16+
except ImportError as e:
17+
if e.name.endswith('manual.action'):
18+
pass
19+
else:
20+
raise e
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"azext.minCliCoreVersion": "2.11.0"
2+
"azext.minCliCoreVersion": "2.15.0"
33
}

src/healthcareapis/azext_healthcareapis/custom.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
from .generated.custom import * # noqa: F403
1414
try:
1515
from .manual.custom import * # noqa: F403
16-
except ImportError:
17-
pass
16+
except ImportError as e:
17+
if e.name.endswith('manual.custom'):
18+
pass
19+
else:
20+
raise e

src/healthcareapis/azext_healthcareapis/generated/_client_factory.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,35 @@ def cf_private_endpoint_connection(cli_ctx, *_):
3030

3131
def cf_private_link_resource(cli_ctx, *_):
3232
return cf_healthcareapis_cl(cli_ctx).private_link_resources
33+
34+
35+
def cf_workspace(cli_ctx, *_):
36+
return cf_healthcareapis_cl(cli_ctx).workspaces
37+
38+
39+
def cf_dicom_service(cli_ctx, *_):
40+
return cf_healthcareapis_cl(cli_ctx).dicom_services
41+
42+
43+
def cf_iot_connector(cli_ctx, *_):
44+
return cf_healthcareapis_cl(cli_ctx).iot_connectors
45+
46+
47+
def cf_fhir_destination(cli_ctx, *_):
48+
return cf_healthcareapis_cl(cli_ctx).fhir_destinations
49+
50+
51+
def cf_iot_connector_fhir_destination(cli_ctx, *_):
52+
return cf_healthcareapis_cl(cli_ctx).iot_connector_fhir_destination
53+
54+
55+
def cf_fhir_service(cli_ctx, *_):
56+
return cf_healthcareapis_cl(cli_ctx).fhir_services
57+
58+
59+
def cf_workspace_private_endpoint_connection(cli_ctx, *_):
60+
return cf_healthcareapis_cl(cli_ctx).workspace_private_endpoint_connections
61+
62+
63+
def cf_workspace_private_link_resource(cli_ctx, *_):
64+
return cf_healthcareapis_cl(cli_ctx).workspace_private_link_resources

0 commit comments

Comments
 (0)