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

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

src/m/t/mt-serverland-HEAD/serverland/dashboard/api/protobuf_emitter.py   mt-serverland(Download)
from base64 import b64encode
from piston.emitters import Emitter
from serverland.protobuf.TranslationRequestMessage_pb2 import \
     TranslationRequestMessage, TranslationRequestObject, \
     TranslationRequestList
                    item.CopyFrom(ProtobufEmitter.dict_to_wso(listitem))
            elif 'request_id' in value[0]:
                pbuf = TranslationRequestList()
                for listitem in value:
                    item = pbuf.requests.add()