Common Use CasesΒΆ

  • Map a JSON Key to a Field
    • Map a Field Back to a JSON Key
  • Dataclasses in Union types
    • Auto-Assign Tags
    • Manually Assigning Tags
  • Extending from Meta
    • Any Meta settings only affect a class model
    • Global Meta settings
  • Patterned Date and Time
    • Containers of Date and Time
  • Serialization Options
    • Skip Defaults
    • Exclude Fields
  • Skip the Class Inheritance
  • Skip the __str__()
  • Wizard Mixin Classes
    • JSONListWizard
    • JSONFileWizard
    • YAMLWizard

Dataclass Wizard

A set of simple, yet elegant wizarding tools for interacting with the Python dataclasses module.

Useful Links

  • Overview
  • Examples
  • Py Compatibility
  • Common Use Cases
  • Advanced Usage
  • Release History
  • Contributors Guide
  • CLI Tool
  • Using Field Properties
  • Dataclass Wizard @ GitHub
  • Dataclass Wizard @ PyPI
  • Issue Tracker

Related Topics

  • Documentation overview
    • Previous: Py Compatibility
    • Next: Map a JSON Key to a Field

API Reference

  • Index
  • Module Index

This Page

  • Show Source

Quick search

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