Skip to content

Commit c34be1f

Browse files
Fix command registration: Update __init__.py files to import all subcommands
- Update neon/__init__.py to import all command groups (branch, compute, endpoint, etc.) - Update aaz package __init__.py files to properly import modules - This fixes the AAZ validation errors for missing command groups Fixes the error: 'Miss command groups in aaz: az neon branch, az neon compute...'
1 parent 0a639e0 commit c34be1f

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/neon/azext_neon/aaz/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
#
55
# Code generated by aaz-dev-tools
66
# --------------------------------------------------------------------------------------------
7+
8+
from . import latest

src/neon/azext_neon/aaz/latest/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
# pylint: skip-file
99
# flake8: noqa
1010

11+
from . import neon

src/neon/azext_neon/aaz/latest/neon/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@
1010

1111
from .__cmd_group import *
1212
from ._create import *
13+
from . import branch
14+
from . import compute
15+
from . import endpoint
16+
from . import neon_database
17+
from . import neon_role
18+
from . import organization
19+
from . import project

0 commit comments

Comments
 (0)