@@ -267,10 +267,30 @@ def get(self,
267267 replica_sort_function = None ,
268268 ** options ):
269269 """
270- Get a reference to the data object at the specified `path'.
271-
272- Only download the object if the local_path is a string (specifying
273- a path in the local filesystem to use as a destination file).
270+ Create an iRODSDataObject instance that in effect represents the data object at the specified path.
271+ If local_path is not None, use it as a local filename to which the content of the data object will be
272+ downloaded.
273+
274+ Args:
275+ path: an absolute logical path where the data object may be found.
276+ local_path: a filename within the local filesystem, the target of a download ("GET") if one is
277+ requested. Directory components in the path must already exist.
278+ num_threads: in the case of a parallel data transfer (for large files), specifies how many transfer
279+ control threads should be used.
280+ updatables: a tuple or list in which each element is a tqdm-like progress bar object, or the equivalent:
281+ an instance on which func.update(n) can be called with n being the number of bytes successfully
282+ copied in the the data transfer increment just completed. If not a tuple or list, this argument
283+ is interpreted as a single updatable.
284+ replica_sort_function: a sort key function dictating the order of replica query results in 'self.replicas'
285+ **options: keyword arguments to be passed onto the _download function; A combination of possible options
286+ to be relayed to the iRODS data object open() call.
287+
288+ Returns:
289+ an iRODSDataObject representing the object at the given path.
290+
291+ Raises:
292+ DataObjectDoesNotExist: if the specified path does not exist, or exists as a collection rather than a data
293+ object.
274294 """
275295 parent = self .sess .collections .get (irods_dirname (path ))
276296
0 commit comments