File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pydantic_ai_slim/pydantic_ai Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1313import pydantic_core
1414from genai_prices import calc_price , types as genai_types
1515from opentelemetry ._events import Event # pyright: ignore[reportPrivateImportUsage]
16- from typing_extensions import Self , deprecated
16+ from typing_extensions import deprecated
1717
1818from . import _otel_messages , _utils
1919from ._utils import generate_tool_call_id as _generate_tool_call_id , now_utc as _now_utc
@@ -517,7 +517,7 @@ def narrow_type(bc: BinaryContent) -> BinaryContent | BinaryImage:
517517 return bc # pragma: no cover
518518
519519 @classmethod
520- def from_data_uri (cls , data_uri : str ) -> Self :
520+ def from_data_uri (cls , data_uri : str ) -> BinaryContent :
521521 """Create a `BinaryContent` from a data URI."""
522522 prefix = 'data:'
523523 if not data_uri .startswith (prefix ):
You can’t perform that action at this time.
0 commit comments