From 437eb9e5de54ec296382135d8f9a6893a506311e Mon Sep 17 00:00:00 2001 From: Thomas Milas Date: Sat, 2 May 2020 16:48:48 -0700 Subject: [PATCH] requests auth property takes a tuple and not a list. --- confluent_kafka/schema_registry/schema_registry_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_kafka/schema_registry/schema_registry_client.py b/confluent_kafka/schema_registry/schema_registry_client.py index 4b0bbdcf1..7096143a6 100644 --- a/confluent_kafka/schema_registry/schema_registry_client.py +++ b/confluent_kafka/schema_registry/schema_registry_client.py @@ -104,7 +104,7 @@ def __init__(self, conf): " remove basic.auth.user.info from the" " configuration") - userinfo = conf_copy.pop('basic.auth.user.info', '').split(':') + userinfo = tuple(conf_copy.pop('basic.auth.user.info', '').split(':')) if len(userinfo) != 2: raise ValueError("basic.auth.user.info must be in the form"