16th August 2021
Computer Science⚑
Programming⚑
(../python_basics.md)⚑
-
New: Abstract base classes.
(https://docs.python.org/3/glossary.html#term-abstract-base-class) in Python, as outlined in (https://www.python.org/dev/peps/pep-3119).
-
New: Enum.
An enumeration is a set of symbolic names (members) bound to unique, constant values. Within an enumeration, the members can be compared by identity, and the enumeration itself can be iterated over.
(../computer_science/programming/python/pydantic.md)⚑
-
New: Pydantic.
(https://pydantic-docs.helpmanual.io/): data validation and settings management using python type annotations.
Enforces type hints at runtime, and provides user friendly errors when data is invalid.
-
New: Validators.
Custom validation and complex relationships between objects can be achieved using the
validator
decorator.