#NEWLINE# def get_read_cache( self ) : #NEWLINE# #INDENT# 'Returns the read cache for this setup, creating it if necessary.\n\n    Returns None if no read cache is configured.\n    ' #NEWLINE# if ( self . _options . read_from and ( not self . _read_cache ) ) : #NEWLINE# #INDENT# cache_spec = self . _resolve ( self . _sanitize_cache_spec ( self . _options . read_from ) ) #NEWLINE# if cache_spec : #NEWLINE# #INDENT# with cache_spec . _cache_setup_lock : #NEWLINE# #INDENT# self . _read_cache = self . _do_create_artifact_cache ( cache_spec , 'will read from' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return self . _read_cache