code: def _load_domain_constraints(domain_constraints):
      """Loads the domain constraints."""
      processed_constraints = []
      # The constraints will be represented as a list of 3-tuples. The first of each tuple
      # will be the name of the constraint, the second will be the constraint, and the third
      # to store any ancillary information. The third item will be a dictionary containing
      # any other information specified in the configuration file.
      for _, constraint_data in domain_constraints.items():
          curr_constraint_dict = {}
          for key, val in constraint_data.items():
              key = unicode_to_str(key)
              val = unicode_to_str(val)
              curr_constraint_dict[key] = val
          processed_constraints.append(curr_constraint_dict)
      return processed_constraints
  
file_path: dragonfly/dragonfly/parse/config_parser.py
imports: from __future__ import absolute_import
  import sys
  import json
  from collections import OrderedDict
  from numbers import Number
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: _load_domain_constraints(domain_constraints) and returns: processed_constraints