We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7137cb commit 28e11b7Copy full SHA for 28e11b7
pydantic_graph/pydantic_graph/graph.py
@@ -10,7 +10,6 @@
10
11
import logfire_api
12
import typing_extensions
13
-from opentelemetry.trace import Span
14
from typing_extensions import deprecated
15
from typing_inspection import typing_objects
16
@@ -212,7 +211,7 @@ async def iter(
212
211
state: StateT = None,
213
deps: DepsT = None,
214
persistence: BaseStatePersistence[StateT, RunEndT] | None = None,
215
- span: AbstractContextManager[Span] | None = None,
+ span: AbstractContextManager[AbstractSpan] | None = None,
216
infer_name: bool = True,
217
) -> AsyncIterator[GraphRun[StateT, DepsT, RunEndT]]:
218
"""A contextmanager which can be used to iterate over the graph's nodes as they are executed.
0 commit comments