Skip to content

Commit 372ad49

Browse files
committed
Merge branch 'release/3.2.3'
2 parents 0405ec3 + d91fd00 commit 372ad49

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

python_utils/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
'with the standard Python install')
77
__url__: str = 'https://github.com/WoLpH/python-utils'
88
# Omit type info due to automatic versioning script
9-
__version__ = '3.2.2'
9+
__version__ = '3.2.3'

python_utils/loguru.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ class Logurud(logger.LoggerBase):
1111
logger: loguru.Logger
1212

1313
def __new__(cls, *args, **kwargs):
14-
# Import at runtime to make loguru an optional dependency
15-
import loguru
16-
cls.logger: loguru.Loguru = loguru.logger
14+
cls.logger: loguru.Loguru = loguru.logger.opt(depth=1)
1715
return super().__new__(cls)

0 commit comments

Comments
 (0)