Skip to content
Snippets Groups Projects
Commit 95c2bf94 authored by Jens Bröder's avatar Jens Bröder
Browse files

Correct docstring in data operation

parent 6909d119
No related branches found
No related tags found
3 merge requests!11Make release 1.0.0,!10Release tag 1.0.0 to main,!4Update OAI config
Pipeline #204754 failed
......@@ -56,12 +56,13 @@ def filter_json_data(identifiers: dict,
Since the openaire graph data is quite large (150 GB, with 200 Mio nodes), we do not load it into a DB and query it directly.
:param identifiers (dict): dictionary of identifiers with values to filter for
:param filepaths (list): list of paths to the files with the data, the files are expected to have one json object per line
:param do_validation (bool): validate each dataset found with the json schema given under schemafilepath
:param schemafilepath (str): path to the json schema file
:param verbose (bool): print additional information (Default True)
:returns filtered data (list): Only if not saved to a file, if saved to a file, None is returned
:param identifiers: dictionary of identifiers with values to filter for
:param filepaths: list of paths to the files with the data, the files are expected to have one json object per line
:param do_validation: validate each dataset found with the json schema given under schemafilepath
:param schemafilepath: path to the json schema file
:param schemafilepath: path to the json schema file
:param verbose: print additional information (Default True)
:returns filtered_data: Only if not saved to a file, if saved to a file, None is returned
"""
if verbose:
print(f'identifiers: {identifiers}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment