def __init__()

in marketplace/deployer_util/config_helper.py [0:0]


  def __init__(self, dictionary):
    self._node_pool = None
    node_pool = dictionary['nodePool']
    if not isinstance(node_pool, list):
      raise InvalidSchema('gke.nodePool must be a list')
    self._node_pool = [SchemaNodePoolDetails(r) for r in node_pool]
    if len(self._node_pool) != 1:
      raise InvalidSchema('gke.nodePool supports exactly one nodePool')