Open LazaUK opened 1 year ago
@LazaUK Thanks for your feedback! We will investigate and update as appropriate.
@LazaUK I've delegated this to @dem108 , a content author, to review and share their valuable insights.
Sure, thank you very much for the update, Ramanathan.
Thanks @LazaUK sorry to take longer than we wanted - please allow us to review this and fix.
No worries, thank you @dem108
[Enter feedback here] When following the instruction on https://learn.microsoft.com/en-us/azure/machine-learning/how-to-debug-managed-online-endpoints-visual-studio-code?tabs=python#launch-development-container, last block returns an error,
This is the part of the code deployment = ml_client.online_deployments.begin_create_or_update( deployment, local=True, vscode_debug=True ).result()
And this is an error: AttributeError: 'ManagedOnlineDeployment' object has no attribute 'result'
As per the documentation, it indeed should return LROPoller class object, but seems to be a bug, as the function returns ManagedOnlineDeployment class object. Interestingly enough, other Azure ML doc pages (e.g., https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-online-endpoints?tabs=python#deploy-the-model-locally) have the same code provided without .result() function call. So, either this page was not updated or it's a new bug.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.