diff --git a/stubs/dj-database-url/dj_database_url.pyi b/stubs/dj-database-url/dj_database_url.pyi index 7c9a69a6f5c5..f719d5a165eb 100644 --- a/stubs/dj-database-url/dj_database_url.pyi +++ b/stubs/dj-database-url/dj_database_url.pyi @@ -4,17 +4,15 @@ from typing_extensions import TypedDict DEFAULT_ENV: str SCHEMES: dict[str, str] -class _DBConfigBase(TypedDict): +class _DBConfig(TypedDict, total=False): + ENGINE: str NAME: str - -class _DBConfig(_DBConfigBase, total=False): USER: str PASSWORD: str HOST: str PORT: str CONN_MAX_AGE: int OPTIONS: dict[str, Any] - ENGINE: str def parse(url: str, engine: str | None = ..., conn_max_age: int = ..., ssl_require: bool = ...) -> _DBConfig: ... def config(