Skip to content

Commit bd555b1

Browse files
committed
Update basestring for python3
1 parent 5011edd commit bd555b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

confluent_kafka/avro/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_schema(datum):
5252
return datum.schema
5353
elif (datum is None):
5454
return PrimitiveSchema("null")
55-
elif isinstance(datum, basestring):
55+
elif isinstance(datum, string_type):
5656
return PrimitiveSchema('string')
5757
elif isinstance(datum, bool):
5858
return PrimitiveSchema('boolean')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy