class_docstr: Base class for budget accountants.
class_docstr_tok: ["Base","class","for","budget","accountants","."]
docstr: Registers this mechanism for the future normalisation.
docstr_tok: ["Registers","this","mechanism","for","the","future","normalisation","."]
code: def _register_mechanism(self, mechanism: MechanismSpecInternal):
      """Registers this mechanism for the future normalisation."""
  
      # Register in the global list of mechanisms
      self._mechanisms.append(mechanism)
  
      # Register in all of the current scopes
      for scope in self._scopes_stack:
          scope.mechanisms.append(mechanism)
  
      return mechanism
  
imports: import abc
  import collections
  import logging
  import math
  from typing import Optional
  from dataclasses import dataclass
  import pipeline_dp.aggregate_params
  from pipeline_dp import input_validators
label_desc: Use image node_id 7 for calling the BudgetAccountant obj's underlying member method code with example usage: obj._register_mechanism(mechanism) and returns: mechanism