get_env¶
Hook for getting environment variables.
Inputs¶
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| environment_variable | str | None | False | Dict for setting and string for getting environment variables |
| fallback | str | None | False | A fallback for getting. |
Arguments¶
| Position | Argument | Type |
|---|---|---|
| 1 | environment_variable | str |
| 2 | fallback | str |
Returns¶
None
Examples¶
Basic implementation¶
compact->: get_env ENV_VAR
expanded:
->: get_env
environment_variable: ENV_VAR