def METHOD_NAME(batch_id: int, job_id: int, output: StructuredFormatOption = StructuredFormat.YAML):
    '''Get the status and specification for the job with id JOB_ID in the batch with id BATCH_ID.'''
    from hailtop.batch_client.client import BatchClient  # pylint: disable=import-outside-toplevel
    with BatchClient('') as client:
        METHOD_NAME = get_job_if_exists(client, batch_id, job_id)
        if METHOD_NAME is not None:
            assert METHOD_NAME._status
            print(make_formatter(output)([
                cast(
                    Dict[str, Any],  # https://stackoverflow.com/q/71986632/6823256
                    METHOD_NAME._status
                )
            ]))
        else:
            print(f"Job with ID {job_id} on batch {batch_id} not found")