MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

Sample with Webservice(ws, service_name) does not work

Open algattik opened this issue 7 years ago • 3 comments

Sample with Webservice(ws, service_name) does not work:

    service = Webservice(ws, service_name)
  File "lib/python3.7/site-packages/azureml/core/webservice/webservice.py", line 192, in __new__
    return super(Webservice, cls).__new__(cls)
TypeError: Can't instantiate abstract class Webservice with abstract methods _deploy, get_token, run, update

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

algattik avatar Nov 29 '19 17:11 algattik

@algattik Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

YutongTie-MSFT avatar Dec 02 '19 17:12 YutongTie-MSFT

I just ran both notebooks referenced in Webservice class remarks class and they worked. The samples in the remarks are extracts from the notebooks and run only with the context provided in the notebook.

vmagelo avatar Jan 06 '20 17:01 vmagelo

@algattik Thanks for your report. Since we haven't heard back from you in awhile, I will proceed to close this issue. If you feel that your issue has not been resolved, please reopen the issue and provide additional context.

PeterCLu avatar Jan 27 '20 22:01 PeterCLu