':class:`~bokeh.document.Document` which will be kept in sync with the server document
This is initialized when :func:`pull` or :func:`push` succeeds. It will be None until then.'

@property
def document(self):

    return self._document
