Dummy DB that will act as a black hole for history. Only used in the absence of sqlite
| 77 | |
| 78 | @undoc |
| 79 | class DummyDB: |
| 80 | """Dummy DB that will act as a black hole for history. |
| 81 | |
| 82 | Only used in the absence of sqlite""" |
| 83 | |
| 84 | def execute(*args: typing.Any, **kwargs: typing.Any) -> list: |
| 85 | return [] |
| 86 | |
| 87 | def commit(self, *args, **kwargs): # type: ignore [no-untyped-def] |
| 88 | pass |
| 89 | |
| 90 | def __enter__(self, *args, **kwargs): # type: ignore [no-untyped-def] |
| 91 | pass |
| 92 | |
| 93 | def __exit__(self, *args, **kwargs): # type: ignore [no-untyped-def] |
| 94 | pass |
| 95 | |
| 96 | def close(self, *args, **kwargs): # type: ignore [no-untyped-def] |
| 97 | pass |
| 98 | |
| 99 | |
| 100 | @decorator |
no outgoing calls
no test coverage detected
searching dependent graphs…