All Downloads are FREE. Search and download functionalities are using the official Maven repository.

python.th2_grpc_read_db.read_db_service.py Maven / Gradle / Ivy

There is a newer version: 0.0.10-dev
Show newest version
from . import read_db_pb2_grpc as importStub

class ReadDbService(object):

    def __init__(self, router):
        self.connector = router.get_connection(ReadDbService, importStub.ReadDbStub)

    def Execute(self, request, timeout=None, properties=None):
        return self.connector.create_request('Execute', request, timeout, properties)

    def StartPulling(self, request, timeout=None, properties=None):
        return self.connector.create_request('StartPulling', request, timeout, properties)

    def StopPulling(self, request, timeout=None, properties=None):
        return self.connector.create_request('StopPulling', request, timeout, properties)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy