def METHOD_NAME(self, request, context):
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details("CheckConfig is not implemented by the dynamic provider")
    raise NotImplementedError(
        "CheckConfig is not implemented by the dynamic provider"
    )