-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(slurmctld,slurmd): correct typing for static checker
`ConfigData.get(...)` from `ops` returns a looser type than what's allowed by pyright if we're passing the result off to `nhc.generate_config(...)`, so we use `typing.cast(str, ...)` to ensure that the type of the output is just str. Other changes: - Removed stale TODO comment from development code. Signed-off-by: Jason C. Nucciarone <[email protected]>
- Loading branch information
1 parent
07ec196
commit 648e032
Showing
3 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters