docstr: Shortcut for real annotated entities, if provided
docstr_tok: ["Shortcut","for","real","annotated","entities",",","if","provided"]
code: def annotated_entities(self) -> Set[EntitySpan]:
      """Shortcut for real annotated entities, if provided"""
      if self.annotation is None:
          return set()
      return set(self.annotation.entities)
  
imports: from typing import Dict, List, Optional, Set, Tuple
  from argilla.server.commons.models import PredictionStatus, TaskType
  from argilla.server.constants import DEFAULT_MAX_KEYWORD_LENGTH
  from argilla.server.pydantic_v1 import BaseModel, Field, validator
  from argilla.server.services.search.model import ServiceBaseRecordsQuery, ServiceScoreRange
  from argilla.server.services.tasks.commons import ServiceBaseAnnotation, ServiceBaseRecord
  from argilla.utils import SpanUtils
label_desc: Use image node_id 12 for calling the ServiceTokenClassificationRecord obj's underlying member method code with example usage: obj.annotated_entities() and returns: set, set