code: def check_empty_query_text(cls, value):
      if value is not None:
          if value.strip() == "":
              value = None
      return value
  
imports: from enum import Enum
  from typing import Any, Dict, List, Optional, TypeVar, Union
  from argilla.server.commons.models import TaskStatus
  from argilla.server.pydantic_v1 import BaseModel, Field, validator
label_desc: Use image node_id 1 for calling the BaseRecordsQuery obj's underlying member method code with example usage: obj.check_empty_query_text(cls, value) and returns: value