

def static_url(self, path, include_host=None, **kwargs):
    'Returns a static URL for the given relative static file path.\n\n        This method requires you set the ``static_path`` setting in your\n        application (which specifies the root directory of your static\n        files).\n\n        This method returns a versioned url (by default appending\n        ``?v=<signature>``), which allows the static files to be\n        cached indefinitely.  This can be disabled by passing\n        ``include_version=False`` (in the default implementation;\n        other static file implementations are not required to support\n        this, but they may support other options).\n\n        By default this method returns URLs relative to the current\n        host, but if ``include_host`` is true the URL returned will be\n        absolute.  If this handler has an ``include_host`` attribute,\n        that value will be used as the default for all `static_url`\n        calls that do not pass ``include_host`` as a keyword argument.\n\n        '
    self.require_setting('static_path', 'static_url')
    get_url = self.settings.get('static_handler_class', StaticFileHandler).make_static_url
    if (include_host is None):
        include_host = getattr(self, 'include_host', False)
    if include_host:
        base = ((include_host.request.protocol + '://') + self.request.host)
    else:
        base = ''
    return (base + get_url(self.settings, path, **kwargs))

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py RequestHandler.static_url/VarMisuse@75/448 `self`->`include_host`