File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
src/neo4j_graphrag/experimental/pipeline Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 2626 PipelineMissingDependencyError ,
2727 PipelineStatusUpdateError ,
2828)
29- from neo4j_graphrag .experimental .pipeline .notification import EventNotifier
3029from neo4j_graphrag .experimental .pipeline .types .context import RunContext
3130from neo4j_graphrag .experimental .pipeline .types .orchestration import (
3231 RunResult ,
Original file line number Diff line number Diff line change 4141from neo4j_graphrag .experimental .pipeline .notification import (
4242 Event ,
4343 EventCallbackProtocol ,
44- EventType ,
45- PipelineEvent ,
4644 EventNotifier ,
4745)
4846from neo4j_graphrag .experimental .pipeline .orchestrator import Orchestrator
@@ -510,7 +508,6 @@ async def stream(
510508 """
511509 # Create queue for events
512510 event_queue : asyncio .Queue [Event ] = asyncio .Queue ()
513- run_id = None
514511
515512 async def event_stream (event : Event ) -> None :
516513 # Put event in queue for streaming
@@ -545,7 +542,6 @@ async def event_stream(event: Event) -> None:
545542 # we are sure to get an Event here, since this is the only
546543 # thing we put in the queue, but mypy still complains
547544 event = event_future .result ()
548- run_id = getattr (event , "run_id" , None )
549545 yield event # type: ignore
550546
551547 if exc := run_task .exception ():
You can’t perform that action at this time.
0 commit comments