Skip to content

Commit

Permalink
Merge pull request #212 from gdcc/210-bysubject-url-used-in-the-help-…
Browse files Browse the repository at this point in the history
…for-datalocation

Fix `get_datasets_by_data_location` docstring displaying wrong `GET` url
  • Loading branch information
JR-1991 authored Aug 28, 2024
2 parents 5e077fd + 5430a5b commit a2e48a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyDataverse/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ def get_datasets_by_subject(self, date_str=None, auth=DEPRECATION_GUARD):

def get_datasets_by_data_location(self, data_location, auth=DEPRECATION_GUARD):
"""
GET https://$SERVER/api/info/metrics/datasets/bySubject
GET https://$SERVER/api/info/metrics/datasets/?dataLocation=$location
$type can be set to dataverses, datasets, files or downloads.
"""
Expand Down

0 comments on commit a2e48a2

Please sign in to comment.