Skip to content

Commit c5a3f89

Browse files
committed
refactoring of node names
1 parent 2ffeb36 commit c5a3f89

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

scrapegraphai/nodes/conditional_node.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def __init__(self):
3232
"""
3333
Initializes an empty ConditionalNode.
3434
"""
35-
3635
#super().__init__(node_name, "node", input, output, 2, node_config)
3736
pass
3837

scrapegraphai/nodes/fetch_screen_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(
1616
input: str,
1717
output: List[str],
1818
node_config: Optional[dict] = None,
19-
node_name: str = "FetchScreenNode",
19+
node_name: str = "FetchScreen",
2020
):
2121
super().__init__(node_name, "node", input, output, 2, node_config)
2222
self.url = node_config.get("link")

scrapegraphai/nodes/parse_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(
3333
input: str,
3434
output: List[str],
3535
node_config: Optional[dict] = None,
36-
node_name: str = "Parse",
36+
node_name: str = "ParseNode",
3737
):
3838
super().__init__(node_name, "node", input, output, 1, node_config)
3939

scrapegraphai/nodes/search_link_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(
3636
input: str,
3737
output: List[str],
3838
node_config: Optional[dict] = None,
39-
node_name: str = "GenerateLinks",
39+
node_name: str = "SearchLinks",
4040
):
4141
super().__init__(node_name, "node", input, output, 1, node_config)
4242

scrapegraphai/nodes/search_node_with_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ class SearchLinksWithContext(BaseNode):
2323
input (str): Boolean expression defining the input keys needed from the state.
2424
output (List[str]): List of output keys to be updated in the state.
2525
node_config (dict): Additional configuration for the node.
26-
node_name (str): The unique identifier name for the node, defaulting to "GenerateAnswer".
26+
node_name (str): The unique identifier name for the node, defaulting to "SearchLinksWithContext".
2727
"""
2828

2929
def __init__(
3030
self,
3131
input: str,
3232
output: List[str],
3333
node_config: Optional[dict] = None,
34-
node_name: str = "GenerateAnswer",
34+
node_name: str = "SearchLinksWithContext",
3535
):
3636
super().__init__(node_name, "node", input, output, 2, node_config)
3737
self.llm_model = node_config["llm_model"]

0 commit comments

Comments
 (0)