

@classmethod
def make_static_url(cls, settings, path, include_version=True):
    'Constructs a versioned url for the given path.\n\n        This method may be overridden in subclasses (but note that it\n        is a class method rather than an instance method).  Subclasses\n        are only required to implement the signature\n        ``make_static_url(cls, settings, path)``; other keyword\n        arguments may be passed through `~RequestHandler.static_url`\n        but are not standard.\n\n        ``settings`` is the `Application.settings` dictionary.  ``path``\n        is the static path being requested.  The url returned should be\n        relative to the current host.\n\n        ``include_version`` determines whether the generated URL should\n        include the query string containing the version hash of the\n        file corresponding to the given ``path``.\n\n        '
    url = (settings.get('static_url_prefix', '/static/') + path)
    if (not include_version):
        return url
    version_hash = cls.get_version(settings, path)
    if (not url):
        return url
    return ('%s?v=%s' % (url, version_hash))

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py StaticFileHandler.make_static_url/VarMisuse@64/348 `version_hash`->`url`