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.
docstr: Resources are not tallied by the global scheduler when submitting jobs
  
  Each submitted job or group gets its own pool of the resource, as
  specified under --resources.
  
  
  Returns
  -------
  set
docstr_tok: ["Resources","are","not","tallied","by","the","global","scheduler","when","submitting","jobs","Each","submitted","job","or","group","gets","its","own","pool","of","the","resource",",","as","specified","under","--","resources",".","Returns","--","--","--","-","set"]
code: def locals(self):
      """Resources are not tallied by the global scheduler when submitting jobs
  
      Each submitted job or group gets its own pool of the resource, as
      specified under --resources.
  
  
      Returns
      -------
      set
      """
      return set(
          res for res, scope in self.data.items() if scope == "local"
      )
  
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 3 for calling the ResourceScopes obj's underlying member method code with example usage: obj.locals() and returns: set