#NEWLINE# @ classmethod #NEWLINE# def make_middleware( cls , app , **options ) : #NEWLINE# #INDENT# "Creates the application WSGI middleware in charge of serving local files.\n\n        A Depot middleware is required if your application wants to serve files from\n        storages that don't directly provide and HTTP interface like\n        :class:`depot.io.local.LocalFileStorage` and :class:`depot.io.gridfs.GridFSStorage`\n\n        " #NEWLINE# from depot.middleware import DepotMiddleware #NEWLINE# mw = DepotMiddleware ( app , ** options ) #NEWLINE# cls . set_middleware ( mw ) #NEWLINE# return mw