original_docstring:  Log the received consumed capacity data 
docstring: Log the received consumed capacity data
docstring_tokens: Log the received consumed capacity data
code: def _on_capacity_data(self, conn, command, kwargs, response, capacity):
          """ Log the received consumed capacity data """
          if self._analyzing:
              self.consumed_capacities.append((command, capacity))
          if self._query_rate_limit is not None:
              self._query_rate_limit.on_capacity(
                  conn, command, kwargs, response, capacity
              )
          elif self.rate_limit is not None:
              self.rate_limit.callback = self._on_throttle
              self.rate_limit.on_capacity(conn, command, kwargs, response, capacity)
code_tokens: def _on_capacity_data ( self , conn , command , kwargs , response , capacity ) : if self . _analyzing : self . consumed_capacities . append ( ( command , capacity ) ) if self . _query_rate_limit is not None : self . _query_rate_limit . on_capacity ( conn , command , kwargs , response , capacity ) elif self . rate_limit is not None : self . rate_limit . callback = self . _on_throttle self . rate_limit . on_capacity ( conn , command , kwargs , response , capacity )
short_docstring: Log the received consumed capacity data
short_docstring_tokens: Log the received consumed capacity data
comment: """ Log the received consumed capacity data """