o
    ßñhÊ  ã                   @  sV   d dl mZ d dlmZmZ d dlmZ d dlm	Z	 er"d dl
mZ G dd„ dƒZdS )	é    )Úannotations)ÚTYPE_CHECKINGÚcast)ÚBalloons)Úgather_metrics)ÚDeltaGeneratorc                   @  s,   e Zd Zedƒd	dd„ƒZed	dd„ƒZdS )
ÚBalloonsMixinÚballoonsÚreturnr   c                 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ÚdgÚ_enqueue)ÚselfÚballoons_proto© r   úO/var/www/vscode/kcb/lib/python3.10/site-packages/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)r
   r   )Ú__name__Ú
__module__Ú__qualname__r   r	   Úpropertyr   r   r   r   r   r      s
    r   N)Ú
__future__r   Útypingr   r   Ústreamlit.proto.Balloons_pb2r   r   Ústreamlit.runtime.metrics_utilr   Ústreamlit.delta_generatorr   r   r   r   r   r   Ú<module>   s   