gspread/models.py
def batch_clear(self, ranges):
        """Clears multiple ranges of cells with 1 API call.

        https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchClear

        Examples::

            worksheet.batch_clear(['A1:B1','my_range'])

            # Note: named ranges are defined in the scope of
            # a spreadsheet, so even if `my_range` does not belong to
            # this sheet it is still updated

        .. versionadded:: 3.8.0

        """
        ranges = [absolute_range_name(self.title, rng) for rng in ranges]

        body = {'ranges': ranges}

        response = self.spreadsheet.values_batch_clear(body=body)

        return response
Clears multiple ranges of cells with 1 API call.

        https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchClear

        Examples::

            worksheet.batch_clear(['A1:B1','my_range'])

            # Note: named ranges are defined in the scope of
            # a spreadsheet, so even if `my_range` does not belong to
            # this sheet it is still updated

        .. versionadded:: 3.8.0

        
Clears multiple ranges of cells with 1 API call.





named ranges are defined in the scope of
a spreadsheet, so even if `my_range` does not belong to
this sheet it is still updated


Clears multiple ranges of cells with 1 API call . named ranges are defined in the scope of a spreadsheet so even if ` my_range ` does not belong to this sheet it is still updated
def batch_clear(self, ranges):
        ranges = [absolute_range_name(self.title, rng) for rng in ranges]
        body = {'ranges': ranges}
        response = self.spreadsheet.values_batch_clear(body=body)
        return response
def batch_clear ( self , ranges ) : ranges = [ absolute_range_name ( self . title , rng ) for rng in ranges ] body = { 'ranges' : ranges } response = self . spreadsheet . values_batch_clear ( body = body ) return response
Clears multiple ranges of cells with 1 API call.
Clears multiple ranges of cells with 1 API call .
"""Clears multiple ranges of cells with 1 API call.

        https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchClear

        Examples::

            worksheet.batch_clear(['A1:B1','my_range'])

            # Note: named ranges are defined in the scope of
            # a spreadsheet, so even if `my_range` does not belong to
            # this sheet it is still updated

        .. versionadded:: 3.8.0

        """
self
ranges