"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import abc
import grpc
import jobs.dag_pb2
import jobs.job_pb2
import timeless.timeless_pb2

class TimelessStub:
    def __init__(self, channel: grpc.Channel) -> None: ...
    GetRandomDag: grpc.UnaryUnaryMultiCallable[
        timeless.timeless_pb2.RandomDAGRequest,
        jobs.dag_pb2.DAG,
    ]
    """method to get any RandomDag"""
    FillJobsFlow: grpc.UnaryUnaryMultiCallable[
        jobs.job_pb2.Job,
        jobs.job_pb2.Job,
    ]
    """method to populate a Job with DAG"""

class TimelessServicer(metaclass=abc.ABCMeta):
    @abc.abstractmethod
    def GetRandomDag(
        self,
        request: timeless.timeless_pb2.RandomDAGRequest,
        context: grpc.ServicerContext,
    ) -> jobs.dag_pb2.DAG:
        """method to get any RandomDag"""
    @abc.abstractmethod
    def FillJobsFlow(
        self,
        request: jobs.job_pb2.Job,
        context: grpc.ServicerContext,
    ) -> jobs.job_pb2.Job:
        """method to populate a Job with DAG"""

def add_TimelessServicer_to_server(servicer: TimelessServicer, server: grpc.Server) -> None: ...
