nodes: invocation queue item - make more pydantic

This commit is contained in:
Eugene 2023-04-15 23:29:18 -04:00 committed by Eugene Brodsky
parent ef0773b8a3
commit 63d10027a4

View File

@ -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)