def set_timestamp(self, ts_type, model_type, value):
    ts_collection = self._get_incident_timestamp_collection()
    ts_collection.update({'type': ts_type, 'model': model_type}, {'type': ts_type, 'model': model_type, 'timestamp': value}, upsert=True)
def set_timestamp(self, ts_type, model_type, value):
    ts_collection = self._get_incident_timestamp_collection()
    ts_collection.update({'type': ts_type, 'model': model_type}, {'type': ts_type, 'model': model_type, 'timestamp': value}, upsert=True)