from .handlers import handler_dispatch


class Flow(flow_pb2_grpc.FlowDaemon):

    def ApplyWorkflow(self, request, context):
        return handler_dispatch('apply', request, context)

    def DeleteWorkflow(self, request, context):
        return handler_dispatch('delete', request, context)