diff --git a/app/routers/compute/compute.py b/app/routers/compute/compute.py index f8a4cb5..71c80b4 100644 --- a/app/routers/compute/compute.py +++ b/app/routers/compute/compute.py @@ -94,7 +94,7 @@ async def get_job_status( job_id: str, request: Request, user: User = Depends(router.current_user), - historical: StrictHTTPBool | None = Query(default=False, description="Whether to include historical jobs. Defaults to false"), + historical: StrictHTTPBool | None = Query(default=True, description="Whether to include historical jobs. Defaults to true"), include_spec: StrictHTTPBool | None = Query(default=False, description="Whether to include the job specification. Defaults to false"), _forbid=Depends(forbidExtraQueryParams("historical", "include_spec")), ): diff --git a/app/routers/compute/facility_adapter.py b/app/routers/compute/facility_adapter.py index a8cbf9a..32adbdb 100644 --- a/app/routers/compute/facility_adapter.py +++ b/app/routers/compute/facility_adapter.py @@ -26,7 +26,7 @@ async def get_job( resource: status_models.Resource, user: User, job_id: str, - historical: bool = False, + historical: bool = True, include_spec: bool = False, ) -> compute_models.Job: pass