mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-09 02:12:04 +00:00
Gate stubs behind TYPE_CHECKING
This commit is contained in:
parent
2272150f93
commit
402be319ca
1 changed files with 62 additions and 58 deletions
|
@ -1,6 +1,8 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import division, absolute_import, print_function, unicode_literals
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
|
||||
class LazyLogger(object):
|
||||
"""
|
||||
|
@ -26,6 +28,8 @@ class LazyLogger(object):
|
|||
# Please ensure any actually functional code is above this comment. #
|
||||
#####################################################################
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
||||
def setLevel(self, level):
|
||||
"""
|
||||
Set the logging level of this logger. level must be an int or a str.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue