In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

Commit ce04e3ea authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix record set update

parent 14e37bb8
Pipeline #27432 passed with stages
in 2 minutes and 23 seconds
......@@ -69,19 +69,19 @@ class UpdateRecordSet(Resource):
requests.get(it_drupal_url, headers=self.headers, auth=self.auth).json()['data']
institutions = drupal_record_set_de['relationships']['field_institution']['data']
institution_ids = UpdateRecordSet.get_institution_id_list(institutions)
institution_ids = self.get_institution_id_list(institutions)
institutions = \
drupal_record_set_de['relationships']['field_resp_institution_access']['data']
access_institution_ids = UpdateRecordSet.get_institution_id_list(institutions)
access_institution_ids = self.get_institution_id_list(institutions)
institutions = \
drupal_record_set_de['relationships']['field_resp_institution_master']['data']
master_institutions_ids = UpdateRecordSet.get_institution_id_list(institutions)
master_institutions_ids = self.get_institution_id_list(institutions)
institutions = \
drupal_record_set_de['relationships']['field_resp_institution_original']['data']
original_institution_ids = UpdateRecordSet.get_institution_id_list(institutions)
original_institution_ids = self.get_institution_id_list(institutions)
metadata_language_codes = []
metadata_languages = \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment