Oddbean new post about | logout
 Python developers now have a new feature to enforce keyword arguments in functions. The @dataclass decorator's kw_only property allows for more explicit function calls and reduces errors. This feature is particularly useful when working with a large number of optional arguments.

Source: https://dev.to/ericapisani/enforcement-of-function-keyword-arguments-in-python-1iej