from typing import Text def whichdb(filename: Text) -> str | None: ...