-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change ithenticate group_id value and add index options (#2399)
* fix: change ithenticate group_id value and add index options * refactor: remove commented code
- Loading branch information
1 parent
894c543
commit 7eba607
Showing
1 changed file
with
6 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
@@ -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 | ||
|