mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): revert optional graph
This commit is contained in:
parent
d32caf7cb1
commit
86c3acf184
@ -193,7 +193,7 @@ class GraphInvocation(BaseInvocation):
|
||||
"""Execute a graph"""
|
||||
|
||||
# TODO: figure out how to create a default here
|
||||
graph: Optional["Graph"] = InputField(description="The graph to run", default=None)
|
||||
graph: "Graph" = InputField(description="The graph to run", default=None)
|
||||
|
||||
def invoke(self, context: InvocationContext) -> GraphInvocationOutput:
|
||||
"""Invoke with provided services and return outputs."""
|
||||
|
Loading…
Reference in New Issue
Block a user