def _insert(self, name, value, timestamp, intervals, **kwargs):
    for interval,config in self._intervals.items():
      timestamps = self._normalize_timestamps(timestamp, intervals, config)
      for tstamp in timestamps:
        self._insert_data(name, value, tstamp, interval, config, **kwargs)
Converts a camelcased string to underscores
dataset/ETHPy150Open agoragames/kairos/kairos/sql_backend.py/SqlBackend._insert--crossover with--dataset/ETHPy150Open mosesschwartz/scrypture/scrypture/demo_scripts/Text/camelcase_to_underscores.py/camelcase_to_underscores