diff --git a/README.md b/README.md index 5fb7dcc..4c253ac 100644 --- a/README.md +++ b/README.md @@ -164,3 +164,8 @@ class address: number = CastedAttr(tuple[int]) ``` + +The values are checked or casted on assignment + +> [!NOTE] +> The attributes will return `None` if not yet initialized diff --git a/docs/whatsnew.rst b/docs/whatsnew.rst index cdc1d95..935341f 100644 --- a/docs/whatsnew.rst +++ b/docs/whatsnew.rst @@ -20,6 +20,7 @@ pyoload v2.0.1 3. Added checks negation by prepending with `_` 4. A list of functions checks could now be passed as positional arguments to `pyoload.Checks` +5. Increases the coverage to 99% -------------------------------------------------- pyoload v2.0.0 diff --git a/src/pyoload/__init__.py b/src/pyoload/__init__.py index 778d987..345d1a2 100644 --- a/src/pyoload/__init__.py +++ b/src/pyoload/__init__.py @@ -13,7 +13,7 @@ :Authors: ken-morel -:Version: 2.0.0 +:Version: 2.0.1 :Dedication: To the pythonista. """