From 8aa42d08512fa8324d0f2bb1e192e7559aa4317e Mon Sep 17 00:00:00 2001 From: Fabrice Normandin Date: Wed, 8 May 2024 13:29:28 -0400 Subject: [PATCH] Add docstring for `hostname` of `ComputeNode` Signed-off-by: Fabrice Normandin --- milatools/utils/compute_node.py | 1 + 1 file changed, 1 insertion(+) diff --git a/milatools/utils/compute_node.py b/milatools/utils/compute_node.py index 9d9832dc..cb36f568 100644 --- a/milatools/utils/compute_node.py +++ b/milatools/utils/compute_node.py @@ -55,6 +55,7 @@ class ComputeNode(Runner): """A handle to the subprocess that is running the `salloc` command.""" hostname: str = dataclasses.field(init=False) + """Name of the compute node, as seen in `squeue`, `sacct` or `$SLURMD_NODENAME`.""" _closed: bool = dataclasses.field(default=False, init=False, repr=False)