Source code for almanac.io.null_io_context

from typing import Any

from .abstract_io_context import AbstractIoContext


[docs]class NullIoContext(AbstractIoContext): """An input/output context for not actually printing anything."""
[docs] def info( self, *args: Any, **kwargs: Any ) -> None: pass
[docs] def warn( self, *args: Any, **kwargs: Any ) -> None: pass
[docs] def error( self, *args: Any, **kwargs: Any ) -> None: pass
[docs] def raw( self, *args, **kwargs ) -> None: pass
[docs] def ansi( self, *args, **kwargs ) -> None: pass