Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 9381c5d

Browse files
committed
added comment
1 parent 61073ae commit 9381c5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apiens/tools/graphql/middleware/documented_errors.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def documented_errors_middleware(*, ignore_errors: frozenset[str] = DEFAULT_IGNO
2727
2828
When an error is raised, this middleware would check whether docstring has it covered.
2929
If not, an UndocumentedError is raised instead.
30+
31+
Args:
32+
ignore_errors: The list of error names to ignore.
3033
"""
3134
def middleware(*args, **kwargs):
3235
return documented_errors_middleware_impl(ignore_errors, *args, **kwargs)

0 commit comments

Comments
 (0)