overwrite common params to affect nodes config
Some checks failed
/ build (3.10) (push) Has been cancelled
Release / Build (push) Has been cancelled
Release / Release (push) Has been cancelled

This commit is contained in:
Marco Perini 2024-06-16 15:19:40 +02:00
parent 0c5d6e2c82
commit 4c8becc721
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class AbstractGraph(ABC):
"cache_path": self.cache_path,
}
self.set_common_params(common_params, overwrite=False)
self.set_common_params(common_params, overwrite=True)
# set burr config
self.burr_kwargs = config.get("burr_kwargs", None)

View File

@ -43,7 +43,7 @@ class FetchNode(BaseNode):
node_config: Optional[dict] = None,
node_name: str = "Fetch",
):
super().__init__(node_name, "node", input, output, 1)
super().__init__(node_name, "node", input, output, 1, node_config)
self.headless = (
True if node_config is None else node_config.get("headless", True)