o
    ;i
                     @   s  d dl Z e jdd dk rede jdd dkredd dlmZ zdd	lmZ dd
lmZm	Z	m
Z
mZ ddlmZmZ ddlmZ ddlmZ ddlmZ ddlmZmZ ddlmZ ddlmZ ddlmZ ddlmZm Z  ddl!m"Z" ddl#m$Z$ ddl%m&Z& ddl'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3 ddl4m5Z5 ddl6m7Z7 ddl8m9Z9 ddl:m;Z;m<Z< ddl=m>Z> ddl?m@Z@ ddlAmBZB dd lCmDZD W n- eEy   eF  eFd! eFd"d#Gd$ d"  eFd"d%Gd$ d"  eFd! eF   w g d&ZHd'd( ZIdS ))    N   )   
   z3This version of Modal requires at least Python 3.10)r      z3This version of Modal does not support Python 3.15+)__version__   )billing)current_function_call_idcurrent_input_idinteractis_local)Tunnelforward)App)Client)CloudBucketMount)Cls	parameter)Dict)Error)FilePatternMatcher)FunctionFunctionCall)Image)NetworkFileSystem)enable_output)
asgi_appbatched
concurrententerexitfastapi_endpointmethodweb_endpoint
web_serverwsgi_app)Proxy)Queue)Retries)Sandbox)CronPeriod)SchedulerPlacement)Secret)SandboxSnapshot)VolumezP#################################################################################z3Something with the Modal installation seems broken.N   z7Please email support@modal.com and we will try to help!))r   r   r   r   r*   r   r   r   r   r   r   r   r+   r&   r'   r(   r   r)   r.   r,   r-   r   r/   r   r   r   r   r	   r
   r   r   r    r!   r   r   r   r"   r   r#   r$   r%   c                 C   s    | dkrt dt d|  d)NStubz^Module 'modal' has no attribute 'Stub'. Use `modal.App` instead. This is a simple name change.z!module 'modal' has no attribute '')AttributeError)name r6   B/home/ubuntu/.local/lib/python3.10/site-packages/modal/__init__.py__getattr__f   s
   r8   )Jsysversion_infoRuntimeErrormodal_versionr    r   _runtime.execution_contextr	   r
   r   r   _tunnelr   r   appr   clientr   cloud_bucket_mountr   clsr   r   dictr   	exceptionr   file_pattern_matcherr   	functionsr   r   imager   network_file_systemr   outputr   partial_functionr   r   r   r   r    r!   r"   r#   r$   r%   proxyr&   queuer'   retriesr(   sandboxr)   scheduler*   r+   scheduler_placementr,   secretr-   snapshotr.   volumer/   	Exceptionprintcenter__all__r8   r6   r6   r6   r7   <module>   sT   0
-