
    &e+
                     L    d dl mZmZ d dlmZ erd dlmZ  G d d          ZdS )    )TYPE_CHECKINGcast)Empty)DeltaGeneratorc                   .    e Zd ZddZedd            ZdS )
EmptyMixinreturnr   c                 T    t                      }| j                            d|          S )u  Insert a single-element container.

        Inserts a container into your app that can be used to hold a single element.
        This allows you to, for example, remove elements at any point, or replace
        several elements at once (using a child multi-element container).

        To insert/replace/clear an element on the returned container, you can
        use "with" notation or just call methods directly on the returned object.
        See examples below.

        Examples
        --------
        Overwriting elements in-place using "with" notation:

        >>> import streamlit as st
        >>> import time
        >>>
        >>> with st.empty():
        ...     for seconds in range(60):
        ...         st.write(f"⏳ {seconds} seconds have passed")
        ...         time.sleep(1)
        ...     st.write("✔️ 1 minute over!")

        Replacing several elements, then clearing them:

        >>> import streamlit as st
        >>>
        >>> placeholder = st.empty()
        >>>
        >>> # Replace the placeholder with some text:
        >>> placeholder.text("Hello")
        >>>
        >>> # Replace the text with a chart:
        >>> placeholder.line_chart({"data": [1, 5, 2, 6]})
        >>>
        >>> # Replace the chart with several elements:
        >>> with placeholder.container():
        ...     st.write("This is one element")
        ...     st.write("This is another")
        ...
        >>> # Clear all those elements:
        >>> placeholder.empty()

        empty)
EmptyProtodg_enqueue)selfempty_protos     8lib/python3.11/site-packages/streamlit/elements/empty.pyr   zEmptyMixin.empty   s&    Z !llw555    c                 "    t          d|           S )zGet our DeltaGenerator.r   )r   )r   s    r   r   zEmptyMixin.dgH   s     $d+++r   N)r	   r   )__name__
__module____qualname__r   propertyr    r   r   r   r      sI        .6 .6 .6 .6` , , , X, , ,r   r   N)	typingr   r   streamlit.proto.Empty_pb2r   r   streamlit.delta_generatorr   r   r   r   r   <module>r      s}    ' & & & & & & & 9 9 9 9 9 9 98888884, 4, 4, 4, 4, 4, 4, 4, 4, 4,r   