Ask a question to get started
Enter to sendā¢Shift+Enter new line
secret_from_env( key: str | Sequence[str], , *, default: str
key
str | Sequence[str]
The environment variable to look up.
default
str | _NoDefaultType | None
_NoDefault
The default value to return if the environment variable is not set.
error_message
str | None
None
Secret from env.
The error message which will be raised if the key is not found and no default value is provided.
This will be raised as a ValueError.
ValueError