class_docstr: Base class for entry selectors
class_docstr_tok: ["Base","class","for","entry","selectors"]
code: def from_string(spec: str) -> "EntrySelector":
      if spec == "*":
          return AllEntrySelector()
      return FieldEntrySelector(spec)
  
file_path: detectron2/projects/DensePose/densepose/utils/dbhelper.py
imports: from typing import Any, Dict, Optional, Tuple
label_desc: Use image node_id 1 for calling the EntrySelector obj's underlying member method code with example usage: obj.from_string(spec) and returns: FieldEntrySelector, AllEntrySelector