MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / execute

Method execute

scrapegraphai/nodes/base_node.py:71–82  ·  view source on GitHub ↗

Execute the node's logic based on the current state and update it accordingly. Args: state (dict): The current state of the graph. Returns: dict: The updated state after executing the node's logic.

(self, state: dict)

Source from the content-addressed store, hash-verified

69
70 @abstractmethod
71 def execute(self, state: dict) -> dict:
72 """
73 Execute the node's logic based on the current state and update it accordingly.
74
75 Args:
76 state (dict): The current state of the graph.
77
78 Returns:
79 dict: The updated state after executing the node's logic.
80 """
81
82 pass
83
84 def update_config(self, params: dict, overwrite: bool = False):
85 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected