class_docstr: Driver for fetching credentials that are stored in memory in file-like objects.
class_docstr_tok: ["Driver","for","fetching","credentials","that","are","stored","in","memory","in","file-like","objects","."]
docstr: Clears all global spools.
  
  De-allocating the spools triggers garbage collection, which implicitly closes the
  file handles.
docstr_tok: ["Clears","all","global","spools",".","De-allocating","the","spools","triggers","garbage","collection",",","which","implicitly","closes","the","file","handles","."]
code: def clear(cls):
      """Clears all global spools.
  
      De-allocating the spools triggers garbage collection, which implicitly closes the
      file handles.
      """
      cls.SERVICE_SPOOLS = {}
  
imports: import json
  import os
  import shutil
  import tempfile
  from abc import abstractmethod
  from botocore.exceptions import ClientError
  from streamalert.shared.helpers.aws_api_client import AwsKms, AwsSsm
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 5 for calling the SpooledTempfileDriver obj's underlying member method code with example usage: obj.clear(cls) without return types