Anton Agestam created AVRO-3762:
-----------------------------------
Summary: Logical types aren't consistently handled in Python
Key: AVRO-3762
URL: https://issues.apache.org/jira/browse/AVRO-3762
Project: Apache Avro
Issue Type: Wish
Components: python
Affects Versions: 1.11.1
Reporter: Anton Agestam
With logical datetime fields, the library accepts and instantiates `datetime`.
But with UUID fields, users need to manually convert to and from `uuid.UUID`,
even though the underlying implementation uses `uuid.UUID` for validation.
For consistency, I think all logical types that have a clear mapping to a type
in the standard library should work with instances of it, instead of just doing
validation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)