From d51c43f5bc639123373208b5b297d72f536f5cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Thu, 29 Jan 2026 18:44:23 -0600 Subject: [PATCH] Add missing interpolate parameter to the docstrings of functions `load_dotenv` and `dotenv_values` --- src/dotenv/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dotenv/main.py b/src/dotenv/main.py index 1d6bf0b0..ed640a93 100644 --- a/src/dotenv/main.py +++ b/src/dotenv/main.py @@ -352,6 +352,7 @@ def load_dotenv( verbose: Whether to output a warning the .env file is missing. override: Whether to override the system environment variables with the variables from the `.env` file. + interpolate: Whether to interpolate variables using POSIX variable expansion. encoding: Encoding to be used to read the file. Returns: Bool: True if at least one environment variable is set else False @@ -402,6 +403,7 @@ def dotenv_values( dotenv_path: Absolute or relative path to the .env file. stream: `StringIO` object with .env content, used if `dotenv_path` is `None`. verbose: Whether to output a warning if the .env file is missing. + interpolate: Whether to interpolate variables using POSIX variable expansion. encoding: Encoding to be used to read the file. If both `dotenv_path` and `stream` are `None`, `find_dotenv()` is used to find the