
    `f                         d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl	m
Z
 dZd	Z eej                            d
d                    Z G d de
          ZdS )z@The default loader used when no custom app has been initialized.    N)NotConfiguredDictAttribute)	strtobool   )
BaseLoader)LoaderDEFAULT_CONFIG_MODULEceleryconfig	C_WNOCONFFc                        e Zd ZdZd ZddZdS )r	   z#The loader used by the default app.c                      t          |          S )Nr   )selfsettingsdicts     H/var/www/html/env/lib/python3.11/site-packages/celery/loaders/default.pysetup_settingszLoader.setup_settings   s    \***    Tc                    t           j                            dt                    }	 |                     |          }d| _        |                     |          S # t          $ rv |s t          rTt           j                            d          s5t          j
        t          d                    |                               |                     i           cY S w xY w)z0Read configuration from :file:`celeryconfig.py`.CELERY_CONFIG_MODULETFORKED_BY_MULTIPROCESSINGzPNo {module} module found! Please make sure it exists and is available to Python.)module)osenvirongetr
   _import_config_module
configuredr   ImportErrorr   warningswarnr   format)r   fail_silently
confignameusercfgs       r   read_configurationzLoader.read_configuration   s    Z^^$:$9; ;
	000<<G #DO&&w///  	+ 	+ 	+   J0K!L!L Jm..4fJf.G.GI I J J J &&r*****	+s   A A=CCN)T)__name__
__module____qualname____doc__r   r$    r   r   r	   r	      s=        --+ + +0 0 0 0 0 0r   r	   )r(   r   r   celery.exceptionsr   celery.utils.collectionsr   celery.utils.serializationr   baser   __all__r
   r   r   r   r	   r)   r   r   <module>r/      s    F F 				  + + + + + + 2 2 2 2 2 2 0 0 0 0 0 0      
-&  Ibjnn[%8899	0 0 0 0 0Z 0 0 0 0 0r   