code: def list_methods(client: Client) -> List[str]:
      """Lists the methods which are available on the server.
  
      Args:
        client: A client instance.
  
      Returns:
        List of method names.
      """
      return client._client.ListMethods()
  
imports: from concurrent import futures
  import datetime
  from typing import List, Optional, Union
  import zoneinfo
  from courier.python import py_client
  import numpy
  from pybind11_abseil.status import StatusNotOk
  from pybind11_abseil.status import StatusNotOk
label_desc: Use image node_id 4 for calling a global function with example usage: list_methods(client) and returns: client