class_docstr: Wrapper for parse actions, to ensure they are only called once.
code: def __init__(self, method_call):
      from .core import _trim_arity
  
      self.callable = _trim_arity(method_call)
      self.called = False
  
file_path: catboost/contrib/python/pyparsing/py3/pyparsing/actions.py
imports: from .exceptions import ParseException
  from .util import col, replaced_by_pep8
label_desc: Use image node_id 1 to create a new OnlyOnce object  with example: obj = OnlyOnce(method_call)