Type-Hinted logging.getLogger
This commit is contained in:
parent
e0bf2f9121
commit
2e1c573b9f
@ -87,7 +87,7 @@ __all__ = ("Client",)
|
||||
Coro = TypeVar("Coro", bound=Callable[..., Coroutine[Any, Any, Any]])
|
||||
|
||||
|
||||
_log = logging.getLogger(__name__)
|
||||
_log: logging.Logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _cancel_tasks(loop: asyncio.AbstractEventLoop) -> None:
|
||||
|
@ -61,7 +61,7 @@ from .gateway import DiscordClientWebSocketResponse
|
||||
from . import __version__, utils
|
||||
from .utils import MISSING
|
||||
|
||||
_log = logging.getLogger(__name__)
|
||||
_log: logging.Logger = logging.getLogger(__name__)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .file import File
|
||||
|
Loading…
x
Reference in New Issue
Block a user