Skip to content

Commit 8cd7bac

Browse files
fixed circular imports
1 parent 4f0d2b8 commit 8cd7bac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/a2a/utils/artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from typing import Any
66

77
from a2a.types import Artifact, DataPart, Part, TextPart
8-
from a2a.utils import get_text_parts
8+
from a2a.utils.parts import get_text_parts
99

1010

1111
def new_artifact(

src/a2a/utils/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Role,
99
TextPart,
1010
)
11-
from a2a.utils import get_text_parts
11+
from a2a.utils.parts import get_text_parts
1212

1313

1414
def new_agent_text_message(

0 commit comments

Comments
 (0)