Skip to content
New issue

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

Use os.environ dictionary to set environment variables. #2138

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

obermeier
Copy link
Member

Purpose

%export ENVIRONMENT_VARIABLE could led to "UsageError: Line magic function %export not found." error.

os.environ dictionary seems to be more generic and reuses the approach from other StreamPipes Python tutorials.

PR introduces (a) breaking change(s): no

PR introduces (a) deprecation(s): no

%export ENVIRONMENT_VARIABLE could led to "UsageError: Line magic function `%export` not found."

os.environ dictionary seems to be more generic and reuses the approach from other StreamPipes Python tutorials.
@obermeier obermeier added python Pull requests that update Python code documentation Everything related to documentation labels Nov 4, 2023
@github-actions github-actions bot removed python Pull requests that update Python code documentation Everything related to documentation labels Nov 4, 2023
@bossenti bossenti added python Pull requests that update Python code documentation Everything related to documentation labels Nov 5, 2023
@bossenti bossenti added this to the 0.93.0 milestone Nov 5, 2023
@bossenti bossenti merged commit 55a0d0e into dev Nov 5, 2023
18 checks passed
@bossenti bossenti deleted the obermeier-patch-1 branch November 5, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Everything related to documentation python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants