Advanced UsageΒΆ

  • Serializer Hooks
  • Type Hooks
    • When to use type hooks
    • Quick start: register a type
    • No Inheritance Needed
    • Registering custom load and dump functions
    • V1 code generation hooks (advanced)
    • Declaring hooks via Meta
    • Enum example: load & dump by name
    • Runtime vs v1 codegen hooks
    • Errors and troubleshooting
    • See also

Dataclass Wizard

Bring Python dataclasses to life β€” the wizard way!

Useful Links

  • Overview
  • Installation
  • Examples
  • Py Compatibility
  • Common Use Cases
  • Advanced Usage
  • Release History
  • Contributors Guide
  • Env Magic
  • CLI Tool
  • Using Field Properties
  • πŸ—£ GitHub Discussions
  • 🎯 Issue Tracker
  • Dataclass Wizard @
  • GitHub | PyPI | Anaconda | Stack Overflow

Related Topics

  • Documentation overview
    • Previous: Wizard Mixin Classes
    • Next: Serializer Hooks

API Reference

  • Index
  • Module Index

This Page

  • Show Source

Quick search

©2021-2025, Ritvik Nag. | Page source
Fork me on GitHub