Skip to content
Snippets Groups Projects
Commit 48b0f481 authored by payno's avatar payno
Browse files

utils: fix 'get_partition_walltime' typo in docstring

parent 476b8e5a
No related branches found
No related tags found
1 merge request!14Add 'get_partition_walltime_infos' function
Pipeline #207175 passed
......@@ -59,8 +59,8 @@ def get_partition_gpus(partition: str) -> tuple:
def get_partition_walltime(partition: str) -> dict[str, str]:
"""
Return for the given partition:
* time: walltime limit as DD:HH:MM
* default_time: default walltime as DD:HH:MM
* time: walltime limit as HH:MM:SS
* default_time: default walltime as HH:MM:SS
"""
process = SubProcessCommand(
command=f"sinfo --partition={partition} -O DefaultTime,Time"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment