Source code for juham.database.jconsole

from typing import Any
from juham.base.jdatabase import JDatabase


[docs] class JConsole(JDatabase): """Database interface that simply dumps the written records to stdout solely for testing and debugging purposes.""" def __init__(self, name: str = "jconsole") -> None: super().__init__(name)
[docs] def write(self, point: Any) -> None: print(f"Table:{self.database}: {str(point)}")