code: def test_configure_dataset_deprecation_warning(
      argilla_user: "User",
      settings: Union[
          TextClassificationSettings, TokenClassificationSettings
      ],
  ) -> None:
      init(
          api_key=argilla_user.api_key, workspace=argilla_user.username
      )
  
      dataset_name = f"test-dataset-{uuid4()}"
      workspace_name = get_workspace()
  
      with pytest.warns(
          DeprecationWarning,
          match="This method is deprecated. Use configure_dataset_settings instead.",
      ):
          configure_dataset(
              dataset_name, settings=settings, workspace=workspace_name
          )
  
file_path: argilla/tests/integration/test_datasets_settings.py
imports: from typing import TYPE_CHECKING, Optional, Union
  from uuid import uuid4
  import pytest
  from argilla import Workspace
  from argilla.client import singleton
  from argilla.client.api import get_workspace
  from argilla.client.client import Argilla
  from argilla.client.sdk.commons.errors import ForbiddenApiError
  from argilla.client.singleton import init
  from argilla.datasets import TextClassificationSettings, TokenClassificationSettings, configure_dataset, configure_dataset_settings, load_dataset_settings
  from argilla.server.contexts import accounts
  from argilla.server.security.model import WorkspaceUserCreate
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 3 for calling a global function with example usage: test_configure_dataset_deprecation_warning(argilla_user, settings) without return types