diff --git a/openreview/journal/journal.py b/openreview/journal/journal.py index 8e2fe8b91..2dc51ca7a 100644 --- a/openreview/journal/journal.py +++ b/openreview/journal/journal.py @@ -685,7 +685,7 @@ def get_late_invitees(self, invitation_id): profile = self.client.get_profile(signature) signature_members.append(profile.id) else: - signature_members = signature_members + signature['members'] + signature_members = signature_members + self.client.get_group(signature['id']).members for signature in reply.signatures: if signature.startswith('~'): profile = self.client.get_profile(signature) diff --git a/setup.py b/setup.py index 67c505d87..7d76a1983 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='openreview-py', - version='1.32.0', + version='1.32.1', description='OpenReview API Python client library', url='https://github.com/openreview/openreview-py', diff --git a/tests/test_journal.py b/tests/test_journal.py index 2f40410db..7bc4e43d9 100644 --- a/tests/test_journal.py +++ b/tests/test_journal.py @@ -2278,6 +2278,9 @@ def test_submission(self, journal, openreview_client, test_client, helpers): helpers.await_queue_edit(openreview_client, edit_id=verification_note['id']) + ## check late invitees again + assert journal.get_late_invitees('TMLR/Paper1/-/Camera_Ready_Verification') == [] + messages = journal.client.get_messages(to = 'test@mail.com', subject = '[TMLR] Camera ready version accepted for your TMLR submission 1: Paper title VERSION 2') assert len(messages) == 1 assert messages[0]['content']['text'] == f'''Hi SomeFirstName User,