code: def test_dataset():
      dataset = FeedbackDataset(
          fields=[
              TextField(name="text"),
              TextField(name="optional", required=False),
          ],
          questions=[TextQuestion(name="question")],
          metadata_properties=[
              TermsMetadataProperty(
                  name="terms-metadata", values=["a", "b", "c"]
              ),
              IntegerMetadataProperty(name="integer-metadata"),
              FloatMetadataProperty(
                  name="float-metadata", min=0.0, max=10.0
              ),
          ],
      )
      return dataset
  
file_path: argilla/tests/integration/client/sdk/v1/test_records.py
imports: import argilla.client.singleton
  import pytest
  from argilla import FeedbackDataset, FeedbackRecord, FloatMetadataProperty, IntegerMetadataProperty, TermsMetadataProperty, TextField, TextQuestion, User, VectorSettings, Workspace
  from argilla.client.client import Argilla
  from argilla.client.sdk.v1.records.api import delete_record, delete_suggestions, update_record
  from argilla.client.sdk.v1.records.models import FeedbackItemModel
  from argilla.server.models import User
  from argilla.server.models import UserRole
  from tests.factories import DatasetFactory, RatingQuestionFactory, RecordFactory, SuggestionFactory, UserFactory, WorkspaceFactory
label_desc: Use image node_id 1 for calling a global function with example usage: test_dataset() and returns: dataset