-Re: Anyone working on AVRO-283 or AVRO-300?
Philip Zeyliger 2012-02-04, 02:15
Sounds great! It'd be an incompatible API (but that's ok, we can
transition), but I like the way Python 2.6's namedtuple works. You call
namedtuple(schema), and it produces a class object that you can use.
klass = avro.make_record(schema_string, "recordname")
could be quite handy.
I'm not aware of anyone working on such a thing.
On Friday, February 3, 2012, Marcio O Silva wrote:
> I was wondering if anyone was working on adding doc field support, or
> creating an object for records in python.
> If not, I was going to take a stab at adding schema support for doc fields
> (and additional non-reserved json fields).
> Once that was done, I was thinking of implementing a specific record class
> that provided property access in addition to the dict view.
> - Marcio Silva