Add missing defaults to third-party stubs (#14617)

This commit is contained in:
Jelle Zijlstra
2025-08-21 13:36:29 -07:00
committed by GitHub
parent 82926783a4
commit 573b57d8da
54 changed files with 383 additions and 376 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ class NeededResources:
recompute_hashes: bool = True,
base_url: str | None = None,
script_name: str | None = None,
publisher_signature: str = ...,
publisher_signature: str = "fanstatic",
resources: Iterable[Dependable] | None = None,
) -> None: ...
def has_resources(self) -> bool: ...
+1 -1
View File
@@ -41,7 +41,7 @@ class Delegator:
publisher: Publisher
publisher_signature: str
trigger: str
def __init__(self, app: WSGIApplication, publisher: Publisher, publisher_signature: str = ...) -> None: ...
def __init__(self, app: WSGIApplication, publisher: Publisher, publisher_signature: str = "fanstatic") -> None: ...
def is_resource(self, request: Request) -> bool: ...
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
+1 -1
View File
@@ -8,7 +8,7 @@ from webob import Request, Response
from webob.dec import wsgify
def Fanstatic(
app: WSGIApplication, publisher_signature: str = ..., injector: InjectorPlugin | None = None, **config: Any
app: WSGIApplication, publisher_signature: str = "fanstatic", injector: InjectorPlugin | None = None, **config: Any
) -> Delegator: ...
def make_fanstatic(app: WSGIApplication, global_config: Any, **local_config: Any) -> Delegator: ...