Skip to content

Commit

Permalink
Merge pull request #202 from mih/doc
Browse files Browse the repository at this point in the history
doc(`replace_datafile`): clarify and correct parameter description
  • Loading branch information
JR-1991 committed Aug 22, 2024
2 parents 8445a09 + 984af0c commit 9bd067e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyDataverse/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1894,14 +1894,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
-------
Expand Down

0 comments on commit 9bd067e

Please sign in to comment.