Skip to content

1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Jul 21:38
· 1 commit to main since this release

Added

  • Allow default values in class definitions.
  • Union and Optional types are now supported, allowing for more flexible type definitions.

Changed

  • dict_to_object function no longer requires target class to have a parameterless (or with default values) constructor.
  • An error with a meaningful message is now raised if an attribute is missing from source dictionary and has no default value.