Python: Clean up imports (#2318)

* chore: tidy imports

* Update python/packages/azurefunctions/agent_framework_azurefunctions/_errors.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update python/packages/azurefunctions/agent_framework_azurefunctions/_callbacks.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: revert stub file change

* chore: trigger pre-commit hook, re-add `annotations` import

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Brandon McConnell
2025-11-19 18:41:01 -05:00
committed by GitHub
Unverified
parent b3e96b80ae
commit 79bb87061b
45 changed files with 191 additions and 228 deletions
@@ -1,8 +1,6 @@
# Copyright (c) Microsoft. All rights reserved.
"""Cache provider for Purview data."""
from __future__ import annotations
import hashlib
import heapq
import json
@@ -1,5 +1,4 @@
# Copyright (c) Microsoft. All rights reserved.
from __future__ import annotations
import base64
import inspect
@@ -1,8 +1,6 @@
# Copyright (c) Microsoft. All rights reserved.
"""Purview specific exceptions (minimal error shaping)."""
from __future__ import annotations
from agent_framework.exceptions import ServiceResponseException
__all__ = [
@@ -1,5 +1,4 @@
# Copyright (c) Microsoft. All rights reserved.
from __future__ import annotations
from collections.abc import Awaitable, Callable
@@ -1,5 +1,4 @@
# Copyright (c) Microsoft. All rights reserved.
from __future__ import annotations
import asyncio
import uuid
@@ -1,7 +1,5 @@
# Copyright (c) Microsoft. All rights reserved.
from __future__ import annotations
from enum import Enum
from agent_framework._pydantic import AFBaseSettings