class_docstr: Base class for budget accountants.
class_docstr_tok: ["Base","class","for","budget","accountants","."]
code: def _finalize(self):
      if self._finalized:
          raise Exception("compute_budgets can not be called twice.")
      self._finalized = True
  
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 10 for calling the BudgetAccountant obj's underlying member method code with example usage: obj._finalize() without return types