Skip to content

Commit a0f4678

Browse files
committed
Import Self from typing_extensions instead of typing
1 parent fe07149 commit a0f4678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydantic_ai_slim/pydantic_ai/_output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from abc import ABC, abstractmethod
66
from collections.abc import Awaitable, Sequence
77
from dataclasses import dataclass, field, replace
8-
from typing import TYPE_CHECKING, Any, Callable, Generic, Literal, Self, Union, cast, overload
8+
from typing import TYPE_CHECKING, Any, Callable, Generic, Literal, Union, cast, overload
99

1010
from pydantic import TypeAdapter, ValidationError
1111
from pydantic_core import SchemaValidator
12-
from typing_extensions import TypedDict, TypeVar, assert_never
12+
from typing_extensions import Self, TypedDict, TypeVar, assert_never
1313

1414
from . import _function_schema, _utils, messages as _messages
1515
from ._run_context import AgentDepsT, RunContext

0 commit comments

Comments
 (0)