| Replaces: pyenv | Purpose | Command |
| Install a specific Python version | uv python install <version> | |
| List available Python versions | uv python list | |
| Use a specific Python version in a project | uv python use <version> | |
| Automatically install the required Python version | uv run –python <version> script.py | |
| Pin the Python version for a project | uv python pin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import requests | |
| import time | |
| from typing import Union, Dict | |
| from config.settings import get_settings | |
| class DocumentIntelligenceService: | |
| """ | |
| A service class for interacting with Azure Document Intelligence API. |