Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support python 3.8 and 3.9 #14

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/apic-extension/azext_apic_extension/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down