Skip to content

Commit

Permalink
fix: change ithenticate group_id value and add index options (#2399)
Browse files Browse the repository at this point in the history
* fix: change ithenticate group_id value and add index options

* refactor: remove commented code
  • Loading branch information
akshatchhabra authored Oct 25, 2024
1 parent 894c543 commit 7eba607
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions openreview/venue/venue.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,24 +1137,11 @@ def ithenticate_create_and_upload_submission(self):
owner_first_name=first_name,
owner_last_name=last_name,
owner_email=owner_profile.get_preferred_email(),
group_id=self.get_submission_id(),
group_id=self.venue_id,
group_context={
"id": self.id,
"name": self.name,
"owners": [
# {
# "id": "d7cf2650-c1c7-11e8-b568-0800200c9a66",
# "family_name": "test_instructor_first_name",
# "given_name": "test_instructor_last_name",
# "email": "[email protected]"
# },
# {
# "id": "7a62f070-c265-11e8-b568-0800200c9a66",
# "family_name": "test_instructor_2_first_name",
# "given_name": "test_instrutor_2_last_name",
# "email": "[email protected]"
# }
],
"owners": [],
},
group_type="ASSIGNMENT",
eula_version=eula_version,
Expand Down Expand Up @@ -1272,6 +1259,10 @@ def handle_ithenticate_error(self):
"CROSSREF",
"CROSSREF_POSTED_CONTENT",
],
indexing_settings={
"add_to_index": True
},
auto_exclude_self_matching_scope="ALL",
)
except Exception as err:
updated_edge.label = original_label_value
Expand Down

0 comments on commit 7eba607

Please sign in to comment.