code: def test_dataset_naming_ok(name):
      request = CreateDatasetRequest(
          name=name, task=TaskType.token_classification
      )
      assert request.name == name
  
file_path: argilla/tests/unit/server/models/old_models/test_datasets.py
imports: import datetime
  import uuid
  import pytest
  from argilla.server.commons.models import TaskType
  from argilla.server.daos.models.datasets import BaseDatasetDB
  from argilla.server.schemas.v0.datasets import CreateDatasetRequest, Dataset
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 1 for calling a global function with example usage: test_dataset_naming_ok(name) without return types