You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -362,7 +362,7 @@ Here's how the output would look like:
362
362
```console
363
363
$ python app.py
364
364
365
-
// Output above ommitted 👆
365
+
// Output above omitted 👆
366
366
367
367
// The first refresh
368
368
INFO Engine SELECT hero.id, hero.name, hero.secret_name, hero.age
@@ -427,7 +427,7 @@ And the output shows again the same data:
427
427
```console
428
428
$ python app.py
429
429
430
-
// Output above ommitted 👆
430
+
// Output above omitted 👆
431
431
432
432
// By finishing the with block, the Session is closed, including a rollback of any pending transaction that could have been there and was not committed
Copy file name to clipboardExpand all lines: docs/tutorial/code-structure.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ Let's assume that now the file structure is:
168
168
169
169
### Circular Imports and Type Annotations
170
170
171
-
The problem with circular imports is that Python can't resolve them at <abbrtitle="While it is executing the program, as oposed to the code as just text in a file stored on disk.">*runtime*</abbr>.
171
+
The problem with circular imports is that Python can't resolve them at <abbrtitle="While it is executing the program, as opposed to the code as just text in a file stored on disk.">*runtime*</abbr>.
172
172
173
173
But when using Python **type annotations** it's very common to need to declare the type of some variables with classes imported from other files.
Copy file name to clipboardExpand all lines: docs/tutorial/connect/create-connected-tables.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ This is the same model we have been using up to now, we are just adding the new
106
106
107
107
Most of that should look familiar:
108
108
109
-
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.
109
+
The column will be named `team_id`. It will be an integer, and it could be `NULL` in the database (or `None` in Python), because there could be some heroes that don't belong to any team.
110
110
111
111
We add a default of `None` to the `Field()` so we don't have to explicitly pass `team_id=None` when creating a hero.
Copy file name to clipboardExpand all lines: docs/tutorial/create-db-and-table-with-db-browser.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,6 @@ Of course, you can also go and take a full SQL course or read a book about SQL,
164
164
165
165
We saw how to interact with SQLite databases in files using **DB Browser for SQLite** in a visual user interface.
166
166
167
-
We also saw how to use it to write some SQL directly to the SQLite database. This will be useful to verify the data in the database is looking correclty, to debug, etc.
167
+
We also saw how to use it to write some SQL directly to the SQLite database. This will be useful to verify the data in the database is looking correctly, to debug, etc.
168
168
169
169
In the next chapters we will start using **SQLModel** to interact with the database, and we will continue to use **DB Browser for SQLite** at the same time to look at the database underneath. 🔍
Copy file name to clipboardExpand all lines: docs/tutorial/fastapi/tests.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ But now, we need to deal with a bit of logistics and details we are not paying a
82
82
83
83
This test looks fine, but there's a problem.
84
84
85
-
If we run it, it will use the same **production database** that we are using to store our very important **heroes**, and we will end up adding unnecesary data to it, or even worse, in future tests we could end up removing production data.
85
+
If we run it, it will use the same **production database** that we are using to store our very important **heroes**, and we will end up adding unnecessary data to it, or even worse, in future tests we could end up removing production data.
86
86
87
87
So, we should use an independent **testing database**, just for the tests.
0 commit comments