-
Notifications
You must be signed in to change notification settings - Fork 58
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
BUG: Fix for duplicate authentication #878
Conversation
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more.
|
raise ValueError(f"Couldn't connect to MLClient: {e}") | ||
logging.info(f"Logged into AzureML workspace {ml_client.workspace_name}") | ||
return ml_client | ||
logger.info(f"Using MLClient for AzureML workspace {workspace_name} as specified by environment variables") |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
Can you please summarise the changes in this PR so it's a bit easier to review? |
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.
LGTM, minor suggestions and Qs
for more information, see https://pre-commit.ci
…/hi-ml into antonsc/duplicate_auth
I will take a look at this tomorrow. |
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.
LGTM, although I'm not very confident. I've left some minor comments.
Resolve issues with AML SDK v1/v2: Even in the v2 code path we are creating v1 workspaces, leading to duplicate authentication requests.
To achieve that, a couple of other changes were necessary:
Also added more detailed logging for dataset creation, and a commandline flag to control logging level.