Skip to content

Commit

Permalink
fix up typing
Browse files Browse the repository at this point in the history
  • Loading branch information
eacharles committed Sep 12, 2024
1 parent 6492d9b commit 90f0d67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lsst/cmservice/common/htcondor.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ async def submit_htcondor_job(


async def check_htcondor_job(
htcondor_id: str | None,
) -> StatusEnum | None:
htcondor_id: str,
) -> StatusEnum:
"""Check the status of a `HTConddor` job
Parameters
Expand Down
2 changes: 1 addition & 1 deletion src/lsst/cmservice/handlers/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async def _check_slurm_job(
async def _check_htcondor_job(
self,
session: async_scoped_session,
htcondor_id: str | None,
htcondor_id: str,
script: Script,
parent: ElementMixin,
) -> StatusEnum:
Expand Down
2 changes: 1 addition & 1 deletion src/lsst/cmservice/handlers/script_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ async def _check_slurm_job( # pylint: disable=unused-argument
async def _check_htcondor_job( # pylint: disable=unused-argument
self,
session: async_scoped_session,
htcondor_id: str | None,
htcondor_id: str,
script: Script,
parent: ElementMixin,
) -> StatusEnum:
Expand Down

0 comments on commit 90f0d67

Please sign in to comment.