Recent Releases of undictify

undictify - 0.11.3

  • Added support for optional enums

- Python
Published by Dobiasd almost 4 years ago

undictify - 0.11.2

  • Added support for Sequence as target type when getting a List as input.

- Python
Published by Dobiasd almost 5 years ago

undictify - 0.11.1

  • Improved mypy experience

- Python
Published by Dobiasd almost 5 years ago

undictify - 0.11.0

  • PEP 561 compatibility
  • Drop support for Python 3.6

- Python
Published by Dobiasd almost 5 years ago

undictify - 0.10.0

  • Improved tests
  • Drop official support for Python 3.6. (It might still work, but is no longer guaranteed for future releases.)

- Python
Published by Dobiasd over 5 years ago

undictify - 0.9.0

  • Add support for enums

- Python
Published by Dobiasd almost 6 years ago

undictify - 0.8.1

  • Adjustments for new versions of pylint and mypy

- Python
Published by Dobiasd almost 6 years ago

undictify - 0.8.0

For custom converters, we can now choose if they should be mandatory or optional. Up to now, they were only optional.

This is an API-breaking change. So if you'd like to update old (<0.8.0) code, you need to change this:

python3 @type_checked_constructor(converters={'foo': conv_foo}) @dataclass class Foo: foo: ...

to that: python3 @type_checked_constructor(converters={'foo': optional_converter(conv_foo)}) @dataclass class Foo: foo: ...

because the default (and only) behavior of converters was to be optional.

Now, there is a new option to use optional_converter instead.

- Python
Published by Dobiasd over 6 years ago

undictify - 0.7.1

  • Improvements in the automated tests
  • Fix for linter complaints

- Python
Published by Dobiasd over 6 years ago

undictify - 0.7.0

InitVar support for Python 3.7 and 3.8 (thanks to @pappasam)

- Python
Published by Dobiasd over 6 years ago

undictify - 0.6.5

  • Fixed handling of optional unions

- Python
Published by Dobiasd about 7 years ago

undictify - 0.6.4

  • Support for custom converter functions.

- Python
Published by Dobiasd over 7 years ago

undictify - 0.6.2

  • Allow target values of type Any to accept dicts.

- Python
Published by Dobiasd over 7 years ago

undictify - 0.6.1

  • Disallow conversion when Unions are used as target.
  • Improved exception messages.

- Python
Published by Dobiasd over 7 years ago

undictify - 0.6.0

  • Support for unions made of built-in types
  • Support for dictionaries as parameters in target functions

- Python
Published by Dobiasd over 7 years ago

undictify - 0.5.0

Add support for meaningful conversions from string to bool (with convert==True): - True <- ['1', 'yes', 'true', 'on'] - False <- ['0', 'no', 'false', 'off']

- Python
Published by Dobiasd over 7 years ago

undictify - 0.4.4

minor Pylint fix

- Python
Published by Dobiasd over 7 years ago

undictify - 0.4.3

Add support for omitting function parameters with default value

- Python
Published by Dobiasd over 7 years ago

undictify - 0.4.1

  • Add support for PEP 563 (postponed evaluation of annotations)

- Python
Published by Dobiasd over 7 years ago

undictify - 0.4

  • Add type_checked_constructor to preserve meta-information of classes

- Python
Published by Dobiasd over 7 years ago

undictify - 0.3.3

  • cleaned up internal naming convention

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.3.2

  • Documentation fix

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.3.1

  • Documentation fix

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.3.0

  • Simplify/unify API to only type_checked_call with parameters

breaking changes:

  • @type_checked_call becomes @type_checked_call()
  • @type_checked_call_skip becomes @type_checked_call(skip=True)
  • @type_checked_call_convert becomes @type_checked_call(convert=True)
  • @type_checked_call_skip_convert becomes @type_checked_call(skip=True, convert=True)

  • type_checked_apply(func, args) becomes type_checked_call()(func)(args)

  • type_checked_apply_skip(func, args) becomes type_checked_call(skip=True)(func)(args)

  • type_checked_apply_convert(func, args) becomes type_checked_call(convert=True)(func)(args)

  • type_checked_apply_skip_convert(func, args) becomes type_checked_call(skip=True, convert=True)(func)(args)

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.8

  • Prevent usage of type_checked_apply on already decorated function

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.7

  • Add support for usage of decorators on member functions

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.6

  • Unification of raised exceptions to TypeErrors

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.5

  • fixed of some edge cases, i.e., use wrapper settings of inner type in case of nested calls

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.4

  • automatically untangle calls that were accidentally wrapped multiple times

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.3

  • Add support for nested decorated types

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.2

  • Add support for Optional[CustomClass]

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.1

  • Fix Python 3.7 compatibility

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.2.0

features: - Decorators for more convenient usage - Support for args in addition to kwargs - Support for standard dictionary unpacking syntax

breaking changes: - removed unpack_json and unpack dict in favor of more general syntax described in README.md

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.1.1

  • Improve error messages for incorrect target types in case of Optionals and Lists

- Python
Published by Dobiasd almost 8 years ago

undictify - 0.1.0

Initial release

- Python
Published by Dobiasd almost 8 years ago