B
    d                 @   s$   d Z ddlZG dd dejdZdS )z%Abstraction for data ingestion logic.    Nc               @   s0   e Zd ZdZeejdd Zejdd ZdS )DataIngesterzLink between a data source and a data provider.

    A data ingester starts a reload operation in the background and
    provides a data provider as a view.
    c             C   s   dS )zlReturns a `DataProvider`.

        It may be an error to dereference this before `start` is called.
        N )selfr   r   K/var/www/html/venv/lib/python3.7/site-packages/tensorboard/data/ingester.pydata_provider   s    zDataIngester.data_providerc             C   s   dS )zStarts ingesting data.

        This may start a background thread or process, and will return
        once communication with that task is established. It won't block
        forever as data is reloaded.

        Must only be called once.
        Nr   )r   r   r   r   start$   s    
zDataIngester.startN)	__name__
__module____qualname____doc__propertyabcabstractmethodr   r   r   r   r   r   r      s   r   )	metaclass)r   r   ABCMetar   r   r   r   r   <module>   s   