code: def create_workspace(
      client: httpx.Client, name: str
  ) -> Response[
      Union[WorkspaceModel, ErrorMessage, HTTPValidationError]
  ]:
      """Sends a request to `POST /api/workspaces` to create a new workspace.
  
      Args:
          client: the authenticated Argilla client to be used to send the request to the API.
          name: the name of the workspace to be created.
  
      Returns:
          A Response object with the parsed response, containing a `parsed` attribute with the
          parsed response if the request was successful, which is a `WorkspaceModel` object.
      """
      url = "/api/workspaces"
  
      response = client.post(url=url, json={"name": name})
  
      if response.status_code == 200:
          response_obj = Response.from_httpx_response(response)
          response_obj.parsed = WorkspaceModel(**response.json())
          return response_obj
      return handle_response_error(response)
  
file_path: argilla/src/argilla/client/sdk/workspaces/api.py
imports: from typing import List, 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.users.models import UserModel
  from argilla.client.sdk.workspaces.models import WorkspaceModel
label_desc: Use image node_id 2 for calling a global function with example usage: create_workspace(client, name) and returns: handle_response_error, response_obj