From 943cafd1ae2f8304e07df98d238bc24968a4a080 Mon Sep 17 00:00:00 2001 From: Calvin Chan Date: Tue, 22 Mar 2022 10:39:36 -0700 Subject: [PATCH] Move import to inside deserialize function --- src/containerapp/azext_containerapp/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 633e50544c9..a5d40c3c2d9 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -21,7 +21,6 @@ from ._client_factory import handle_raw_exception from ._clients import ManagedEnvironmentClient, ContainerAppClient, GitHubActionClient, DaprComponentClient -from ._sdk_models import * # pylint: disable=wildcard-import, unused-wildcard-import from ._github_oauth import get_github_access_token from ._models import ( ManagedEnvironment as ManagedEnvironmentModel, @@ -84,6 +83,7 @@ def load_yaml_file(file_name): def create_deserializer(): + from ._sdk_models import ContainerApp # pylint: disable=unused-import from msrest import Deserializer import sys import inspect