We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you deploy Kubeflow Pipelines (KFP)? Installed with poetry
KFP version: 1.7.1
KFP SDK version: kfp 2.9.0 kfp-pipeline-spec 0.4.0 kfp-server-api 2.3.0
I try to run the following test:
from kfp import dsl from kfp import local local.init(runner=local.DockerRunner()) @dsl.component def print_and_return_env_var() -> str: import os val = os.environ.get('ENV1') print("ENV1:", val) return val @dsl.pipeline def env_var_test() -> str: res = print_and_return_env_var() res = res.set_env_variable(name="ENV1", value="yoyo") return res.output def test_env_var_local(): res = env_var_test() assert res.output == "yoyo"
To print "ENV1: yoyo" To return "yoyo" in the pipeline result
When I compile the pipeline, I do see the env var in the pipeline.yaml
/area backend
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
How do you deploy Kubeflow Pipelines (KFP)?
Installed with poetry
KFP version:
1.7.1
KFP SDK version:
kfp 2.9.0
kfp-pipeline-spec 0.4.0
kfp-server-api 2.3.0
Steps to reproduce
I try to run the following test:
Expected result
To print "ENV1: yoyo"
To return "yoyo" in the pipeline result
Materials and reference
When I compile the pipeline, I do see the env var in the pipeline.yaml
Labels
/area backend
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: