synapseutils changeFileMetadata missing syn parameter docstring

Description

Environment

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 In [20]: ?synapseutils.changeFileMetaData Signature: synapseutils.changeFileMetaData(syn, entity, downloadAs=None, contentType=None) Docstring: :param entity: Synapse entity Id or object :param contentType: Specify content type to change the content type of a filehandle :param downloadAs: Specify filename to change the filename of a filehandle :return: Synapse Entity Can be used to change the fileaname or the file content-type without downloading:: e = syn.get(synid) print(os.path.basename(e.path)) ## prints, e.g., "my_file.txt" e = synapseutils.changeFileMetaData(syn, e, "my_newname_file.txt")

Status

Assignee

Unassigned

Reporter

Thomas Yu

Labels

Validator

Bruce Hoff

Release Version History

None

Epic Link

Components

Affects versions

py-1.9.2

Priority

Major
Configure