From e39fe60393a614ef939d53dc613c665738aeaa39 Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Wed, 20 Nov 2024 13:11:59 +0800 Subject: [PATCH] style: fix code style --- .../azext_apic_extension/command_patches.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/apic-extension/azext_apic_extension/command_patches.py b/src/apic-extension/azext_apic_extension/command_patches.py index de2230f159f..d1f1c8ae8b1 100644 --- a/src/apic-extension/azext_apic_extension/command_patches.py +++ b/src/apic-extension/azext_apic_extension/command_patches.py @@ -303,16 +303,20 @@ def pre_operations(self): args.source_resource_ids = source_resource_ids + # `az apic integration` commands class ListIntegrationExtension(DefaultWorkspaceParameter, ListIntegration): pass + class DeleteIntegrationExtension(DefaultWorkspaceParameter, DeleteIntegration): pass + class ShowIntegrationExtension(DefaultWorkspaceParameter, ShowIntegration): pass + @register_command( "apic integration create azure-api-management", is_preview=True, @@ -346,7 +350,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) return args_schema - + def pre_operations(self): # Set apim_resource_id based on user input super().pre_operations() @@ -365,4 +369,4 @@ def pre_operations(self): resource_group = args.apim_resource_group args.apim_resource_id = (f"/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/" - f"Microsoft.ApiManagement/service/{args.apim_name}/") \ No newline at end of file + f"Microsoft.ApiManagement/service/{args.apim_name}/")