ó
U¾÷Xc           @` sp   d  Z  d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d e f d „  ƒ  YZ	 d	 S(
   sˆ   TensorBoard Plugin abstract base class.

Every plugin in TensorBoard must extend and implement the abstract methods of
this base class.
i    (   t   absolute_import(   t   division(   t   print_function(   t   ABCMeta(   t   abstractmethodt   TBPluginc           B` s#   e  Z d  Z e Z e d „  ƒ Z RS(   sG   TensorBoard plugin interface. Every plugin must extend from this class.c         C` s   t  ƒ  ‚ d S(   s¡  Returns a set of http handlers that the plugin implements.

    Each handler gets registered with the tensorboard handler and is served
    under a prefix path that includes the name of the plugin.

    Args:
      run_paths: A dict mapping a run name to an event file path.
      logdir: The logging directory TensorBoard was started with.

    Returns:
      A dict mapping route paths to http handler methods.
    N(   t   NotImplementedError(   t   selft	   run_pathst   logdir(    (    sl   /tmp/pip-build-h1VYrz/tensorflow/tensorflow-1.0.1.data/purelib/tensorflow/tensorboard/plugins/base_plugin.pyt   get_plugin_handlers!   s    (   t   __name__t
   __module__t   __doc__R   t   __metaclass__R   R
   (    (    (    sl   /tmp/pip-build-h1VYrz/tensorflow/tensorflow-1.0.1.data/purelib/tensorflow/tensorboard/plugins/base_plugin.pyR      s   N(
   R   t
   __future__R    R   R   t   abcR   R   t   objectR   (    (    (    sl   /tmp/pip-build-h1VYrz/tensorflow/tensorflow-1.0.1.data/purelib/tensorflow/tensorboard/plugins/base_plugin.pyt   <module>   s   