Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/amqp/__pycache__/basic_message.cpython-39.pyc
Ðазад
a k�h � @ s4 d Z ddlmZ ddlmZ dZG dd� de�ZdS )zAMQP Messages.� )�GenericContent)�Basic)�Messagec sL e Zd ZdZejZg d�Zd� fdd� ZdZe dd � �Z e d d� �Z� ZS ) r a A Message for use with the Channel.basic_* methods. Expected arg types body: string children: (not supported) Keyword properties may include: content_type: shortstr MIME content type content_encoding: shortstr MIME content encoding application_headers: table Message header field table, a dict with string keys, and string | int | Decimal | datetime | dict values. delivery_mode: octet Non-persistent (1) or persistent (2) priority: octet The message priority, 0 to 9 correlation_id: shortstr The application correlation identifier reply_to: shortstr The destination to reply to expiration: shortstr Message expiration specification message_id: shortstr The application message identifier timestamp: unsigned long The message timestamp type: shortstr The message type name user_id: shortstr The creating user id app_id: shortstr The creating application id cluster_id: shortstr Intra-cluster routing identifier Unicode bodies are encoded according to the 'content_encoding' argument. If that's None, it's set to 'UTF-8' automatically. Example:: msg = Message('hello world', content_type='text/plain', application_headers={'foo': 7}) ))�content_type�s)�content_encodingr )�application_headers�F)Z delivery_mode�o)�priorityr )Zcorrelation_idr )Zreply_tor )Z expirationr )Z message_idr )� timestamp�L)�typer )Zuser_idr )Zapp_idr )Z cluster_idr � Nc s( t � jf i |�� d | _|| _|| _d S )N)�super�__init__� delivery_info�body�channel)�selfr �childrenr � properties�� __class__� ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/amqp/basic_message.pyr g s zMessage.__init__)r r r c C s | j �d�S )Nr )r �get�r r r r �headerst s zMessage.headersc C s | j �d�S )N�delivery_tag)r r r r r r r x s zMessage.delivery_tag)r NN) �__name__� __module__�__qualname__�__doc__r ZCLASS_IDZ PROPERTIESr � __slots__�propertyr r � __classcell__r r r r r s > r N)r# Z serializationr �specr �__all__r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка