Skip to content

Commit

Permalink
Update stubs/fanstatic/fanstatic/publisher.pyi
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Rittau <[email protected]>
  • Loading branch information
Daverball and srittau authored Nov 21, 2023
1 parent 0925339 commit a4ebe4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/fanstatic/fanstatic/publisher.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ class Delegator:
trigger: str
def __init__(self, app: WSGIApplication, publisher: Publisher, publisher_signature: str = ...) -> None: ...
def is_resource(self, request: Request) -> bool: ...
def __call__(self, environ: dict[str, Any], start_response: StartResponse) -> Iterable[bytes]: ...
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...

Check failure on line 47 in stubs/fanstatic/fanstatic/publisher.pyi

View workflow job for this annotation

GitHub Actions / Test typeshed with pyright (Linux, 3.11)

"WSGIEnvironment" is not defined (reportUndefinedVariable)

def make_publisher(global_config: Any) -> Publisher: ...

0 comments on commit a4ebe4f

Please sign in to comment.