🎨 Run pre-commit on all files and autoformat (#666)

This commit is contained in:
Sebastián Ramírez
2023-10-23 11:46:31 +04:00
committed by GitHub
parent 7f72c60ae4
commit 27a81b2112
84 changed files with 311 additions and 324 deletions

View File

@@ -274,7 +274,7 @@ This `session.exec(statement)` will generate this output:
```
INFO Engine BEGIN (implicit)
INFO Engine SELECT hero.id, hero.name, hero.secret_name, hero.age
INFO Engine SELECT hero.id, hero.name, hero.secret_name, hero.age
FROM hero
INFO Engine [no key 0.00032s] ()
```
@@ -455,7 +455,7 @@ In this chapter we are touching some of them.
### SQLModel's `select`
When importing from `sqlmodel` the `select()` function, you are using **SQLModel**'s version of `select`.
When importing from `sqlmodel` the `select()` function, you are using **SQLModel**'s version of `select`.
SQLAchemy also has it's own `select`, and SQLModel's `select` uses SQLAlchemy's `select` internally.