fix(nodes): revert optional graph

This commit is contained in:
psychedelicious 2023-10-18 18:14:22 +11:00
parent d32caf7cb1
commit 86c3acf184

View File

@ -193,7 +193,7 @@ class GraphInvocation(BaseInvocation):
"""Execute a graph""" """Execute a graph"""
# TODO: figure out how to create a default here # 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: def invoke(self, context: InvocationContext) -> GraphInvocationOutput:
"""Invoke with provided services and return outputs.""" """Invoke with provided services and return outputs."""