Skip to content

Commit 1daf8ef

Browse files
authored
docs: fix incorrect parameter name in docstring (#4245)
1 parent 1e0dc7c commit 1daf8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litestar/middleware/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class ASGIMiddleware(abc.ABC):
190190
191191
class MyMiddleware(ASGIMiddleware):
192192
scopes = (ScopeType.HTTP,)
193-
exclude = ("/not/this/path",)
193+
exclude_path_pattern = ("/not/this/path",)
194194
exclude_opt_key = "exclude_my_middleware"
195195
196196
def __init__(self, my_logger: Logger) -> None:

0 commit comments

Comments
 (0)