Ë
    Ýªg6  ã                   ó8   — d Z ddlmZmZ ddlmZ  G d„ d«      Zy)z¬
This file is used to store the state variables of the proxy server.

Example: `spend_logs_row_count` is used to store the number of rows in the `LiteLLM_SpendLogs` table.
é    )ÚAnyÚLiteral)ÚProxyStateVariablesc                   óF   — e Zd ZdZed   Zd
d„Zdedefd„Zdededdfd	„Z	y)Ú
ProxyStatezJ
    Proxy state class has get/set methods for Proxy state variables.
    Úspend_logs_row_countÚreturnNc                 ó&   — t        d¬«      | _        y )Nr   )r   )r   Úproxy_state_variables)Úselfs    ú[/var/www/openai/venv/lib/python3.12/site-packages/litellm/proxy/common_utils/proxy_state.pyÚ__init__zProxyState.__init__   s   € Ü:MØ!"ô;
ˆÕ"ó    Úvariable_namec                 ó:   — | j                   j                  |d «      S ©N)r   Úget)r   r   s     r   Úget_proxy_state_variablez#ProxyState.get_proxy_state_variable   s   € ð ×)Ñ)×-Ñ-¨m¸TÓBÐBr   Úvaluec                 ó"   — || j                   |<   y r   )r   )r   r   r   s      r   Úset_proxy_state_variablez#ProxyState.set_proxy_state_variable   s   € ð
 5:ˆ×"Ñ" =Ò1r   )r	   N)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úvalid_keys_literalr   r   r   r   © r   r   r   r      sU   „ ñð
 !Ð!7Ñ8Ðó
ð
Cà)ðCð 
óCð:à)ð:ð ð:ð 
ô	:r   r   N)r   Útypingr   r   Úlitellm.proxy._typesr   r   r   r   r   Ú<module>r       s   ðñ÷  å 4÷:ò :r   