You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I'm calling structlog.configure(), in which I construct the dev.ConsoleRenderer, and I do this multiple times in my unittests, whereas my_styles is a global variable, and supposed to remain constant)
The text was updated successfully, but these errors were encountered:
Is it expected that
dev.ConsoleRenderer
changes the value of my style variable passed with thelevel_styles
argument, instead of copying it and modifying its own copy?Demo:
Output:
(I'm calling
structlog.configure()
, in which I construct thedev.ConsoleRenderer
, and I do this multiple times in my unittests, whereasmy_styles
is a global variable, and supposed to remain constant)The text was updated successfully, but these errors were encountered: