This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.58k
stars
2.8k
forks
source link
Sample for azure-ai-documentintelligence fails with "NameError: name 'AnalyzeDocumentRequest' is not defined" #37924
Describe the bug The python sample in https://learn.microsoft.com/en-us/training/modules/plan-form-recognizer-solution/3-resources?pivots=python fails with "NameError: name 'AnalyzeDocumentRequest' is not defined"
To Reproduce Steps to reproduce the behavior:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
pip install azure-ai-documentintelligence
Accordingly to https://github.com/Azure/azure-sdk-for-python/blob/azure-ai-documentintelligence_1.0.0b4/sdk/documentintelligence/azure-ai-documentintelligence/MIGRATION_GUIDE.md, the function has been migrated.
Expected behavior Sample runs smoothly.
Screenshots