Skip to content

Commit 662bd64

Browse files
soof-golantiangolopatrick91
authored
✏️ Fix broken link to @dataclass_transform (now PEP 681) in docs/features.md (#753)
Co-authored-by: Sebastián Ramírez <[email protected]> Co-authored-by: Patrick Arminio <[email protected]>
1 parent dcf4f58 commit 662bd64

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

docs/features.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,10 @@ You will get completion for everything while writing the **minimum** amount of c
3636

3737
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**.
3838

39-
**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.
39+
**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.
4040

4141
<img class="shadow" src="/img/index/autocompletion01.png">
4242

43-
/// info
44-
45-
Don't worry, adopting this in-development standard only affects/improves editor support.
46-
47-
It doesn't affect performance or correctness. And if the in-progress standard was deprecated your code won't be affected.
48-
49-
Meanwhile, you will get inline errors (like type checks) and autocompletion on places you wouldn't get with any other library. 🎉
50-
51-
///
52-
5343
## Short
5444

5545
**SQLModel** has **sensible defaults** for everything, with **optional configurations** everywhere.

0 commit comments

Comments
 (0)