class_docstr: For storing and accessing flags.
code: def load(self, other):
      def recursive_update(flags, source_dict):
          for k in source_dict:
              if isinstance(source_dict[k], dict):
                  flags[k] = Flags()
                  recursive_update(flags[k], source_dict[k])
              else:
                  flags[k] = source_dict[k]
  
      recursive_update(self, other)
  
file_path: magenta/magenta/models/gansynth/lib/flags.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import base64
  import json
label_desc: Use image node_id 2 for calling the Flags obj's underlying member method code with example usage: obj.load(other) without return types