def update_from_shot_slug(device_slug, shot_slug): from h1ds_summary.db import SummaryTable device = Device(slug=device_slug) db = SummaryTable(device) for shot in parse_shot_slug(device, shot_slug): db.add_or_update_shot(shot)
def update_from_shot_slug(device_slug, shot_slug): from h1ds_summary.db import SummaryTable device = Device(slug=device_slug) db = SummaryTable(device) for shot in parse_shot_slug(device, shot_slug): db.add_or_update_shot(shot)