-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
- Package Name: azure-mgmt-resources-deploymentstacks
- Package Version: 1.0.0
- Operating System: Windows
- Python Version: 3.13
Describe the bug
The API version validation in this package appears to have a bug. We have a new query parameter added on a new API version. The generated code that creates this request specifies this new query parameter as a keyword arg set to None by default. We do not set this query parameter at all in our code (CLI), but validation throws the parameter is not supported on the API version. It seems this validation is considering new query parameter set to None as a validation error when it should not.
To Reproduce
Steps to reproduce the behavior:
- Checkout [ARM] Deployment Stacks initial 2025-07-01 API version support azure-cli#32777 at commit
bc8df278a1f7e93bc5987565693900e3ac61119f - Run
azdev setup -cto install updated packages - Run
azdev test DeploymentStacksTest - See test failures like in screenshot.
Expected behavior
Tests don't error with unmanage_action_resources_without_delete_support not supported on 2024-03-01 API version (the preexisting API version) when this is set to None.
Additional context
I don't think this is blocking me because I intend to upgrade to the latest API version.

