This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

bokeh.protocol.messages.pull_doc_req — Bokeh 0.12.14 documentation

Source code for bokeh.protocol.messages.pull_doc_req

from __future__ import absolute_import

from ..message import Message
from . import register

@register
[docs]class pull_doc_req_1(Message): ''' Define the ``PULL-DOC-REQ`` message (revision 1) for requesting a Bokeh server reply with a new Bokeh Document. The ``content`` fragment of for this message is empty. ''' msgtype = 'PULL-DOC-REQ' revision = 1 @classmethod
[docs] def create(cls, **metadata): ''' Create an ``PULL-DOC-REQ`` message Any keyword arguments will be put into the message ``metadata`` fragment as-is. ''' header = cls.create_header() return cls(header, metadata, {})