Update dj-database-url to 1.2.* (#9355)

This commit is contained in:
github-actions[bot]
2022-12-14 11:30:01 +01:00
committed by GitHub
parent 956873d0ce
commit 65dae123e5
2 changed files with 18 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
version = "1.0.*"
version = "1.2.*"
[tool.stubtest]
ignore_missing_stub = false

View File

@@ -1,7 +1,7 @@
from _typeshed import Incomplete
from typing import Any
from typing_extensions import TypedDict
DJANGO_VERSION: tuple[str | int, ...] | None # None if django is not installed
DEFAULT_ENV: str
SCHEMES: dict[str, str]
@@ -21,7 +21,20 @@ class _DBConfig(TypedDict, total=False):
TIME_ZONE: str
USER: str
def parse(url: str, engine: str | None = ..., conn_max_age: int = ..., ssl_require: bool = ...) -> _DBConfig: ...
def config(
env: str = ..., default: str | None = ..., engine: str | None = ..., conn_max_age: int = ..., ssl_require: bool = ...
def parse(
url: str,
engine: str | None = ...,
conn_max_age: int = ...,
conn_health_checks: bool = ...,
ssl_require: bool = ...,
test_options: dict[Incomplete, Incomplete] | None = ...,
) -> _DBConfig: ...
def config(
env: str = ...,
default: str | None = ...,
engine: str | None = ...,
conn_max_age: int = ...,
conn_health_checks: bool = ...,
ssl_require: bool = ...,
test_options: dict[Incomplete, Incomplete] | None = ...,
) -> _DBConfig: ...