Skip to content

Commit

Permalink
style: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
blackchoey committed Nov 20, 2024
1 parent bdb89ab commit e39fe60
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/apic-extension/azext_apic_extension/command_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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()
Expand All @@ -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}/")
f"Microsoft.ApiManagement/service/{args.apim_name}/")

0 comments on commit e39fe60

Please sign in to comment.