Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(4)  |  Derive(3)  |  Import(0)
Class to encompass message properties (AMQP Basic.Properties)

src/c/a/captain-HEAD/vendor/lib/python/pika/spec.py   captain(Download)
class BasicProperties(amqp_object.Properties):
 
    CLASS = Basic
    INDEX = 0x003C  # 60
    NAME = 'BasicProperties'

src/p/i/pika-HEAD/pika/spec.py   pika(Download)
class BasicProperties(amqp_object.Properties):
 
    CLASS = Basic
    INDEX = 0x003C  # 60
    NAME = 'BasicProperties'

src/p/i/pika-0.9.13/pika/spec.py   pika(Download)
class BasicProperties(amqp_object.Properties):
 
    CLASS = Basic
    INDEX = 0x003C  # 60
    NAME = 'BasicProperties'

src/p/i/pika-HEAD/tests/amqp_object_tests.py   pika(Download)
    def test_set_content_body(self):
        properties = amqp_object.Properties()
        body = 'This is a test'
        obj = amqp_object.Method()
        obj._set_content(properties, body)
        self.assertEqual(obj._body, body)
 
    def test_set_content_properties(self):
        properties = amqp_object.Properties()
    def test_get_body(self):
        properties = amqp_object.Properties()
        body = 'This is a test'
        obj = amqp_object.Method()
        obj._set_content(properties, body)
        self.assertEqual(obj.get_body(), body)
 
    def test_get_properties(self):
        properties = amqp_object.Properties()