def to_subscription_key(uid, event):
    return u'{}_{}'.format(uid, event)
Build the Subscription primary key for the given guid and event
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/notifications/utils.py/to_subscription_key