class_docstr: Group of functions related to elasticsearch filters
class_docstr_tok: ["Group","of","functions","related","to","elasticsearch","filters"]
docstr: Filter records with given predicted by terms
docstr_tok: ["Filter","records","with","given","predicted","by","terms"]
code: def annotated_by(
      annotated_by: List[str] = None,
  ) -> Optional[Dict[str, Any]]:
      """Filter records with given predicted by terms"""
      if not annotated_by:
          return None
      return {"terms": {"annotated_by": annotated_by}}
  
imports: from enum import Enum
  from typing import Any, Dict, List, Optional, Type, Union
  from argilla.server.commons.models import TaskStatus
  from argilla.server.daos.backend.mappings.helpers import mappings
  from argilla.server.pydantic_v1 import BaseModel
label_desc: Use image node_id 4 for calling the filters obj's underlying member method code with example usage: obj.annotated_by(annotated_by) and returns: dict, None