Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / amqp / basic_message.pyc
Size: Mime:
ó
õEYc@@s_dZddlmZmZddlmZddlmZdgZdefd„ƒYZ	d	S(
uAMQP Messages.i(tabsolute_importtunicode_literalsi(tBasic(tGenericContentuMessagetMessagecB@s}eZdZejZdddddddddd d!d"d#d$gZd%Zdd%d%d„Ze	d„ƒZ
e	d„ƒZRS(&u"A Message for use with the Channnel.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: datetime.datetime
            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})
    ucontent_typeusucontent_encodinguapplication_headersuFu
delivery_modeuoupriorityucorrelation_idureply_tou
expirationu
message_idu	timestampuLutypeuuser_iduapp_idu
cluster_iducK@s,tt|ƒj|||_||_dS(N(tsuperRt__init__tbodytchannel(tselfRtchildrenRt
properties((sG/home/tvault/.virtenv/lib/python2.7/site-packages/amqp/basic_message.pyRzs	cC@s|jjdƒS(Nuapplication_headers(Rtget(R	((sG/home/tvault/.virtenv/lib/python2.7/site-packages/amqp/basic_message.pytheadersscC@s|jjdƒS(Nudelivery_tag(t
delivery_infoR(R	((sG/home/tvault/.virtenv/lib/python2.7/site-packages/amqp/basic_message.pytdelivery_tagƒs(ucontent_typeus(ucontent_encodingus(uapplication_headersuF(u
delivery_modeuo(upriorityuo(ucorrelation_idus(ureply_tous(u
expirationus(u
message_idus(u	timestampuL(utypeus(uuser_idus(uapp_idus(u
cluster_idusN(t__name__t
__module__t__doc__RtCLASS_IDt
PROPERTIEStNoneRRtpropertyR
R(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/amqp/basic_message.pyR"s(=		N(
Rt
__future__RRtspecRt
serializationRt__all__R(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/amqp/basic_message.pyt<module>s