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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/a/Dandelion-Message-Service-HEAD/dandelionpy/dandelion/network.py   Dandelion-Message-Service(Download)
                """Request and read messages"""
                self._write(dandelion.protocol.create_message_list_request(req_msgids).encode())
                msgs = dandelion.protocol.parse_message_list(self._read().decode())
 
                """Store the new messages"""

src/d/a/Dandelion-Message-Service-HEAD/dandelionpy/dandelion/test/protocol_test.py   Dandelion-Message-Service(Download)
 
        msg = dandelion.protocol.create_message_list([m1, m2, m3, m4])
        mout = dandelion.protocol.parse_message_list(msg)
        self.assertEqual(len(mout), 4)
        self.assertTrue(m1 in mout)