From f1961400ec34cf3e02e4f12aced131012cad368b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 21 Aug 2026 14:57:24 -0400 Subject: [PATCH] Correct type of maxnodes in some scenarios --- confluent_client/confluent/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_client/confluent/client.py b/confluent_client/confluent/client.py index 01da116d..f914e6b0 100644 --- a/confluent_client/confluent/client.py +++ b/confluent_client/confluent/client.py @@ -280,6 +280,7 @@ class Command(object): def stop_if_noderange_over(self, noderange, maxnodes): if maxnodes is None: return + maxnodes = int(maxnodes) nsize = self.get_noderange_size(noderange) if nsize > maxnodes: if nsize == 1: