<s> '''<STR_LIT>''' <EOL> from __future__ import absolute_import , print_function <EOL> import logging <EOL> log = logging . getLogger ( __name__ ) <EOL> from tornado . web import StaticFileHandler <EOL> from bokeh . settings import settings <EOL> class StaticHandler ( StaticFileHandler ) : <EOL> '''<STR_LIT>''' <EOL> def __init__ ( self , tornado_app , * args , ** kw ) : <EOL> kw [ '<STR_LIT:path>' ] = settings . bokehjsdir ( ) <EOL> super ( StaticHandler , self ) . __init__ ( tornado_app , * args , ** kw ) <EOL> @ classmethod <EOL> def append_version ( cls , path ) : <EOL> version = StaticFileHandler . get_version ( dict ( static_path = settings . bokehjsdir ( ) ) , path ) <EOL> return ( "<STR_LIT>" % ( path , version ) ) </s>
