from send import SendApprovalServicer
from receive import ReceiveApprovalServicer
from services.proto import approver_pb2_grpc

class ApproverServicer(approver_pb2_grpc.ApproverServicer):
    def __init__(self, logger, db_stub, activ_util, users_util):
        self._logger = logger

        send = SendApprovalServicer(logger, activ_util, users_util)
        self.SendApproval = send.SendApproval
        receive = ReceiveApprovalServicer(logger, db_stub, users_util)
        self.ReceiveApproval = receive.ReceiveApproval

from send import SendApprovalServicer
from receive import ReceiveApprovalServicer
from services.proto import approver_pb2_grpc

class ApproverServicer(approver_pb2_grpc.ApproverServicer):
    def __init__(self, logger, db_stub, activ_util, users_util):
        self._logger = logger

        send = SendApprovalServicer(logger, activ_util, users_util)
        self.SendApproval = send.SendApproval
        receive = ReceiveApprovalServicer(logger, db_stub, users_util)
        self.ReceiveApproval = receive.ReceiveApproval
