From 29870a6ff3d25fd9800ab3503f5a0bbea76d2966 Mon Sep 17 00:00:00 2001 From: Marian Szenfeld Date: Tue, 24 Dec 2024 11:47:01 +0100 Subject: [PATCH] chore: fix typo in typing --- pydantic_ai_slim/pydantic_ai/prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydantic_ai_slim/pydantic_ai/prompt.py b/pydantic_ai_slim/pydantic_ai/prompt.py index 109ec6dd..67c849d7 100644 --- a/pydantic_ai_slim/pydantic_ai/prompt.py +++ b/pydantic_ai_slim/pydantic_ai/prompt.py @@ -16,7 +16,7 @@ ) Content = Union[str, int, float, bool, dict[str, 'Content'], list['Content']] -XMLContent = Union[ET.Element | list['XMLContent']] +XMLContent = Union[ET.Element, list['XMLContent']] Dialect = Literal['xml']