-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: '_SpecialForm' object has no attribute 'avro_schema_to_python' #88
Comments
Thanks @aeldaly-tc. |
Just a contribution, fields with datetime.timestamp type also throws the following exception: AttributeError: 'method_descriptor' object has no attribute 'avro_schema_to_python' |
Hi @leoscalco, Do you mean that is not working for datetimes that are represented as Maybe we can do something about it. |
I realized this after commenting here. I was using long type for timestamps, but I found in your document the right way to work with dates. Now, any sink connector is recognizing my date. Anyway thank you for support. |
Hi, Perfect. I was thinking to add a new type to handle this option but maybe it not worth it at all. the user can make |
closed by #94 |
Given a class such as this:
To Reproduce
calling
schema = BaseSchema.avro_schema()
produces the error
AttributeError: '_SpecialForm' object has no attribute 'avro_schema_to_python'
Expected behavior
It should return the schema
The text was updated successfully, but these errors were encountered: