$def with (work_key, read_status, edition_key=None, last_read_date=None, event_id=None) $# work_key : str : The work key $# read_status : int | None : Number representing which shelf this work is on. $# Possible Values: $# 1 : Want to Read $# 2 : Currently Reading $# 3 : Already Read $# None : Work is not on the patron's shelf $# edition_key : str | None : The edition key $# last_read_date : str | None : Date that the patron last read the book $# event_id : str | None : ID of record for this event $ work_olid = work_key.split('/')[-1] $ modal_id = 'check-in-dialog-%s' % work_olid $ prompt_id = 'prompt-%s' % work_olid