| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,6 @@ | |||
| 11 | 11 | Type, | |
| 12 | 12 | TypeVar, | |
| 13 | 13 | Union, | |
| 14 | - cast, | ||
| 15 | 14 | overload, | |
| 16 | 15 | ) | |
| 17 | 16 | from uuid import UUID | |
@@ -27,6 +26,7 @@ | |||
| 27 | 26 | class Select(_Select, Generic[_TSelect]): | |
| 28 | 27 | inherit_cache = True | |
| 29 | 28 | ||
| 29 | + | ||
| 30 | 30 | # This is not comparable to sqlalchemy.sql.selectable.ScalarSelect, that has a different | |
| 31 | 31 | # purpose. This is the same as a normal SQLAlchemy Select class where there's only one | |
| 32 | 32 | # entity, so the result will be converted to a scalar by default. This way writing | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,6 @@ from typing import ( | |||
| 9 | 9 | Type, | |
| 10 | 10 | TypeVar, | |
| 11 | 11 | Union, | |
| 12 | - cast, | ||
| 13 | 12 | overload, | |
| 14 | 13 | ) | |
| 15 | 14 | from uuid import UUID | |
@@ -25,6 +24,7 @@ _TSelect = TypeVar("_TSelect") | |||
| 25 | 24 | class Select(_Select, Generic[_TSelect]): | |
| 26 | 25 | inherit_cache = True | |
| 27 | 26 | ||
| 27 | + | ||
| 28 | 28 | # This is not comparable to sqlalchemy.sql.selectable.ScalarSelect, that has a different | |
| 29 | 29 | # purpose. This is the same as a normal SQLAlchemy Select class where there's only one | |
| 30 | 30 | # entity, so the result will be converted to a scalar by default. This way writing | |
| Back | FazBrowse Home | New Git URL |
0 commit comments