@@ -167,8 +167,9 @@ cdef class Jobs(dict):
167167 This function fills in the "steps" attribute for all Jobs in the
168168 collection.
169169
170- Note: Pending Jobs will be ignored, since they don't have any Steps
171- yet.
170+ !!! note
171+
172+ Pending Jobs will be ignored, since they don't have any Steps yet.
172173
173174 Raises:
174175 RPCError: When retrieving the Job information for all the Steps
@@ -241,7 +242,8 @@ cdef class Job:
241242
242243 Implements the slurm_load_job RPC.
243244
244- Note:
245+ !!! note
246+
245247 If the Job is not pending, the related Job steps will also be
246248 loaded.
247249
@@ -454,8 +456,6 @@ cdef class Job:
454456 release the Job again. If you specify the mode as "user", the
455457 User will also be able to release the job.
456458
457- Note: Uses the modify() function to set the Job's priority to 0.
458-
459459 Raises:
460460 RPCError: When holding the Job was not successful.
461461
@@ -478,9 +478,6 @@ cdef class Job:
478478 def release (self ):
479479 """ Release a currently held Job, allowing it to be scheduled again.
480480
481- Note: Uses the modify() function to reset the priority back to
482- be controlled by the slurmctld's priority calculation routine.
483-
484481 Raises:
485482 RPCError: When releasing a held Job was not successful.
486483
@@ -1223,14 +1220,13 @@ cdef class Job:
12231220 def get_resource_layout_per_node (self ):
12241221 """ Retrieve the resource layout of this Job on each node.
12251222
1226- The dict returned contains the following information for each node:
1227- * cpu_ids (str)
1228- * gres (dict)
1229- * memory (int)
1223+ !!! warning
1224+
1225+ Return type may still be subject to change in the future
12301226
12311227 Returns:
12321228 (dict): Resource layout, where the key is the name of the name and
1233- its value another dict with the components described above .
1229+ its value another dict with the CPU-ids, memory and gres .
12341230 """
12351231 # The code for this function is a modified reimplementation from here:
12361232 # https://github.com/SchedMD/slurm/blob/d525b6872a106d32916b33a8738f12510ec7cf04/src/api/job_info.c#L739
0 commit comments