[Document Intelligence] Compatibility with pydantic #38926
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Document Intelligence
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Is your feature request related to a problem? Please describe.
I want to be able to use the type
AnalyzeResult
in a pydantic base model. One advantage is that ifAnalyzeResult
is part of the response for a FastAPI endpoint, proper Swagger documentation will be generated.Currently
azure-ai-documentintelligence:1.0.0b4
, it causes the following error:The text was updated successfully, but these errors were encountered: