Skip to content

NodeDetails

Source code in docs_src/capo_batch/types/node_details.py
class NodeDetails(TypedDict, closed=True):
    node_index: NotRequired["capo_batch.types.integer.Integer"]
    """<p>The node index for the node. Node index numbering starts at zero. This index is also available on the node with the <code>AWS_BATCH_JOB_NODE_INDEX</code> environment variable.</p>"""
    is_main_node: NotRequired["capo_batch.types.boolean.Boolean"]
    """<p>Specifies whether the current node is the main node for a multi-node parallel job.</p>"""

is_main_node instance-attribute

is_main_node: NotRequired[Boolean]

Specifies whether the current node is the main node for a multi-node parallel job.

node_index instance-attribute

node_index: NotRequired[Integer]

The node index for the node. Node index numbering starts at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.