mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Bump dj-database-url to 1.3.* (#9975)
Release: https://pypi.org/pypi/dj-database-url/1.3.0 Homepage: https://github.com/jazzband/dj-database-url Diff: https://github.com/jazzband/dj-database-url/compare/v1.2.0...v1.3.0 Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
This commit is contained in:
committed by
GitHub
parent
972958a406
commit
a06bf1fe1d
6
stubs/dj-database-url/@tests/stubtest_allowlist.txt
Normal file
6
stubs/dj-database-url/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
# Loop variable that leaks into the global namespace
|
||||
dj_database_url.key
|
||||
|
||||
# Many stubtest false positives for a runtime TypedDict, see https://github.com/python/mypy/issues/14983
|
||||
dj_database_url.DBConfig
|
||||
dj_database_url.DBConfig.__new__
|
||||
@@ -1 +1 @@
|
||||
version = "1.2.*"
|
||||
version = "1.3.*"
|
||||
|
||||
@@ -6,7 +6,7 @@ DEFAULT_ENV: str
|
||||
SCHEMES: dict[str, str]
|
||||
|
||||
# From https://docs.djangoproject.com/en/4.0/ref/settings/#databases
|
||||
class _DBConfig(TypedDict, total=False):
|
||||
class DBConfig(TypedDict, total=False):
|
||||
ATOMIC_REQUESTS: bool
|
||||
AUTOCOMMIT: bool
|
||||
CONN_MAX_AGE: int
|
||||
@@ -28,7 +28,7 @@ def parse(
|
||||
conn_health_checks: bool = ...,
|
||||
ssl_require: bool = ...,
|
||||
test_options: dict[Incomplete, Incomplete] | None = ...,
|
||||
) -> _DBConfig: ...
|
||||
) -> DBConfig: ...
|
||||
def config(
|
||||
env: str = ...,
|
||||
default: str | None = ...,
|
||||
@@ -37,4 +37,4 @@ def config(
|
||||
conn_health_checks: bool = ...,
|
||||
ssl_require: bool = ...,
|
||||
test_options: dict[Incomplete, Incomplete] | None = ...,
|
||||
) -> _DBConfig: ...
|
||||
) -> DBConfig: ...
|
||||
|
||||
Reference in New Issue
Block a user