Verified Commit eed4ac66 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Make session.Filter protocol's Session argument positional only

parent a7b48c46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ class Filter(Protocol):
	Filters are callables that accept a `Session` and return a response
	"""

	async def __call__(self, session: Session) -> ResponseMessage: ...  # noqa: D102
	async def __call__(self, session: Session, /) -> ResponseMessage: ...  # noqa: D102


class Phase(int, Enum):