class_docstr: Object to wrap constraints to pass to `multiprocessing.Pool`.
class_docstr_tok: ["Object","to","wrap","constraints","to","pass","to","`","multiprocessing.Pool","`","."]
code: def __init__(self, g_cons, g_cons_args):
      self.g_cons = g_cons
      self.g_cons_args = g_cons_args
  
imports: import collections
  from abc import ABC, abstractmethod
  import numpy
  from scipy._lib._util import MapWrapper
label_desc: Use image node_id 1 to create a new ConstraintWrapper object  with example: obj = ConstraintWrapper(g_cons, g_cons_args)