✏ Fix multiple typos and some rewording (#22)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Evan Grim
2021-12-14 10:17:10 -07:00
committed by GitHub
parent 6615b111d9
commit 2013c69c4d
6 changed files with 14 additions and 14 deletions

View File

@@ -107,7 +107,7 @@ Most of that should look familiar:
The column will be named `team_id`. It will be an integer, and it could be `NULL` in the database (or `None` in Python), becase there could be some heroes that don't belong to any team.
As we don't have to explicitly pass `team_id=None` when creating a hero, we add a default of `None` to the `Field()`.
We add a default of `None` to the `Field()` so we don't have to explicitly pass `team_id=None` when creating a hero.
Now, here's the new part: