INNER CODE UNIT · Python

fut

autokitteh/autokitteh · runtimes/pythonrt/runner/main.py:343

        fut = self.executor.submit(fn, *args, **kw)
        fut.add_done_callback(cb)

        return fut

    def stop_if_start_not_called(self, timeout):
        log.error("Start not called after %s seconds, terminating", timeout)
        if self.server:
            force_close(self.server)

    def Exports(self, request: pb.runner.ExportsRequest, context: grpc.ServicerContext):
        if request.file_name == "":
            context.abort(
                grpc.StatusCode.INVALID_ARGUMENT,
                "missing file name",
            )

        try:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…