Skip to content

Conversation

danjjackson
Copy link

Closes #56

Makes DataclassReader a generic class, which returns objects of that type

Make DataclassReader a Generic class whose type is defined by the type of dataclass supplied to the init function
kraktus added a commit to kraktus/dataclass-csv2 that referenced this pull request Jan 25, 2025
@kraktus
Copy link

kraktus commented Jan 26, 2025

I released an updated version (with up-to-date tooling) of the lib which includes this fix a dataclass-csv2 on pypi, (repo). Hopefully if/when the maintainer become active again I could merge back to upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type checker doesn't recognize the type of the dataclasses returned by DataclassReader
2 participants