code: def bulk(
      client: AuthenticatedClient,
      name: str,
      json_body: Union[
          TextClassificationBulkData,
          TokenClassificationBulkData,
          Text2TextBulkData,
      ],
  ) -> BulkResponse:
      url = f"{client.base_url}/api/datasets/{name}/{_TASK_TO_ENDPOINT[type(json_body)]}:bulk"
  
      response = client.post(
          path=url, json=json_body.dict(by_alias=True)
      )
      return BulkResponse.parse_obj(response)
  
file_path: argilla/src/argilla/client/sdk/commons/api.py
imports: import json
  from typing import Any, Dict, List, Optional, Type, TypeVar, Union
  import httpx
  from argilla.client.sdk.client import AuthenticatedClient
  from argilla.client.sdk.commons.errors import GenericApiError
  from argilla.client.sdk.commons.errors_handler import handle_response_error
  from argilla.client.sdk.commons.models import BulkResponse, ErrorMessage, HTTPValidationError, Response
  from argilla.client.sdk.text2text.models import Text2TextBulkData
  from argilla.client.sdk.text_classification.models import TextClassificationBulkData
  from argilla.client.sdk.token_classification.models import TokenClassificationBulkData
label_desc: Use image node_id 1 for calling a global function with example usage: bulk(client, name, json_body) and returns: BulkResponse