Skip to content

Commit 67d4fb4

Browse files
author
Matt Howlett
authored
Merge pull request confluentinc#1006 from casperlehmann/master
Change schema.Parse to all lower case
2 parents bd4baf5 + 67b0052 commit 67d4fb4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/confluent_kafka/avro/load.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
def loads(schema_str):
2424
""" Parse a schema given a schema string """
2525
try:
26-
if sys.version_info[0] < 3:
27-
return schema.parse(schema_str)
28-
else:
29-
return schema.Parse(schema_str)
26+
return schema.parse(schema_str)
3027
except schema.SchemaParseException as e:
3128
raise ClientError("Schema parse failed: %s" % (str(e)))
3229

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