class_docstr: prefix similarity
      
code: def __init__(self, qval: int = 1, sim_test: SimFunc = None) -> None:
      self.qval = qval
      self.sim_test = sim_test or self._ident
  
imports: from __future__ import annotations
  from itertools import takewhile
  from typing import Sequence
  from .base import Base, BaseSimilarity
  from .types import SimFunc
label_desc: Use image node_id 1 to create a new Prefix object from inherited base classes: _BaseSimilarity with example: obj = Prefix(qval, sim_test)