def add_operation(feed, activities, trim=True, batch_interface=None):
    t = timer()
    msg_format = 'running %s.add_many operation for %s activities batch interface %s and trim %s'
    logger.debug(msg_format, feed, len(activities), batch_interface, trim)
    feed.add_many(activities, batch_interface=batch_interface, trim=trim)
    logger.debug('add many operation took %s seconds', t.next())
Add the activities to the feed
dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/feed_managers/base.py/add_operation