From: Jorge Alvarado Date: Sat, 27 Aug 2022 21:00:53 +0000 (-0400) Subject: ✏ Fix typo in `docs/tutorial/where.md` (#286) X-Git-Tag: 0.0.7~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5fdc371f6c8e323e5cfd47b0c1860acb1764b74;p=thirdparty%2Ffastapi%2Fsqlmodel.git ✏ Fix typo in `docs/tutorial/where.md` (#286) Co-authored-by: Sebastián Ramírez --- diff --git a/docs/tutorial/where.md b/docs/tutorial/where.md index 45e909cc..d4e4639d 100644 --- a/docs/tutorial/where.md +++ b/docs/tutorial/where.md @@ -865,7 +865,7 @@ It would be an error telling you that This is because as we are using pure and plain Python annotations for the fields, `age` is indeed annotated as `Optional[int]`, which means `int` or `None`. -By using this simple and standard Python type annotations We get the benefit of the extra simplicity and the inline error checks when creating or using instances. ✨ +By using this simple and standard Python type annotations we get the benefit of the extra simplicity and the inline error checks when creating or using instances. ✨ And when we use these special **class attributes** in a `.where()`, during execution of the program, the special class attribute will know that the comparison only applies for the values that are not `NULL` in the database, and it will work correctly.