mirror of
https://github.com/rjNemo/pass-gen
synced 2026-06-06 02:26:42 +00:00
10 lines
239 B
Python
10 lines
239 B
Python
from sqlite3 import Cursor
|
|
from typing import Any, Protocol
|
|
|
|
|
|
class DBConnector(Protocol):
|
|
def commit(self) -> None:
|
|
... # pragma nocover
|
|
|
|
def execute(self, query: str, *args: Any) -> Cursor:
|
|
... # pragma nocover
|