-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
blockedThis cannot be done yet because of some dependenciesThis cannot be done yet because of some dependenciesrefactoringCode refactoring, clean up and other code maintenance work.Code refactoring, clean up and other code maintenance work.
Description
Currently the minimum required version of Python is 3.7, which lacks some features that would improve the code a bit.
Things to improve when raising the minimum required version of Python to 3.8 or above:
- validataclasses: Assigning tuples without parentheses to fields with type annotations (correct examples and unit tests),
e.g.foo: int = (IntegerValidator(), Default(0))tofoo: int = IntegerValidator(), Default(0) @validataclassdecorator: positional-arguments-only operator:def validataclass(cls=None, /, **kwargs):
Metadata
Metadata
Assignees
Labels
blockedThis cannot be done yet because of some dependenciesThis cannot be done yet because of some dependenciesrefactoringCode refactoring, clean up and other code maintenance work.Code refactoring, clean up and other code maintenance work.