Skip to content

azure-ai-contentunderstanding missing/failing model imports #45489

@johnayoub-wtw

Description

@johnayoub-wtw
  • azure-ai-contentunderstanding:
  • 1.0.0:
  • Ubuntu WSL 2:
  • 3.14.3:

Describe the bug
The azure content understanding SDK includes both a _models.pyi and _models.py and type checkers such as pyright are only importing or resolving models in _models.pyi and other models are showing as unknown causing issues with auto complete.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to import AnalysisResult as shown in sample files

Expected behavior
Import should be resolved.

Screenshots

Image

Metadata

Metadata

Labels

Cognitive - Content Understandingcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions