Skip to content

Commit

Permalink
Updated the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
muddi900 committed Oct 26, 2024
1 parent e7f092b commit 4017c3d
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,12 @@ def append_records(
:type ignore_extra_headers: bool
:param default_blank: The value to use for missing columns in the data. Defaults to an empty string.
:type default_blank: Any
:param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1.
:type header_row: int
:param value_input_option: (optional) Determines how the input data
should be interpreted. See `ValueInputOption`_ in the Sheets API
reference.
:type value_input_option: :class:`~gspread.utils.ValueInputOption`
:raises GSpreadException: If extra headers are found in the data set and `ignore_extra_headers` is False.
"""
Expand Down Expand Up @@ -663,6 +668,12 @@ def append_record(
:type ignore_extra_headers: bool
:param default_blank: The value to use for missing columns in the data. Defaults to an empty string.
:type default_blank: Any
:param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1.
:type header_row: int
:param value_input_option: (optional) Determines how the input data
should be interpreted. See `ValueInputOption`_ in the Sheets API
reference.
:type value_input_option: :class:`~gspread.utils.ValueInputOption`
:raises GSpreadException: If extra headers are found in the data set and `ignore_extra_headers` is False.
"""
Expand Down Expand Up @@ -701,6 +712,12 @@ def insert_records(
:param insert_row: Row number(1-indexed) where the
data would be inserted. Defaults to 2.
:type insert_row: int
:param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1.
:type header_row: int
:param value_input_option: (optional) Determines how the input data
should be interpreted. See `ValueInputOption`_ in the Sheets API
reference.
:type value_input_option: :class:`~gspread.utils.ValueInputOption`
:raises GSpreadException: If extra headers are found
in the data set and `ignore_extra_headers` is False.
Expand Down Expand Up @@ -750,6 +767,12 @@ def insert_record(
:param insert_row: Row number(1-indexed) where the
data would be inserted. Defaults to 2.
:type insert_row: int
:param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1.
:type header_row: int
:param value_input_option: (optional) Determines how the input data
should be interpreted. See `ValueInputOption`_ in the Sheets API
reference.
:type value_input_option: :class:`~gspread.utils.ValueInputOption`
:raises GSpreadException: If extra headers are found
in the data set and `ignore_extra_headers` is False.
Expand Down

0 comments on commit 4017c3d

Please sign in to comment.