Skip to content

Commit

Permalink
fixup: docstrings for ensure_remotepipelinefilecollection
Browse files Browse the repository at this point in the history
  • Loading branch information
mhidas committed Jan 21, 2021
1 parent 57acbae commit 52415a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aodncore/pipeline/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def ensure_remotepipelinefilecollection(o):
"""Function to accept either a single RemotePipelineFile OR a RemotePipelineFileCollection and ensure that a
RemotePipelineFileCollection object is returned in either case
:param o: PipelineFile or PipelineFileCollection object
:return: PipelineFileCollection object
:param o: RemotePipelineFile or RemotePipelineFileCollection object
:return: RemotePipelineFileCollection object
"""
validate_remotepipelinefile_or_remotepipelinefilecollection(o)
return o if isinstance(o, RemotePipelineFileCollection) else RemotePipelineFileCollection(o)
Expand Down

0 comments on commit 52415a0

Please sign in to comment.