def METHOD_NAME(self, future, args):
    # pylint: disable=broad-except
    try:
        self.handle_submit(args, future.get_id())
    except Exception as exc:
        print(f"Submission failed: {exc}", file=sys.stderr)