From 984af0cbf1d6c87eae44e563c9153ac8f3635041 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Fri, 19 Jul 2024 15:31:08 +0200 Subject: [PATCH] doc(`replace_datafile`): clarify and correct parameter description --- pyDataverse/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyDataverse/api.py b/pyDataverse/api.py index efd3186..f5487b3 100644 --- a/pyDataverse/api.py +++ b/pyDataverse/api.py @@ -1900,14 +1900,14 @@ def replace_datafile(self, identifier, filename, json_str, is_filepid=True): Parameters ---------- identifier : str - Identifier of the dataset. + Identifier of the file to be replaced. filename : str Full filename with path. json_str : str Metadata as JSON string. is_filepid : bool - ``True`` to use persistent identifier for datafile. ``False``, if - not. + ``True`` if ``identifier`` is a persistent identifier for the datafile. + ``False``, if not. Returns -------