class_docstr: Provide a message factory for the Bokeh Server message protocol.
  
      
code: def create(
      self,
      msgtype: Literal["PULL-DOC-REPLY"],
      request_id: ID,
      document: Document,
      **metadata: Any,
  ) -> pull_doc_reply:
      ...
  
imports: from __future__ import annotations
  import logging
  import json
  from typing import TYPE_CHECKING, Any, Literal, overload
  from .exceptions import ProtocolError
  from .message import Message
  from .messages.ack import ack
  from .messages.error import error
  from .messages.ok import ok
  from .messages.patch_doc import patch_doc
  from .messages.pull_doc_reply import pull_doc_reply
  from .messages.pull_doc_req import pull_doc_req
  from .messages.push_doc import push_doc
  from .messages.server_info_reply import server_info_reply
  from .messages.server_info_req import server_info_req
label_desc: Use image node_id 7 for calling the Protocol obj's underlying member method code with example usage: obj.create(msgtype, request_id, document) without return types