MCPcopy Create free account
hub / github.com/The-Pocket/PocketFlow-Tutorial-Video-Generator / exec

Method exec

nodes.py:5–8  ·  view source on GitHub ↗
(self, _)

Source from the content-addressed store, hash-verified

3
4class GetQuestionNode(Node):
5 def exec(self, _):
6 # Get question directly from user input
7 user_question = input("Enter your question: ")
8 return user_question
9
10 def post(self, shared, prep_res, exec_res):
11 # Store the user's question

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected