Skip to content

Commit 0e21890

Browse files
committed
Ruff
1 parent d551499 commit 0e21890

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/neo4j_graphrag/experimental/pipeline/orchestrator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
PipelineMissingDependencyError,
2727
PipelineStatusUpdateError,
2828
)
29-
from neo4j_graphrag.experimental.pipeline.notification import EventNotifier
3029
from neo4j_graphrag.experimental.pipeline.types.context import RunContext
3130
from neo4j_graphrag.experimental.pipeline.types.orchestration import (
3231
RunResult,

src/neo4j_graphrag/experimental/pipeline/pipeline.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
from neo4j_graphrag.experimental.pipeline.notification import (
4242
Event,
4343
EventCallbackProtocol,
44-
EventType,
45-
PipelineEvent,
4644
EventNotifier,
4745
)
4846
from 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():

0 commit comments

Comments
 (0)