Skip to content

Commit

Permalink
making rows args mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBasem1 committed Sep 24, 2023
1 parent 4565154 commit 14ed342
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,10 @@ def _pad_values_and_keys_for_get_records_subset(self, values, keys, default_blan

def get_records_subset(
self,
head,
first_row,
last_row,
empty2zero=False,
head=1,
first_row=None,
last_row=None,
default_blank="",
allow_underscores_in_numeric_literals=False,
numericise_ignore=[],
Expand All @@ -644,12 +644,12 @@ def get_records_subset(
Cell values are numericised (strings that can be read as ints or floats
are converted), unless specified in numericise_ignore
:param int head: Determines which row to use as keys,
starting from 1 following the numeration of the spreadsheet.
:param int first_row: row to start reading data from (inclusive) (1-based).
:param int last_row: row to stop reading at (inclusive) (1-based).
:param bool empty2zero: (optional) Determines whether empty cells are
converted to zeros.
:param int head: (optional) Determines which row to use as keys,
starting from 1 following the numeration of the spreadsheet.
:param int first_row: (optional) row to start reading data from (inclusive) (1-based).
:param int last_row: (optional) row to stop reading at (inclusive) (1-based).
:param str default_blank: (optional) Determines which value to use for
blank cells, defaults to empty string.
:param bool allow_underscores_in_numeric_literals: (optional) Allow
Expand Down

0 comments on commit 14ed342

Please sign in to comment.