code: def test_streaming_response_retrieve(self, client: OpenAI) -> None:
      with client.beta.threads.messages.files.with_streaming_response.retrieve(
          "file-abc123",
          thread_id="thread_abc123",
          message_id="msg_abc123",
      ) as response:
          assert not response.is_closed
          assert (
              response.http_request.headers.get("X-Stainless-Lang")
              == "python"
          )
  
          file = response.parse()
          assert_matches_type(MessageFile, file, path=["response"])
  
      assert cast(Any, response.is_closed) is True
  
file_path: openai-python/tests/api_resources/beta/threads/messages/test_files.py
imports: from __future__ import annotations
  import os
  from typing import Any, cast
  import pytest
  from openai import OpenAI, AsyncOpenAI
  from tests.utils import assert_matches_type
  from openai._client import OpenAI, AsyncOpenAI
  from openai.pagination import SyncCursorPage, AsyncCursorPage
  from openai.types.beta.threads.messages import MessageFile
label_desc: Use image node_id 3 for calling the TestFiles obj's underlying member method code with example usage: obj.test_streaming_response_retrieve(client) without return types