Numpy ndarray compatibility
Open
Nobody has claimed this yet.
acknowledged
enhancement
Great To Have!
help wanted
- Dominant language
- Python
- Stars
- 250
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
- Dataclass Wizard version: 0.22.1
- Python version: Python 3.10.4
- Operating System: Pop!_OS 22.04 LTS
Description
Creating a dataclass that has a numpy array field is not supported. Could this be added? Or maybe a generic way to include something into the data class to act as a hanlder for saving/loading.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported failure with a dataclass containing a numpy ndarray field under Python 3.10.4. Define whether the goal is direct ndarray serialization and deserialization or a generic handler mechanism, then add coverage showing the chosen behavior works end to end.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100