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

monkey_patch the dataclass module #12

Open
PythonFZ opened this issue Oct 17, 2024 · 0 comments
Open

monkey_patch the dataclass module #12

PythonFZ opened this issue Oct 17, 2024 · 0 comments

Comments

@PythonFZ
Copy link
Member

PythonFZ commented Oct 17, 2024

As znfields expands dataclasses.fields we can monkey_patch it together with dataclasses.dataclass to avoid the base class.

For the base class, provide znfields.dataclass as well.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant