class_docstr: Index of resource scopes, where each entry is 'RESOURCE': 'SCOPE'
  
  Each resource may be scoped as local, global, or excluded. Any resources not
  specified are considered global.
code: def defaults(cls):
      return cls(mem_mb="local", disk_mb="local", runtime="excluded")
  
imports: from collections import UserDict, defaultdict
  import itertools
  import operator
  import re
  import tempfile
  from snakemake.exceptions import ResourceScopesException, WorkflowError
  from snakemake.common.tbdstring import TBDString
label_desc: Use image node_id 2 for calling the ResourceScopes obj's underlying member method code with example usage: obj.defaults(cls) and returns: cls