@@ -1583,37 +1583,37 @@ def get_computemanager_instruction(
15831583 ) -> tuple [ComputeManagerInstruction , dict ]:
15841584 """Return an instruction for a compute manager based on the contents of the statestore.
15851585
1586- This method returns one of three instructions along with supporting data:
1587-
1588- 1. "OK" with a list of ComputeServiceIDs and the number of available tasks
1589- 2. "SKIP" with a list of ComputeServiceIDs
1590- 3. "SHUTDOWN" with an error message
1591-
1592- Parameters
1593- ----------
1594- compute_manager_id
1595- The compute manager ID string containing the manager_name
1596- and the UUID.
1597-
1598- forgive_time
1599- The time at which a failure from a compute service is
1600- considered forgiven.
1601-
1602- max_failures
1603- The number of failures a compute service is allowed to
1604- have (before the forgive time) before it is no longer
1605- allowed to claim a task. If any managed compute services
1606- have failues that exceed this value, the returned
1607- instruction will be SKIP.
1608-
1609- scopes
1610- The scopes to consider when determining available tasks.
1611-
1612- Returns
1613- -------
1614- A tuple with whose first value is the instruction enumeration
1615- and whose second value is data associated with that
1616- instruction.
1586+ This method returns one of three instructions along with supporting data:
1587+
1588+ 1. "OK" with a list of ComputeServiceIDs and the number of available tasks
1589+ 2. "SKIP" with a list of ComputeServiceIDs
1590+ 3. "SHUTDOWN" with an error message
1591+
1592+ Parameters
1593+ ----------
1594+ compute_manager_id
1595+ The compute manager ID string containing the manager_name
1596+ and the UUID.
1597+
1598+ forgive_time
1599+ The time at which a failure from a compute service is
1600+ considered forgiven.
1601+
1602+ max_failures
1603+ The number of failures a compute service is allowed to
1604+ have (before the forgive time) before it is no longer
1605+ allowed to claim a task. If any managed compute services
1606+ have failues that exceed this value, the returned
1607+ instruction will be SKIP.
1608+
1609+ scopes
1610+ The scopes to consider when determining available tasks.
1611+
1612+ Returns
1613+ -------
1614+ A tuple with whose first value is the instruction enumeration
1615+ and whose second value is data associated with that
1616+ instruction.
16171617
16181618 """
16191619
0 commit comments