U
    ˜ARd¥  ã                   @   sJ   d dl mZmZ d dlmZ d dlmZ er8d dlm	Z	 G dd„ dƒZ
dS )é    )ÚTYPE_CHECKINGÚcast)ÚBalloons)Úgather_metrics)ÚDeltaGeneratorc                   @   s4   e Zd Zedƒddœdd„ƒZeddœdd„ƒZdS )	ÚBalloonsMixinÚballoonsr   )Úreturnc                 C   s   t ƒ }d|_| j d|¡S )zÏDraw celebratory balloons.

        Example
        -------
        >>> import streamlit as st
        >>>
        >>> st.balloons()

        ...then watch your app and get ready for a celebration!

        Tr   )ÚBalloonsProtoÚshowÚdgZ_enqueue)ÚselfZballoons_proto© r   ú?/tmp/pip-unpacked-wheel-b9et7o5g/streamlit/elements/balloons.pyr      s    zBalloonsMixin.balloonsc                 C   s
   t d| ƒS )zGet our DeltaGenerator.r   )r   )r   r   r   r   r   *   s    zBalloonsMixin.dgN)Ú__name__Ú
__module__Ú__qualname__r   r   Úpropertyr   r   r   r   r   r      s   r   N)Útypingr   r   Zstreamlit.proto.Balloons_pb2r   r
   Zstreamlit.runtime.metrics_utilr   Zstreamlit.delta_generatorr   r   r   r   r   r   Ú<module>   s
   