diff --git a/src/apic-extension/azext_apic_extension/__init__.py b/src/apic-extension/azext_apic_extension/__init__.py index 306e1026397..eb668228785 100644 --- a/src/apic-extension/azext_apic_extension/__init__.py +++ b/src/apic-extension/azext_apic_extension/__init__.py @@ -4,7 +4,7 @@ # # Code generated by aaz-dev-tools # -------------------------------------------------------------------------------------------- -from typing import TypeGuard, Type +from typing import Type from azure.cli.core import AzCommandsLoader from azure.cli.core.aaz import AAZCommand @@ -42,7 +42,7 @@ def load_arguments(self, command): load_arguments(self, command) -def is_aaz_command_subclass(value: Type) -> TypeGuard[AAZCommand]: +def is_aaz_command_subclass(value: Type) -> bool: return isinstance(value, type) and issubclass(value, AAZCommand) def load_command_patches(loader: AzCommandsLoader) -> None: