From: Soof Golan <83900570+soof-golan@users.noreply.github.com> Date: Mon, 3 Jun 2024 23:56:30 +0000 (+0300) Subject: ✏️ Fix broken link to `@dataclass_transform` (now PEP 681) in `docs/features.md`... X-Git-Tag: 0.0.19~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=662bd641b821b6724763f8503b03481459b6e1cf;p=thirdparty%2Ffastapi%2Fsqlmodel.git ✏️ Fix broken link to `@dataclass_transform` (now PEP 681) in `docs/features.md` (#753) Co-authored-by: Sebastián Ramírez Co-authored-by: Patrick Arminio --- diff --git a/docs/features.md b/docs/features.md index f84606b9..f0d56925 100644 --- a/docs/features.md +++ b/docs/features.md @@ -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 in development standards 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 PEP 681 for Python type annotations to ensure the **best developer experience**, so you will get inline errors and autocompletion even while creating new model instances. -/// 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.