We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 400b3da commit 1d4ebfeCopy full SHA for 1d4ebfe
vec_inf/client/_slurm_vars.py
@@ -66,8 +66,8 @@ def load_yaml_config(path: Path) -> dict[str, Any]:
66
MAX_CPUS_PER_TASK = _config["limits"]["max_cpus_per_task"]
67
68
# Create dynamic Literal types
69
-QOS = Literal[tuple(_config["allowed_values"]["qos"])] # type: ignore[valid-type]
70
-PARTITION = Literal[tuple(_config["allowed_values"]["partition"])] # type: ignore[valid-type]
+QOS: TypeAlias = Literal[tuple(_config["allowed_values"]["qos"])] # type: ignore[valid-type]
+PARTITION: TypeAlias = Literal[tuple(_config["allowed_values"]["partition"])] # type: ignore[valid-type]
71
72
# Extract default arguments
73
DEFAULT_ARGS = _config["default_args"]
0 commit comments