From d61c1edfbce2f80cd498b0e7152fb71854554d5c Mon Sep 17 00:00:00 2001 From: duarte-pompeu Date: Fri, 8 Dec 2023 12:25:37 +0000 Subject: [PATCH] remove unecessary param --- src/dotenv/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dotenv/main.py b/src/dotenv/main.py index 351db17d..383b79f4 100644 --- a/src/dotenv/main.py +++ b/src/dotenv/main.py @@ -117,14 +117,13 @@ def get_key( dotenv_path: StrPath, key_to_get: str, encoding: Optional[str] = "utf-8", - verbose: bool = True, ) -> Optional[str]: """ Get the value of a given key from the given .env. Returns `None` if the key isn't found or doesn't have a value. """ - return DotEnv(dotenv_path, verbose=verbose, encoding=encoding).get(key_to_get) + return DotEnv(dotenv_path, verbose=True, encoding=encoding).get(key_to_get) @contextmanager