-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{ServiceBus} az servicebus queue update: Add breaking change alert messages
#24937
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
Conversation
|
ServiceBus |
az servicebus queue update: Adding breaking change alert messagesaz servicebus queue update: Add breaking change alert messages
|
@evelyn-ys, we are removing certain properties from |
| from isodate import Duration | ||
| from azure.cli.core.azclierror import InvalidArgumentValueError | ||
| from azure.cli.command_modules.servicebus.constants import DURATION_SECS, DURATION_MIN, DURATION_DAYS | ||
| from argcomplete import warn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why using warn from argcomplete. This usage is weird.
| from datetime import timedelta | ||
| from isodate import parse_duration | ||
| from knack.util import CLIError | ||
| import warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not Azure CLI convention to use warnings module. Instead, warnings in Azure CLI is written like
azure-cli/src/azure-cli/azure/cli/command_modules/profile/custom.py
Lines 38 to 39 in d331edf
| if not subscriptions: | |
| logger.warning('Please run "az login" to access your accounts.') |
Related command
az servicebus queue update
Description
Adding breaking change alert messages wherever required
Testing Guide
History Notes
{ServiceBus}
az servicebus queue update: Add breaking change alertsThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.