azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Quickstart doesn't work with API

Open SumeetSandhu opened this issue 2 years ago • 3 comments

Hello, this line gives an error: from azure.ai.anomalydetector.models import DetectRequest

There is a discrepancy between the version of anomalydetector and the API used - what is the correct API?


Document Details

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

SumeetSandhu avatar Dec 14 '22 18:12 SumeetSandhu

@SumeetSandhu the engineering team just pushed a new version of the SDK last week and it looks like there are a few breaking changes in the docs. I will test to confirm later this week and update the docs as needed. Apologies for the inconvenience.

In the meantime the engineering team has updated samples for the latest release which can be found here: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/anomalydetector/azure-ai-anomalydetector/samples

Alternatively, the docs on this page were created/tested against the previous version of the SDK (3.0.0b5): image

mrbullwinkle avatar Dec 14 '22 19:12 mrbullwinkle

@SumeetSandhu Thanks for your feedback! We will investigate and update as appropriate.

Thanks @mrbullwinkle - the documentation works with 3.0.0b5 :)

looking forward to the updates for 3.0.0.b6 @RamanathanChinnappan-MSFT !

SumeetSandhu avatar Dec 15 '22 03:12 SumeetSandhu

@SumeetSandhu

Thank you for bringing this to our attention. The author is working on it; once completed, the document will be updated soon.

We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.