Skip to content

Commit

Permalink
Add deprecation warning for delete_row method in documentation (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
javad94 authored Aug 14, 2021
1 parent 82eaf4a commit 42388be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gspread/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,9 @@ def insert_cols(self, values, col=1, value_input_option='RAW'):
return self.spreadsheet.values_append(range_label, params, body)

def delete_row(self, index):
"""Deletes the row from the worksheet at the specified index.
""".. deprecated:: 5.0
Deletes the row from the worksheet at the specified index.
:param int index: Index of a row for deletion.
"""
Expand Down

0 comments on commit 42388be

Please sign in to comment.