From 63d10027a4996f810057be03ae4b50f6444e7a26 Mon Sep 17 00:00:00 2001 From: Eugene Date: Sat, 15 Apr 2023 23:29:18 -0400 Subject: [PATCH] nodes: invocation queue item - make more pydantic --- invokeai/app/services/invocation_queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/app/services/invocation_queue.py b/invokeai/app/services/invocation_queue.py index d049377e7e..acfda6b90b 100644 --- a/invokeai/app/services/invocation_queue.py +++ b/invokeai/app/services/invocation_queue.py @@ -8,8 +8,8 @@ from pydantic import BaseModel, Field class InvocationQueueItem(BaseModel): - graph_execution_state_id: str - invocation_id: str + graph_execution_state_id: str = Field(description="The ID of the graph execution state") + invocation_id: str = Field(description="The ID of the node being invoked") invoke_all: bool = Field(default=False) timestamp: float = Field(default_factory=time.time)