From 6688f19ff7ab6434f49423a4c0d20c4b6830c456 Mon Sep 17 00:00:00 2001 From: Qinkai Wu Date: Fri, 6 Mar 2026 15:46:19 +1100 Subject: [PATCH] Fix incorrect import alias that overwrites _DatabaseWait The cluster-level Wait command (from .aaz.latest.redisenterprise) was imported as _DatabaseWait, overwriting the earlier database-level Wait import (from .aaz.latest.redisenterprise.database). This caused the DatabaseWait class to inherit from the cluster-level Wait instead of the database-level Wait, so the customization logic in _build_arguments_schema operated on a non-existing database_name parameter schema. Rename the cluster-level import alias from _DatabaseWait to _ClusterWait to match the naming convention of its sibling imports (_ClusterList, _ClusterShow). --- src/redisenterprise/azext_redisenterprise/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redisenterprise/azext_redisenterprise/custom.py b/src/redisenterprise/azext_redisenterprise/custom.py index 2f0ff02513f..c14ab169fc5 100644 --- a/src/redisenterprise/azext_redisenterprise/custom.py +++ b/src/redisenterprise/azext_redisenterprise/custom.py @@ -23,7 +23,7 @@ from .aaz.latest.redisenterprise.database import Wait as _DatabaseWait from .aaz.latest.redisenterprise import List as _ClusterList from .aaz.latest.redisenterprise import Show as _ClusterShow -from .aaz.latest.redisenterprise import Wait as _DatabaseWait +from .aaz.latest.redisenterprise import Wait as _ClusterWait from .aaz.latest.redisenterprise import Update as _Update from azure.cli.core.azclierror import ( MutuallyExclusiveArgumentError,