From 5660483d0af27df7def565adaeef3ca612ba5251 Mon Sep 17 00:00:00 2001 From: alifeee Date: Mon, 4 Dec 2023 20:26:52 +0000 Subject: [PATCH] increase warning stacklevel from 1 to 2 --- gspread/worksheet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index 7739e6ad2..4d850482d 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -1218,6 +1218,7 @@ def update( "Please pass values first and range_name second" "or used named arguments (range_name=, values=)", DeprecationWarning, + stacklevel=2, ) range_name, values = values, range_name