code: def update_metadata_property(
      client: httpx.Client,
      id: UUID,
      title: Optional[str] = None,
      visible_for_annotators: Optional[bool] = None,
  ) -> Response[
      Union[
          FeedbackMetadataPropertyModel,
          ErrorMessage,
          HTTPValidationError,
      ]
  ]:
      """Sends a PATCH request to `/api/v1/metadata_properties/{id}` endpoint to update a
      metadata property from a `FeedbackTask` dataset in Argilla.
  
      Args:
          client: the authenticated Argilla client to be used to send the request to the API.
          id: the id of the metadata property to be updated in Argilla.
          title: the new title of the metadata property. Defaults to `None`.
          visible_for_annotators: whether the metadata property should be visible for annotators. Defaults to `None`.
  
      Returns:
          A `Response` object containing a `parsed` attribute with the parsed response if
          the request was successful, which is a `FeedbackMetadataPropertyModel`.
      """
      url = f"/api/v1/metadata-properties/{id}"
  
      payload = {}
      if title is not None:
          payload["title"] = title
      if visible_for_annotators is not None:
          payload["visible_for_annotators"] = visible_for_annotators
  
      response = client.patch(url=url, json=payload)
  
      if response.status_code == 200:
          response_obj = Response.from_httpx_response(response)
          response_obj.parsed = FeedbackMetadataPropertyModel.parse_raw(
              response.content
          )
          return response_obj
      return handle_response_error(response)
  
file_path: argilla/src/argilla/client/sdk/v1/metadata_properties/api.py
imports: from typing import Optional, Union
  from uuid import UUID
  import httpx
  from argilla.client.sdk.commons.errors_handler import handle_response_error
  from argilla.client.sdk.commons.models import ErrorMessage, HTTPValidationError, Response
  from argilla.client.sdk.v1.metadata_properties.models import FeedbackMetadataPropertyModel
label_desc: Use image node_id 2 for calling a global function with example usage: update_metadata_property(client, id, title, visible_for_annotators) and returns: handle_response_error, response_obj