community-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Reis <andrebrr...@gmail.com>
Subject Avro Tutorial
Date Fri, 15 Jul 2016 16:11:03 GMT
Hello,

I was getting started with Avro (with Python 3.5) and I noticed your
tutorial code doesn't work.

Besides having a problem on the Python module, on the datafile.py file, on
the part where you check if the codec is valid (which I think has already
been fixed on your github, just not released yet), the tutorial code has
some parts who need fixing, like:
avro.schema.parse function does not exist, it is, instead,
avro.schema.Parse,
and on the same line, after the .read() function you must add .decode(),
otherwise you'll be getting bytes instead of a string, and it won't work.

Those are the basic errors that happen both on the reading and on the
writing part.

Would you want to fix this?

I'm not sure if this is the right email or place to ask this, but I can
send you my changes to the code, if you wish. If this isn't, please
redirect me somewhere else.

Thank you,
Andre

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message