code: def print_desc(desc, verbose=False):
      '''
      :param desc: The describe hash of a DNAnexus entity
      :type desc: dict
  
      Depending on the class of the entity, this method will print a
      formatted and human-readable string containing the data in *desc*.
      '''
      if desc['class'] in ['project', 'workspace', 'container']:
          print_project_desc(desc, verbose=verbose)
      elif desc['class'] == 'app':
          print_app_desc(desc, verbose=verbose)
      elif desc['class'] == 'globalworkflow':
          print_globalworkflow_desc(desc, verbose=verbose)
      elif desc['class'] in ['job', 'analysis']:
          print_execution_desc(desc)
      elif desc['class'] == 'user':
          print_user_desc(desc)
      elif desc['class'] in ['org', 'team']:
          print_generic_desc(desc)
      else:
          print_data_obj_desc(desc, verbose=verbosef print_desc(desc, verbose=False):
      '''
      :param desc: The describe hash of a DNAnexus entity
      :type desc: dict
  
      Depending on the class of the entity, this method will print a
      formatted and human-readable string containing the data in *desc*.
      '''
      if desc['class'] in ['project', 'workspace', 'container']:
          print_project_desc(desc, verbose=verbose)
      elif desc['class'] == 'app':
          print_app_desc(desc, verbose=verbose)
      elif desc['class'] == 'globalworkflow':
          print_globalworkflow_desc(desc, verbose=verbose)
      elif desc['class'] in ['job', 'analysis']:
          print_execution_desc(desc)
      elif desc['class'] == 'user':
          print_user_desc(desc)
      elif desc['class'] in ['org', 'team']:
          print_generic_desc(desc)
      else:
          print_data_obj_desc(desc, verbose=verbose)
docs: :param desc: The describe hash of a DNAnexus entity
      :type desc: dict
  
      Depending on the class of the entity, this method will print a
      formatted and human-readable string containing the data in *desc*.