Skip to content

Commit 5430a5b

Browse files
committed
fix docstring displaying wrong GET url
1 parent e1b5d98 commit 5430a5b

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
@@ -742,7 +742,7 @@ def get_datasets_by_subject(self, date_str=None, auth=False):
742742

743743
def get_datasets_by_data_location(self, data_location, auth=False):
744744
"""
745-
GET https://$SERVER/api/info/metrics/datasets/bySubject
745+
GET https://$SERVER/api/info/metrics/datasets/?dataLocation=$location
746746
747747
$type can be set to dataverses, datasets, files or downloads.
748748
"""

0 commit comments

Comments
 (0)