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

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

src/p/y/PyRQ-0.4.1/PyRQ/Iface/PyRQIface.py   PyRQ(Download)
from PyRQ.Core.Messages.CREATE import CREATE
from PyRQ.Core.Messages.GET import GET
from PyRQ.Core.Messages.GOT import GOT
from PyRQ.Core.Messages.MAXQSIZE import MAXQSIZE
from PyRQ.Core.Messages.PUT import PUT
                                    if not self._quiet: self._logger.debug("received %(P)s from: %(W)s"%{"P":p, "W":sockDetails})
                                    return p.size
                                elif isinstance(p, GOT):
                                    if not self._quiet: self._logger.debug("received GOT from: %(W)s"%{"W":sockDetails})
                                    return p.data