Skip to content

Commit

Permalink
✏️ Fix broken link to @dataclass_transform (now PEP-681)
Browse files Browse the repository at this point in the history
  • Loading branch information
soof-golan authored Dec 17, 2023
1 parent fe497ad commit a6431dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ 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** even adopts <a href="https://peps.python.org/pep-0681/" class="external-link" target="_blank">`@dataclass_transform`</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">

Expand Down

0 comments on commit a6431dd

Please sign in to comment.