Skip to content

Commit

Permalink
Update *Zenodo* records query url.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Oct 20, 2023
1 parent 8f556ba commit 7b587ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions colour_datasets/records/zenodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,12 +828,12 @@ def from_id(
community_url = (
f"{configuration.api_url}/communities/{configuration.community}"
)
# NOTE: Retrieving 512 datasets at most. This should cover needs for
# NOTE: Retrieving 256 datasets at most. This should cover needs for
# the foreseeable future. There is likely an undocumented hard limit on
# "Zenodo" server side.
records_url = (
f"{configuration.api_url}/records/"
f"?q=communities:{configuration.community}&size=512"
f"{configuration.api_url}/records"
f"?q=communities:{configuration.community}&size=256"
)

community_json_filename = os.path.join(
Expand Down

0 comments on commit 7b587ac

Please sign in to comment.