From 0e6d57710afed447c90f852023bedf0fd609c063 Mon Sep 17 00:00:00 2001 From: bkoschicek Date: Wed, 18 Oct 2023 09:54:06 +0200 Subject: [PATCH] fixed arche import --- openatlas/api/import_scripts/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openatlas/api/import_scripts/util.py b/openatlas/api/import_scripts/util.py index b41eeefc2..278927498 100644 --- a/openatlas/api/import_scripts/util.py +++ b/openatlas/api/import_scripts/util.py @@ -50,6 +50,8 @@ def vocabs_requests( def request_arche_metadata(id_: int) -> dict[str, Any]: req = requests.get( f"{app.config['ARCHE']['url']}/api/{id_}/metadata", - headers={'Accept': 'application/ld+json'}, + headers={ + 'Accept': 'application/ld+json', + 'X-METADATA-READ-MODE': '1_1_0_0'}, timeout=60) return req.json()