chunk_pb2.Request

Here are the examples of the python api chunk_pb2.Request taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 Source : lib.py
with MIT License
from gooooloo

    def download(self, target_name, out_file_name):
        response = self.stub.download(chunk_pb2.Request(name=target_name))
        save_chunks_to_file(response, out_file_name)


class FileServer(chunk_pb2_grpc.FileServerServicer):