Skip to content

Commit

Permalink
DOC: Improve docstrings
Browse files Browse the repository at this point in the history
skipci
  • Loading branch information
cortadocodes committed Jun 4, 2024
1 parent 6c489e0 commit d71b1dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions octue/resources/child.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def ask(
:param str save_diagnostics: must be one of {"SAVE_DIAGNOSTICS_OFF", "SAVE_DIAGNOSTICS_ON_CRASH", "SAVE_DIAGNOSTICS_ON"}; if turned on, allow the input values and manifest (and its datasets) to be saved by the child either all the time or just if it fails while processing them
:param str|None question_uuid: the UUID to use for the question if a specific one is needed; a UUID is generated if not
:param str|None parent_question_uuid: the UUID of the question that triggered this question
:param str|None originator_question_uuid: the UUID of the question that triggered all ancestor questions of this question
:param str|None originator: the SRUID of the service revision that triggered all ancestor questions of this question
:param str|None originator_question_uuid: the UUID of the question that triggered all ancestor questions of this question; if `None`, this question is assumed to be the originator question
:param str|None originator: the SRUID of the service revision that triggered all ancestor questions of this question; if `None`, this service revision is assumed to be the originator
:param str|None push_endpoint: if answers to the question should be pushed to an endpoint, provide its URL here (the returned subscription will be a push subscription); if not, leave this as `None`
:param bool asynchronous: if `True`, don't wait for an answer or create an answer subscription (the result and other events can be retrieved from the event store later)
:param float timeout: time in seconds to wait for an answer before raising a timeout error
Expand Down
2 changes: 1 addition & 1 deletion octue/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def _instantiate_children(self, serialised_children, parent_question_uuid, origi
responses received to each question, and the order the questions are asked in.
:param list(dict) serialised_children: serialised children from e.g. the app configuration file
:param str parent_question_uuid: the UUID of the question that triggered this analysis
:param str|None parent_question_uuid: the UUID of the question that triggered this analysis
:param str originator_question_uuid: the UUID of the question that triggered all ancestor questions of this analysis
:param str originator: the SRUID of the service revision that triggered the tree of questions this analysis is related to
:return dict: a mapping of child keys to `octue.resources.child.Child` instances
Expand Down

0 comments on commit d71b1dc

Please sign in to comment.