Get all the submission notes of your venue regardless of their status (active, withdrawn or desk rejected). To do this you'll need to pass the submission invitation using get_all_notes().
To get all submissions for a double-blind venue regardless of their status (active, withdrawn or desk rejected), pass your venue's submission invitation to get_all_notes().
As a program organizer, to get only the "accepted" submissions for double-blind venues, query using the Blind submission invitation and include 'directReplies' and 'original' in the details.
# Double-blind venuessubmissions = client.get_all_notes(invitation ='Your/Venue/ID/-/Blind_Submission', details='directReplies,original')blind_notes ={note.id: note for note in submissions}all_decision_notes = [] for submission_id, submission in blind_notes.items(): all_decision_notes = all_decision_notes + [reply for reply in submission.details["directReplies"] if reply["invitation"].endswith("Decision")]
accepted_submissions = []for decision_note in all_decision_notes:if'Accept'in decision_note["content"]['decision']: accepted_submissions.append(blind_notes[decision_note['forum']].details['original'])
As a program organizer, to get only the "accepted" submissions, query using the Submission invitation and include 'directReplies' in the details.
# Single-blind venuessubmissions = client.get_all_notes(invitation ='Your/Venue/ID/-/Submission', details='directReplies')notes ={note.id: note for note in submissions}all_decision_notes = [] for submission_id, submission in notes.items(): all_decision_notes = all_decision_notes + [reply for reply in submission.details["directReplies"] if reply["invitation"].endswith("Decision")]
accepted_submissions = []for decision_note in all_decision_notes:if'Accept'in decision_note["content"]['decision']: accepted_submissions.append(notes[decision_note['forum']])