
    &e                     J    d dl mZmZmZ d dlmZmZ defdZdefdZ	g dZ
dS )    )RuntimeRuntimeConfigRuntimeState)SessionClientSessionClientDisconnectedErrorreturnc                  (    t          j                    S )zfReturn the singleton Runtime instance. Raise an Error if the
    Runtime hasn't been created yet.
    )r   instance     :lib/python3.11/site-packages/streamlit/runtime/__init__.pyget_instancer      s     r   c                  (    t          j                    S )a  True if the singleton Runtime instance has been created.

    When a Streamlit app is running in "raw mode" - that is, when the
    app is run via `python app.py` instead of `streamlit run app.py` -
    the Runtime will not exist, and various Streamlit functions need
    to adapt.
    )r   existsr   r   r   r   r      s     >r   )r   r   r   r   r   r   r   N)streamlit.runtime.runtimer   r   r   !streamlit.runtime.session_managerr   r   r   boolr   __all__r   r   r   <module>r      s    K J J J J J J J J J       g          r   