Fixing Cython type
I thought I was being smart about typing for record_type, but PY2/PY3 differences of strings... :(
MODIFY
fastavro/_write.pyx
fastavro/_write.pyx
@@ -541,7 +541,7 @@ VALIDATORS = {
cpdef validate(object datum, object schema, str field=None, bint raise_errors=False):
"""Determine if a python datum is an instance of a schema."""
- cdef str record_type = extract_record_type(schema)
+ record_type = extract_record_type(schema)
result = None
if hasattr(schema, 'get'):

Fixing Cython type

I thought I was being smart about typing for record_type, but PY2/PY3 differences of strings... :(