Skip to content

Commit

Permalink
ok, dependencies are ok
Browse files Browse the repository at this point in the history
  • Loading branch information
eacharles committed Oct 7, 2023
1 parent f3309bb commit 6c38dab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/lsst/cmservice/db/job_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

from sqlalchemy.ext.asyncio import async_scoped_session

from lsst.daf.butler import Butler
from lsst.pipe.base.execution_reports import QuantumGraphExecutionReport

from ..common.enums import JobMethod, StatusEnum
from .handler import Handler

Expand All @@ -12,6 +15,15 @@
from .job import Job


def make_gq_report(
butler_repo: str,
graph_file: str,
) -> QuantumGraphExecutionReport:
butler = Butler(butler_repo)
report = QuantumGraphExecutionReport.make_reports(butler, graph_file)
return report


class JobHandler(Handler):
"""SubClass of Handler to deal with job operations"""

Expand Down

0 comments on commit 6c38dab

Please sign in to comment.