Afiq Johari
02/07/2024, 3:28 PMAhdra Merali
02/07/2024, 5:47 PMtransform: bool = False
), and add a condition to the function, e.g.:
#nodes.py
...
if transform:
transform_data(...)
ā¢ Add parameters that will hold the value for the condition, e.g.
#parameters.yml
...
transform_namespace: true
ā¢ When defining a node within your namespace pipeline, include the parameter in your inputs where you wish to trigger the condition
#pipelines.py
...
node(
func=...,
inputs=[..., "params:transform_namespace"],
...
Juan Luis
02/07/2024, 6:03 PMbefore_node_run
hook https://docs.kedro.org/en/stable/kedro.framework.hooks.specs.NodeSpecs.html#kedro.framework.hooks.specs.NodeSpecs.before_node_run