code: def __init__(self, models: Models) -> None:
      self.retrieve = _legacy_response.to_raw_response_wrapper(
          models.retrieve,
      )
      self.list = _legacy_response.to_raw_response_wrapper(
          models.list,
      )
      self.delete = _legacy_response.to_raw_response_wrapper(
          models.delete,
      )
  
imports: from __future__ import annotations
  import httpx
  from ..None import _legacy_response
  from ..types import Model, ModelDeleted
  from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
  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 SyncPage, AsyncPage
  from .._base_client import AsyncPaginator, make_request_options
label_desc: Use image node_id 1 to create a new ModelsWithRawResponse object  with example: obj = ModelsWithRawResponse(models)