Merge "Use built-in typing.Self"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2026-10-03 16:58:27 +00:00
commit 548d49d301
2 files changed
+2 -4

No files matched your search

+2 -3
View File
@@ -24,14 +24,13 @@ import platform
import socket
import sys
import traceback
from typing import Any, TYPE_CHECKING, TypedDict
from typing import Any, Self, TYPE_CHECKING, TypedDict
from collections.abc import Callable
import jinja2
from oslo_utils import reflection
from oslo_utils import timeutils
import stevedore
import typing_extensions as ty_ext
import webob.dec
import webob.exc
import webob.response
@@ -473,7 +472,7 @@ Reason
cls,
global_conf: dict[str, Any] | None,
**local_conf: Any,
) -> ty_ext.Self:
) -> Self:
"""Factory method for paste.deploy.
:param global_conf: dict of options for all middlewares
-1
View File
@@ -11,5 +11,4 @@ oslo.utils>=3.33.0 # Apache-2.0
pbr>=2.0.0 # Apache-2.0
statsd>=3.2.1 # MIT
stevedore>=5.6.0 # Apache-2.0
typing-extensions>=4.11.0 # PSF-2.0
WebOb>=1.8.0 # MIT