def get_job_details()

in src/wagtail_localize_smartling/api/client.py [0:0]


    def get_job_details(self, *, job: "Job") -> types.GetJobDetailsResponseData:
        try:
            return cast(
                types.GetJobDetailsResponseData,
                self._request(
                    method="GET",
                    path=f"/jobs-api/v3/projects/{quote(smartling_settings.PROJECT_ID)}/jobs/{quote(job.translation_job_uid)}",
                    response_serializer_class=GetJobDetailsResponseSerializer,
                ),
            )
        except FailedResponse as e:
            if e.code == "NOT_FOUND_ERROR":
                raise JobNotFound(f"Job {job.translation_job_uid} not found") from e
            else:
                raise