code: def __init__(self, jobs: Jobs) -> None:
      self.create = _legacy_response.to_raw_response_wrapper(
          jobs.create,
      )
      self.retrieve = _legacy_response.to_raw_response_wrapper(
          jobs.retrieve,
      )
      self.list = _legacy_response.to_raw_response_wrapper(
          jobs.list,
      )
      self.cancel = _legacy_response.to_raw_response_wrapper(
          jobs.cancel,
      )
      self.list_events = _legacy_response.to_raw_response_wrapper(
          jobs.list_events,
      )
  
imports: from __future__ import annotations
  from typing import Union, Optional
  from typing_extensions import Literal
  import httpx
  from ...None import _legacy_response
  from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
  from ..._utils import maybe_transform
  from ..._compat import cached_property
  from ..._resource import SyncAPIResource, AsyncAPIResource
  from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
  from ...pagination import SyncCursorPage, AsyncCursorPage
  from ..._base_client import AsyncPaginator, make_request_options
  from ...types.fine_tuning import FineTuningJob, FineTuningJobEvent, job_list_params, job_create_params, job_list_events_params
label_desc: Use image node_id 1 to create a new JobsWithRawResponse object  with example: obj = JobsWithRawResponse(jobs)