richqueue 1.5__tar.gz → 1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {richqueue-1.5 → richqueue-1.6}/PKG-INFO +1 -1
- {richqueue-1.5 → richqueue-1.6}/pyproject.toml +1 -1
- {richqueue-1.5 → richqueue-1.6}/richqueue/slurm.py +15 -9
- {richqueue-1.5 → richqueue-1.6}/.gitignore +0 -0
- {richqueue-1.5 → richqueue-1.6}/LICENSE +0 -0
- {richqueue-1.5 → richqueue-1.6}/README.md +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/__init__.py +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/console.py +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/layout.py +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/log.py +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/main.py +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/table.py +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/tools.py +0 -0
- {richqueue-1.5 → richqueue-1.6}/richqueue/wisdom.py +0 -0
|
@@ -190,10 +190,12 @@ def get_squeue(
|
|
|
190
190
|
|
|
191
191
|
global METADATA
|
|
192
192
|
|
|
193
|
+
meta = payload["meta"]
|
|
194
|
+
|
|
193
195
|
METADATA = {
|
|
194
|
-
"cluster_name":
|
|
195
|
-
"user":
|
|
196
|
-
"group":
|
|
196
|
+
"cluster_name": meta.get("slurm", {}).get("cluster", "unknown HPC"),
|
|
197
|
+
"user": meta.get("client", {}).get("user", "unknown user"),
|
|
198
|
+
"group": meta.get("client", {}).get("group", "unknown group"),
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
# parse payload
|
|
@@ -270,10 +272,12 @@ def get_sacct(
|
|
|
270
272
|
|
|
271
273
|
global METADATA
|
|
272
274
|
|
|
275
|
+
meta = payload["meta"]
|
|
276
|
+
|
|
273
277
|
METADATA = {
|
|
274
|
-
"cluster_name":
|
|
275
|
-
"user":
|
|
276
|
-
"group":
|
|
278
|
+
"cluster_name": meta.get("slurm", {}).get("cluster", "unknown HPC"),
|
|
279
|
+
"user": meta.get("client", {}).get("user", "unknown user"),
|
|
280
|
+
"group": meta.get("client", {}).get("group", "unknown group"),
|
|
277
281
|
"hist": hist,
|
|
278
282
|
"hist_unit": hist_unit,
|
|
279
283
|
}
|
|
@@ -320,10 +324,12 @@ def get_sinfo(**kwargs) -> "pandas.DataFrame":
|
|
|
320
324
|
|
|
321
325
|
global METADATA
|
|
322
326
|
|
|
327
|
+
meta = payload["meta"]
|
|
328
|
+
|
|
323
329
|
METADATA = {
|
|
324
|
-
"cluster_name":
|
|
325
|
-
"user":
|
|
326
|
-
"group":
|
|
330
|
+
"cluster_name": meta.get("slurm", {}).get("cluster", "unknown HPC"),
|
|
331
|
+
"user": meta.get("client", {}).get("user", "unknown user"),
|
|
332
|
+
"group": meta.get("client", {}).get("group", "unknown group"),
|
|
327
333
|
}
|
|
328
334
|
|
|
329
335
|
df = DataFrame(payload["sinfo"])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|