@functools.lru_cache(maxsize=None)
def get_finder(import_path):
 Finder = import_string(import_path)
 if (not issubclass(Finder, BaseFinder)):
  raise ImproperlyConfigured(('Finder "%s" is not a subclass of "%s"' % (Finder, BaseFinder)))
 return Finder()

@ functools . lru_cache ( maxsize = None ) def get_finder ( import_path ) : Finder = import_string ( import_path ) if ( not issubclass ( Finder , BaseFinder ) ) : raise ImproperlyConfigured ( ( 'Finder "%s" is not a subclass of "%s"' % ( Finder , BaseFinder ) ) ) return Finder ( )
imports the staticfiles finder class described by import_path .