googlesheets/api.py
def batch_values_get(self, payload: googlesheets.resource.Request, transport: 'httplib2.Http' = None) -> dict:
        """submit a batch values get request."""

        if 'valueRenderOption' not in payload.body:
            raise ValueError('missing required field: "valueRenderOption"')

        params = {
            'ranges': payload.body['ranges'],
            'spreadsheetId': self.spreadsheet_id,
            'valueRenderOption': payload.body['valueRenderOption'],
        }

        if 'dateTimeRenderOption' in payload.body:
            params['dateTimeRenderOption'] = payload.body['dateTimeRenderOption']

        req = self.service.values().batchGet(**params)

        return self(req, transport=transport)
submit a batch values get request.
submit a batch values get request.
submit a batch values get request .
def batch_values_get(self, payload: googlesheets.resource.Request, transport: 'httplib2.Http' = None) -> dict:
        if 'valueRenderOption' not in payload.body:
            raise ValueError('missing required field: "valueRenderOption"')
        params = {
            'ranges': payload.body['ranges'],
            'spreadsheetId': self.spreadsheet_id,
            'valueRenderOption': payload.body['valueRenderOption'],
        }
        if 'dateTimeRenderOption' in payload.body:
            params['dateTimeRenderOption'] = payload.body['dateTimeRenderOption']
        req = self.service.values().batchGet(**params)
        return self(req, transport=transport)
def batch_values_get ( self , payload : googlesheets . resource . Request , transport : 'httplib2.Http' = None ) -> dict : if 'valueRenderOption' not in payload . body : raise ValueError ( 'missing required field: "valueRenderOption"' ) params = { 'ranges' : payload . body [ 'ranges' ] , 'spreadsheetId' : self . spreadsheet_id , 'valueRenderOption' : payload . body [ 'valueRenderOption' ] , } if 'dateTimeRenderOption' in payload . body : params [ 'dateTimeRenderOption' ] = payload . body [ 'dateTimeRenderOption' ] req = self . service . values ( ) . batchGet ( ** params ) return self ( req , transport = transport )
submit a batch values get request.
submit a batch values get request .
"""submit a batch values get request."""
self
payload
googlesheets.resource.Request
transport
'httplib2.Http'