dbt-labs / hologram

A library for automatically generating Draft 7 JSON Schemas from Python dataclasses
MIT License
9 stars 13 forks source link

Use default_factory in tests #50

Closed bollwyvl closed 1 year ago

bollwyvl commented 1 year ago

Hi! Thanks for hologram!

This updates to use the modern dataclasses API, which doesn't allow mutable default arguments.

See https://github.com/conda-forge/hologram-feedstock/pull/4