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 tallied across all job and group submissions.
  
  Returns
  -------
  set
docstr_tok: ["Resources","tallied","across","all","job","and","group","submissions",".","Returns","--","--","--","-","set"]
code: def globals(self):
      """Resources tallied across all job and group submissions.
  
      Returns
      -------
      set
      """
      return set(
          res for res, scope in self.data.items() if scope == "global"
      )
  
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 4 for calling the ResourceScopes obj's underlying member method code with example usage: obj.globals() and returns: set