Skip to content
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

Numpy ndarray compatibility #71

Open
Citingmarc opened this issue Oct 21, 2022 · 1 comment
Open

Numpy ndarray compatibility #71

Citingmarc opened this issue Oct 21, 2022 · 1 comment
Labels
acknowledged enhancement New feature or request Great To Have! Important / Worth Addressing help wanted Extra attention is needed

Comments

@Citingmarc
Copy link

  • 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.

@rnag
Copy link
Owner

rnag commented Nov 24, 2024

Hi @Citingmarc ! Thanks for creating this issue.

Yes, I would be interested in supporting custom types such as numpy.ndarray.

A generic way to do it could also be useful to others, as this kind of issue does come up every now and again. It would be nice to also have it for documentation purposes.

Let me know if you're able to contribute towards this feature. I can provide help/mentorship on it if needed. Else, I will look into this when time allows. Thanks!

@rnag rnag added enhancement New feature or request help wanted Extra attention is needed acknowledged Great To Have! Important / Worth Addressing labels Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledged enhancement New feature or request Great To Have! Important / Worth Addressing help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants