code: def _batch_insert(self, inserts, intervals, **kwargs):
      '''
      Support for batch insert. Default implementation is non-optimized and
      is a simple loop over values.
      '''
      for timestamp,names in inserts.iteritems():
        for name,values in names.iteritems():
          for value in values:
            self._insert( name, value, timestamp, intervals, **kwargs f _batch_insert(self, inserts, intervals, **kwargs):
      '''
      Support for batch insert. Default implementation is non-optimized and
      is a simple loop over values.
      '''
      for timestamp,names in inserts.iteritems():
        for name,values in names.iteritems():
          for value in values:
            self._insert( name, value, timestamp, intervals, **kwargs )
docs: Support for batch insert. Default implementation is non-optimized and
      is a simple loop over values.