smarie / python-pyfields

Define fields in python classes. Easily.
https://smarie.github.io/python-pyfields
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

`@autofields` should by default have `check_types=False` #58

Closed smarie closed 4 years ago

smarie commented 4 years ago

Our default philosophy in pyfields is to be as pythonic as possible, for maximum performance and minimum constraints : for example the default field() generates a native python field.

Therefore the default behaviour in @autofields should rather be check_types=False to stick to this philosophy.