When attempting to read a datetime.time field with DataclassReader, I get the following error:
name 'datetime' is not defined. Did you forget to import 'datetime'?
which is raised here:
|
self.type_hints = typing.get_type_hints(cls) |
I think dataclass-csv should support parsing datetime.time fields out of the box.
When attempting to read a datetime.time field with
DataclassReader, I get the following error:which is raised here:
dataclass-csv/dataclass_csv/dataclass_reader.py
Line 80 in 2dc71be
I think dataclass-csv should support parsing datetime.time fields out of the box.