@@ -226,14 +226,14 @@ async def execute() -> Result[Any]
226226# ### scalars
227227
228228```python
229- async def scalars () -> ScalarResult[_T ]
229+ async def scalars () -> ScalarResult[T ]
230230```
231231
232232> Returns a `sqlalchemy.engine.ScalarResult` instance containing all rows.
233233
234234> ** Returns**
235235
236- > - `sqlalchemy.engine.ScalarResult[_T ]` : Result instance containing
236+ > - `sqlalchemy.engine.ScalarResult[T ]` : Result instance containing
237237> all scalars.
238238
239239> ** Examples**
@@ -256,7 +256,7 @@ async def scalars() -> ScalarResult[_T]
256256# ### first
257257
258258```python
259- async def first (scalar : bool = True ) -> _T | Row[tuple[Any, ... ]] | None
259+ async def first (scalar : bool = True ) -> T | Row[tuple[Any, ... ]] | None
260260```
261261
262262> Fetches the first row or `None ` if no results are found.
@@ -265,12 +265,12 @@ async def first(scalar: bool = True) -> _T | Row[tuple[Any, ...]] | None
265265
266266> ** Parameters**
267267
268- > - `scalar` : If `True ` , returns a scalar value (`_T ` ),
268+ > - `scalar` : If `True ` , returns a scalar value (`T ` ),
269269> otherwise returns a row (default: `True ` ).
270270
271271> ** Returns**
272272
273- > - `_T ` : Instance for method chaining (scalar).
273+ > - `T ` : Instance for method chaining (scalar).
274274> - `sqlalchemy.engine.Row[tuple[Any, ... ]]` : Row.
275275> - `None ` : If no result is found.
276276
@@ -302,7 +302,7 @@ async def first(scalar: bool = True) -> _T | Row[tuple[Any, ...]] | None
302302# ### one
303303
304304```python
305- async def one(scalar: bool = True ) -> _T | Row[tuple[Any, ... ]]
305+ async def one(scalar: bool = True ) -> T | Row[tuple[Any, ... ]]
306306```
307307
308308> Fetches one row or raises a `sqlalchemy.exc.NoResultFound` exception
@@ -315,12 +315,12 @@ async def one(scalar: bool = True) -> _T | Row[tuple[Any, ...]]
315315
316316> ** Parameters**
317317
318- > - `scalar` : If `True ` , returns a scalar value (`_T ` ),
318+ > - `scalar` : If `True ` , returns a scalar value (`T ` ),
319319> otherwise returns a row (default: `True ` ).
320320
321321> ** Returns**
322322
323- > - `_T ` : Instance for method chaining (scalar).
323+ > - `T ` : Instance for method chaining (scalar).
324324> - `sqlalchemy.engine.Row[tuple[Any, ... ]]` : Row.
325325
326326> ** Raises**
@@ -368,7 +368,7 @@ async def one(scalar: bool = True) -> _T | Row[tuple[Any, ...]]
368368# ### one_or_none
369369
370370```python
371- async def one_or_none(scalar: bool = True ) -> _T | Row[tuple[Any, ... ]] | None
371+ async def one_or_none(scalar: bool = True ) -> T | Row[tuple[Any, ... ]] | None
372372```
373373
374374> Fetches one row or `None ` if no results are found.
@@ -380,12 +380,12 @@ async def one_or_none(scalar: bool = True) -> _T | Row[tuple[Any, ...]] | None
380380
381381> ** Parameters**
382382
383- > - `scalar` : If `True ` , returns a scalar value (`_T ` ),
383+ > - `scalar` : If `True ` , returns a scalar value (`T ` ),
384384> otherwise returns a row (default: `True ` ).
385385
386386> ** Returns**
387387
388- > - `_T ` : Instance for method chaining (scalar).
388+ > - `T ` : Instance for method chaining (scalar).
389389> - `sqlalchemy.engine.Row[tuple[Any, ... ]]` : Row.
390390> - `None ` : If no result is found.
391391
@@ -434,7 +434,7 @@ async def one_or_none(scalar: bool = True) -> _T | Row[tuple[Any, ...]] | None
434434# ### all
435435
436436```python
437- async def all (scalars: bool = True ) -> Sequence[_T ] | Sequence[Row[tuple[Any, ... ]]]
437+ async def all (scalars: bool = True ) -> Sequence[T ] | Sequence[Row[tuple[Any, ... ]]]
438438```
439439
440440> Fetches all rows.
@@ -443,12 +443,12 @@ async def all(scalars: bool = True) -> Sequence[_T] | Sequence[Row[tuple[Any, ..
443443
444444> ** Parameters**
445445
446- > - `scalars` : If `True ` , returns scalar values (`Sequence[_T ]` ),
446+ > - `scalars` : If `True ` , returns scalar values (`Sequence[T ]` ),
447447> otherwise returns rows (default: `True ` ).
448448
449449> ** Returns**
450450
451- > - `Sequence[_T ]` : Instances (scalars).
451+ > - `Sequence[T ]` : Instances (scalars).
452452> - `Sequence[sqlalchemy.engine.Row[tuple[Any, ... ]]]` : Rows.
453453
454454> ** Examples**
@@ -501,7 +501,7 @@ async def count() -> int
501501# ### unique
502502
503503```python
504- async def unique(scalars: bool = True ) -> ScalarResult[_T ] | Result[tuple[Any, ... ]]
504+ async def unique(scalars: bool = True ) -> ScalarResult[T ] | Result[tuple[Any, ... ]]
505505```
506506
507507> Similar to [`scalars()` ](# scalars) but applies unique filtering to
@@ -525,7 +525,7 @@ async def unique(scalars: bool = True) -> ScalarResult[_T] | Result[tuple[Any, .
525525
526526> ** Returns**
527527
528- > - `sqlalchemy.engine.ScalarResult[_T ]` : Result instance containing
528+ > - `sqlalchemy.engine.ScalarResult[T ]` : Result instance containing
529529> all scalars.
530530> - `sqlalchemy.engine.Result[tuple[Any, ... ]]` : Result instance containing
531531> all rows.
@@ -546,7 +546,7 @@ async def unique(scalars: bool = True) -> ScalarResult[_T] | Result[tuple[Any, .
546546# ### unique_first
547547
548548```python
549- async def unique_first(scalar: bool = True ) -> _T | Row[tuple[Any, ... ]] | None
549+ async def unique_first(scalar: bool = True ) -> T | Row[tuple[Any, ... ]] | None
550550```
551551
552552> Similar to [`first()` ](# first) but applies unique filtering to
@@ -565,7 +565,7 @@ async def unique_first(scalar: bool = True) -> _T | Row[tuple[Any, ...]] | None
565565# ### unique_one
566566
567567```python
568- async def unique_one(scalar: bool ) -> _T | Row[tuple[Any, ... ]]
568+ async def unique_one(scalar: bool ) -> T | Row[tuple[Any, ... ]]
569569```
570570
571571> Similar to [`one()` ](# one) but applies unique filtering to
@@ -584,7 +584,7 @@ async def unique_one(scalar: bool) -> _T | Row[tuple[Any, ...]]
584584# ### unique_one_or_none
585585
586586```python
587- async def unique_one_or_none(scalar: bool ) -> _T | Row[tuple[Any, ... ]] | None
587+ async def unique_one_or_none(scalar: bool ) -> T | Row[tuple[Any, ... ]] | None
588588```
589589
590590> Similar to [`one_or_none()` ](# one_or_none) but applies unique filtering to
@@ -604,7 +604,7 @@ async def unique_one_or_none(scalar: bool) -> _T | Row[tuple[Any, ...]] | None
604604# ### unique_all
605605
606606```python
607- async def unique_all(scalars: bool ) -> Sequence[_T ] | Sequence[Row[tuple[Any, ... ]]]
607+ async def unique_all(scalars: bool ) -> Sequence[T ] | Sequence[Row[tuple[Any, ... ]]]
608608```
609609
610610> Similar to [`all ()` ](# all) but applies unique filtering to
@@ -1116,7 +1116,7 @@ def top(top: int) -> Self
11161116
11171117```python
11181118def join(
1119- * paths: EagerLoadPath, model: type[_T ] | None = None
1119+ * paths: EagerLoadPath, model: type[T ] | None = None
11201120) -> Self
11211121```
11221122
@@ -1170,7 +1170,7 @@ def join(
11701170
11711171```python
11721172def with_subquery(
1173- * paths: EagerLoadPath, model: type[_T ] | None = None
1173+ * paths: EagerLoadPath, model: type[T ] | None = None
11741174) -> Self
11751175```
11761176
0 commit comments