code: def test_method_update(self, client: OpenAI) -> None:
      message = client.beta.threads.messages.update(
          "string",
          thread_id="string",
      )
      assert_matches_type(ThreadMessage, message, path=["response"])
  
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 import ThreadMessage
label_desc: Use image node_id 10 for calling the TestMessages obj's underlying member method code with example usage: obj.test_method_update(client) without return types