Skip to content

Commit

Permalink
Update src/osa/job.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Morcuende <[email protected]>
  • Loading branch information
marialainez and morcuended authored Oct 1, 2024
1 parent 182f478 commit a0c3050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osa/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def get_squeue_output(squeue_output: StringIO) -> pd.DataFrame:
return df


def run_sacct(job_id=None) -> StringIO:
def run_sacct(job_id: str = None) -> StringIO:
"""Run sacct to obtain the job information."""
if shutil.which("sacct") is None:
log.warning("No job info available since sacct command is not available")
Expand Down

0 comments on commit a0c3050

Please sign in to comment.