-
Notifications
You must be signed in to change notification settings - Fork 0
test copilot pr review - add az aks connection create
#7
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,12 +4,14 @@ | |
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
|
|
||
| def connection_create_ext(cmd, client, # pylint: disable=too-many-locals,too-many-statements | ||
| # pylint: disable=too-many-locals,too-many-statements,unused-argument | ||
| def connection_create_ext(cmd, client, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔎 Refined suggestion: # pylint: disable=too-many-locals,too-many-statements,unused-argument
def connection_create_ext(cmd, client,
connection_name=None, client_type=None,
source_resource_group=None, source_id=None,
target_resource_group=None, target_id=None,
secret_auth_info=None, secret_auth_info_auto=None,
user_identity_auth_info=None, system_identity_auth_info=None,
service_principal_auth_info_secret=None,
key_vault_id=None,
app_config_id=None, |
||
| connection_name=None, client_type=None, | ||
| source_resource_group=None, source_id=None, | ||
| target_resource_group=None, target_id=None, | ||
| secret_auth_info=None, secret_auth_info_auto=None, | ||
| user_identity_auth_info=None, system_identity_auth_info=None, | ||
| workload_identity_auth_info=None, # only used as arg | ||
| service_principal_auth_info_secret=None, | ||
| key_vault_id=None, | ||
| app_config_id=None, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ | |
| logger.warn("Wheel is not available, disabling bdist_wheel hook") | ||
|
|
||
|
|
||
| VERSION = '3.0.2' | ||
| VERSION = '3.1.0' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔎 - logger.warn("Wheel is not available, disabling bdist_wheel hook")
+ logger.warning("Wheel is not available, disabling bdist_wheel hook")Refinement: Use |
||
| try: | ||
| from azext_serviceconnector_passwordless.config import VERSION | ||
| except ImportError: | ||
|
|
||
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.
🔎
az aks connection createshould be backticked in the history notes for consistency with the previous usage.