<reponame>rjNemo/pass-gen<filename>app/data/type.py
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
