Skip to content

Commit

Permalink
Update docstrings for getSubmission and getSubmissionStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymedina committed Sep 27, 2024
1 parent c33f424 commit e7d3927
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions synapseclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4812,10 +4812,11 @@ def getSubmission(
self, id: typing.Union[str, int, collections.abc.Mapping], **kwargs
) -> Submission:
"""
Gets a [synapseclient.evaluation.Submission][] object by its id.
Gets a [synapseclient.evaluation.Submission][] object based on a given ID
or previous [synapseclient.evaluation.Submission][] object.
Arguments:
id: The id of the submission to retrieve
id: The ID of the submission to retrieve or a [synapseclient.evaluation.Submission][] object
Returns:
A [synapseclient.evaluation.Submission][] object
Expand Down Expand Up @@ -4856,13 +4857,13 @@ def getSubmission(
return submission

def getSubmissionStatus(
self, submission: typing.Union[str, int]
self, submission: typing.Union[str, int, collections.abc.Mapping]
) -> SubmissionStatus:
"""
Downloads the status of a Submission.
Downloads the status of a Submission given its ID or previous [synapseclient.evaluation.Submission][] object.
Arguments:
submission: The submission to lookup
submission: The submission to lookup (ID or [synapseclient.evaluation.Submission][] object)
Returns:
A [synapseclient.evaluation.SubmissionStatus][] object
Expand Down

0 comments on commit e7d3927

Please sign in to comment.