Skip to content

Commit a2e48a2

Browse files
authored
Merge pull request #212 from gdcc/210-bysubject-url-used-in-the-help-for-datalocation
Fix `get_datasets_by_data_location` docstring displaying wrong `GET` url
2 parents 5e077fd + 5430a5b commit a2e48a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyDataverse/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ def get_datasets_by_subject(self, date_str=None, auth=DEPRECATION_GUARD):
854854

855855
def get_datasets_by_data_location(self, data_location, auth=DEPRECATION_GUARD):
856856
"""
857-
GET https://$SERVER/api/info/metrics/datasets/bySubject
857+
GET https://$SERVER/api/info/metrics/datasets/?dataLocation=$location
858858
859859
$type can be set to dataverses, datasets, files or downloads.
860860
"""

0 commit comments

Comments
 (0)