seandstewart / typical

Typical: Fast, simple, & correct data-validation using Python 3 typing.
https://python-typical.org
MIT License
183 stars 9 forks source link

typic.field not compatible with old version, parameter `default` should be postional #168

Closed xbanke closed 3 years ago

xbanke commented 3 years ago

Description

As the title said, the first parameter of typic.field should support positional argument. All parameters are positional in the old version.

By the way, why not keep the version info with typic.__version__.