@@ -2254,6 +2254,27 @@ def __get__(
2254
2254
owner : Type ,
2255
2255
) -> ArrayVar [tuple [LIST_INSIDE , ...]]: ...
2256
2256
2257
+ @overload
2258
+ def __get__ (
2259
+ self : ComputedVar [BASE_TYPE ],
2260
+ instance : None ,
2261
+ owner : Type ,
2262
+ ) -> ObjectVar [BASE_TYPE ]: ...
2263
+
2264
+ @overload
2265
+ def __get__ (
2266
+ self : ComputedVar [SQLA_TYPE ],
2267
+ instance : None ,
2268
+ owner : Type ,
2269
+ ) -> ObjectVar [SQLA_TYPE ]: ...
2270
+
2271
+ if TYPE_CHECKING :
2272
+
2273
+ @overload
2274
+ def __get__ (
2275
+ self : ComputedVar [DATACLASS_TYPE ], instance : None , owner : Any
2276
+ ) -> ObjectVar [DATACLASS_TYPE ]: ...
2277
+
2257
2278
@overload
2258
2279
def __get__ (self , instance : None , owner : Type ) -> ComputedVar [RETURN_TYPE ]: ...
2259
2280
@@ -2500,6 +2521,27 @@ def __get__(
2500
2521
owner : Type ,
2501
2522
) -> ArrayVar [tuple [LIST_INSIDE , ...]]: ...
2502
2523
2524
+ @overload
2525
+ def __get__ (
2526
+ self : AsyncComputedVar [BASE_TYPE ],
2527
+ instance : None ,
2528
+ owner : Type ,
2529
+ ) -> ObjectVar [BASE_TYPE ]: ...
2530
+
2531
+ @overload
2532
+ def __get__ (
2533
+ self : AsyncComputedVar [SQLA_TYPE ],
2534
+ instance : None ,
2535
+ owner : Type ,
2536
+ ) -> ObjectVar [SQLA_TYPE ]: ...
2537
+
2538
+ if TYPE_CHECKING :
2539
+
2540
+ @overload
2541
+ def __get__ (
2542
+ self : AsyncComputedVar [DATACLASS_TYPE ], instance : None , owner : Any
2543
+ ) -> ObjectVar [DATACLASS_TYPE ]: ...
2544
+
2503
2545
@overload
2504
2546
def __get__ (self , instance : None , owner : Type ) -> AsyncComputedVar [RETURN_TYPE ]: ...
2505
2547
0 commit comments