def to_subscription_key(uid, event):
 return u'{}_{}'.format(uid, event)

def to_subscription_key ( uid , event ) : return u'{}_{}' . format ( uid , event )
build the subscription primary key for the given guid and event .