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
- Initialize _current_output_manager to DisabledOutputManager() instead of None
- Use OutputManager protocol as the type for _current_output_manager
- _disable_output_manager() now resets to a new DisabledOutputManager
- Remove the singleton _DISABLED_OUTPUT_MANAGER from _output.py
- _is_output_enabled() now checks isinstance instead of None check
This ensures there's always an output manager available, simplifying the invariant.
0 commit comments