def start(self): party_id, queue, version = party.create() return { 'id': party_id, 'queue': queue, 'version': version, }
def start(self, event_id=0): party_id, queue, version = party.create(event_id) return { 'id': party_id, 'queue': queue, 'version': version, 'event_id': event_id, }