From f2d1d8d13aa1142fd49c5e61f96f3c24ec58ece7 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 13 Aug 2024 15:09:08 +0300 Subject: Run autopep8 against file. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gn3/api') diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index 53daf67..8c900df 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -40,7 +40,7 @@ DATASET_CONTEXT = { "classifiedUnder": "xkos:classifiedUnder", "contributors": "dct:creator", "contactPoint": "dcat:contactPoint", - "created": "dct:created", + "created": "dct:created", "dcat": "http://www.w3.org/ns/dcat#", "dct": "http://purl.org/dc/terms/", "description": "dct:description", @@ -83,7 +83,7 @@ SEARCH_CONTEXT = { DATASET_SEARCH_CONTEXT = SEARCH_CONTEXT | { "classifiedUnder": "xkos:classifiedUnder", - "created": "dct:created", + "created": "dct:created", "dct": "http://purl.org/dc/terms/", "ex": "http://example.org/stuff/1.0/", "inbredSet": "ex:belongsToInbredSet", @@ -210,7 +210,7 @@ CONSTRUCT { (Path( current_app.config.get("DATA_DIR") ) / "gn-docs/general/datasets" / - Path(__result.get("id", "")).stem).as_posix() + Path(__result.get("id", "")).stem).as_posix() ) -- cgit v1.2.3