-
-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Description
Also, eliminate the default 'MISSING' value for both 'object_type' and 'object_id'.
Author: [email protected]
Line: 596
Lines 593 to 603 in b9bfe00
| _Fetcher = Callable[[Any, int], Awaitable[Any]] | |
| # TODO: In version 3.0, remove the 'attr' and 'id' arguments. | |
| # Also, eliminate the default 'MISSING' value for both 'object_type' and 'object_id'. | |
| @overload | |
| async def get_or_fetch( | |
| obj: Guild | Client, | |
| object_type: type[_FETCHABLE], | |
| object_id: Literal[None], | |
| default: _D = ..., |