|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /usr/local/lib/python3.9/site-packages/celery/worker/consumer/__pycache__/ |
a
��Sh
� @ s6 d Z ddlmZ ddlmZ dZG dd� dej�ZdS ) z"Celery + :pypi:`cell` integration.� )� bootsteps� )�
Connection)�Agentc s2 e Zd ZdZdZefZ� fdd�Zdd� Z� Z S )r z!Agent starts :pypi:`cell` actors.Tc s* |j jj | _| _t� j|fi |�� d S �N)Zapp�confZworker_agent� agent_cls�enabled�super�__init__)�self�c�kwargs�� __class__� �F/usr/local/lib/python3.9/site-packages/celery/worker/consumer/agent.pyr s zAgent.__init__c C s | � | j|j� }|_|S r )Zinstantiater �
connection�agent)r r
r r r r �create s zAgent.create)
�__name__�
__module__�__qualname__�__doc__Zconditionalr �requiresr r �
__classcell__r r r r r s
r N)r Zceleryr r r �__all__Z
StartStopStepr r r r r �<module> s