ó
mÜJ]c           @` s§   d  d l  m Z m Z m Z m Z d  d l Z e j e ƒ Z d  d l	 m
 Z
 d d l m Z d d l m Z d Z e d	 e f d
 „  ƒ  Yƒ Z i e
 d 6e
 d 6Z d S(   i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsN(   t   __version__i   (   t   Messagei   (   t   registeru   server_info_reply_1t   server_info_reply_1c           B` s)   e  Z d  Z d Z d Z e d „  ƒ Z RS(   uy   Define the ``SERVER-INFO-REPLY`` message (revision 1) for replying to
    Server info requests from clients.

    The ``content`` fragment of for this message is has the form:

    .. code-block:: python

        {
            'version_info' : {
                'bokeh'  : <bokeh library version>
                'server' : <bokeh server version>
            }
        }

    u   SERVER-INFO-REPLYi   c         K` s/   |  j  d | ƒ } i t d 6} |  | | | ƒ S(   u   Create an ``SERVER-INFO-REPLY`` message

        Args:
            request_id (str) :
                The message ID for the message that issues the info request

        Any additional keyword arguments will be put into the message
        ``metadata`` fragment as-is.

        t
   request_idu   version_info(   t   create_headert   _VERSION_INFO(   t   clsR   t   metadatat   headert   content(    (    sH   lib/python2.7/site-packages/bokeh/protocol/messages/server_info_reply.pyt   createC   s    
(   t   __name__t
   __module__t   __doc__t   msgtypet   revisiont   classmethodR   (    (    (    sH   lib/python2.7/site-packages/bokeh/protocol/messages/server_info_reply.pyR   .   s   u   bokehu   server(   u   server_info_reply_1(   t
   __future__R    R   R   R   t   loggingt	   getLoggerR   t   logt   bokehR   t   messageR   t    R   t   __all__R   R
   (    (    (    sH   lib/python2.7/site-packages/bokeh/protocol/messages/server_info_reply.pyt   <module>   s   "*