You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Folowwing this doc I'm trying to create a json to run my kedro pipeline in vertex ai, but when I generate the json end_date variable isn't recognize as an input like node_name and env. So, how can I pass end_date inside create_step_get_lines ?
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Folowwing this doc I'm trying to create a json to run my kedro pipeline in vertex ai, but when I generate the json end_date variable isn't recognize as an input like node_name and env. So, how can I pass end_date inside create_step_get_lines ?
My variable create_step_get_lines inside build_kubeflow_pipeline.py file:
create_step_get_lines = components.load_component_from_text("""
name: """ + name + """
inputs:
- {name: run_id, type: String}
- {name: end_date, type: String}
- {name: node_name, type: String}
- {name: env, type: String}
implementation:
container:
image: MY_IMAGE
command: [
kedro, run, --node, {inputValue: node_name},
--env, {inputValue: env},
--params, "run_id: """ + run_id + """,end_date: {inputValue: end_date}"]
""")
The generated json from running python build_kubeflow_pipeline.py MY_IMAGE:
"command": [
"kedro",
"run",
"--node",
"{{$.inputs.parameters['node_name']}}",
"--env",
"{{$.inputs.parameters['env']}}",
"--params",
"run_id: 2022-05-03-17-14-56,end_date: {inputValue: end_date}"
],
"image": MY_IMAGE
The text was updated successfully, but these errors were encountered: