MCPcopy
hub / github.com/burnash/gspread / update_acell

Method update_acell

gspread/worksheet.py:733–743  ·  view source on GitHub ↗

Updates the value of a cell. :param str label: Cell label in A1 notation. :param value: New value. Example:: worksheet.update_acell('A1', '42')

(self, label: str, value: Union[int, float, str])

Source from the content-addressed store, hash-verified

731 return []
732
733 def update_acell(self, label: str, value: Union[int, float, str]) -> JSONResponse:
734 """Updates the value of a cell.
735
736 :param str label: Cell label in A1 notation.
737 :param value: New value.
738
739 Example::
740
741 worksheet.update_acell('A1', '42')
742 """
743 return self.update_cell(*(a1_to_rowcol(label)), value=value)
744
745 def update_cell(
746 self, row: int, col: int, value: Union[int, float, str]

Callers 7

test_propertiesMethod · 0.80
test_equalityMethod · 0.80
test_numeric_valueMethod · 0.80
test_a1_valueMethod · 0.80
test_update_acellMethod · 0.80
test_insert_rowMethod · 0.80

Calls 2

update_cellMethod · 0.95
a1_to_rowcolFunction · 0.85

Tested by 7

test_propertiesMethod · 0.64
test_equalityMethod · 0.64
test_numeric_valueMethod · 0.64
test_a1_valueMethod · 0.64
test_update_acellMethod · 0.64
test_insert_rowMethod · 0.64