You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why this doesnt wortk?
class CustomClass: @staticmethod
def command_method(self, state : StateGraph) ->Command[Literal["nodeA", "nodeB"]:
This works:
class CustomClass: @staticmethod
def command_method(state) ->Command[Literal["nodeA", "nodeB"]:
Im working on a POCs to make a config file without logic where you can define the graph layout with custom classes.
Im trying to update my POC for the command integration and it didnt work as I expected. I 've problems also with the literal definition. My graph was dinamic and a single file configuration, now I cant make a graph with Literal dinamic.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im facing a problem with the command approach.
Why this doesnt wortk?
class CustomClass:
@staticmethod
def command_method(self, state : StateGraph) ->Command[Literal["nodeA", "nodeB"]:
This works:
class CustomClass:
@staticmethod
def command_method(state) ->Command[Literal["nodeA", "nodeB"]:
Im working on a POCs to make a config file without logic where you can define the graph layout with custom classes.
Im trying to update my POC for the command integration and it didnt work as I expected. I 've problems also with the literal definition. My graph was dinamic and a single file configuration, now I cant make a graph with Literal dinamic.
Beta Was this translation helpful? Give feedback.
All reactions