1
+ from _typeshed import Incomplete
1
2
from typing import Any
2
3
from typing_extensions import TypedDict
3
4
4
- DJANGO_VERSION : tuple [str | int , ...] | None # None if django is not installed
5
5
DEFAULT_ENV : str
6
6
SCHEMES : dict [str , str ]
7
7
@@ -21,7 +21,20 @@ class _DBConfig(TypedDict, total=False):
21
21
TIME_ZONE : str
22
22
USER : str
23
23
24
- def parse (url : str , engine : str | None = ..., conn_max_age : int = ..., ssl_require : bool = ...) -> _DBConfig : ...
24
+ def parse (
25
+ url : str ,
26
+ engine : str | None = ...,
27
+ conn_max_age : int = ...,
28
+ conn_health_checks : bool = ...,
29
+ ssl_require : bool = ...,
30
+ test_options : dict [Incomplete , Incomplete ] | None = ...,
31
+ ) -> _DBConfig : ...
25
32
def config (
26
- env : str = ..., default : str | None = ..., engine : str | None = ..., conn_max_age : int = ..., ssl_require : bool = ...
33
+ env : str = ...,
34
+ default : str | None = ...,
35
+ engine : str | None = ...,
36
+ conn_max_age : int = ...,
37
+ conn_health_checks : bool = ...,
38
+ ssl_require : bool = ...,
39
+ test_options : dict [Incomplete , Incomplete ] | None = ...,
27
40
) -> _DBConfig : ...
0 commit comments