]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
✏️ Fix broken link to `@dataclass_transform` (now PEP 681) in `docs/features.md`...
authorSoof Golan <83900570+soof-golan@users.noreply.github.com>
Mon, 3 Jun 2024 23:56:30 +0000 (02:56 +0300)
committerGitHub <noreply@github.com>
Mon, 3 Jun 2024 23:56:30 +0000 (23:56 +0000)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: Patrick Arminio <patrick.arminio@gmail.com>
docs/features.md

index f84606b9b5ed080597608d3c016c0be902a7b20f..f0d56925c760daf31cb3a5ec2c07e2ad9ab0c503 100644 (file)
@@ -36,20 +36,10 @@ You will get completion for everything while writing the **minimum** amount of c
 
 You won't need to keep guessing the types of different attributes in your models, if they could be `None`, etc. Your editor will be able to help you with everything because **SQLModel** is based on **standard Python type annotations**.
 
-**SQLModel** even adopts currently <a href="https://github.com/microsoft/pyright/blob/main/specs/dataclass_transforms.md" class="external-link" target="_blank">in development standards</a> for Python type annotations to ensure the **best developer experience**, so you will get inline errors and autocompletion even while creating new model instances.
+**SQLModel** adopts <a href="https://peps.python.org/pep-0681/" class="external-link" target="_blank">PEP 681</a> for Python type annotations to ensure the **best developer experience**, so you will get inline errors and autocompletion even while creating new model instances.
 
 <img class="shadow" src="/img/index/autocompletion01.png">
 
-/// info
-
-Don't worry, adopting this in-development standard only affects/improves editor support.
-
-It doesn't affect performance or correctness. And if the in-progress standard was deprecated your code won't be affected.
-
-Meanwhile, you will get inline errors (like type checks) and autocompletion on places you wouldn't get with any other library. 🎉
-
-///
-
 ## Short
 
 **SQLModel** has **sensible defaults** for everything, with **optional configurations** everywhere.