From 4e83d4201a2be88832f24c5733c0a1b8568c3708 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Mon, 23 Sep 2024 05:58:04 +0800 Subject: [PATCH] Export ValidationAbortedError (#227) --- src/graphql/validation/validate.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/graphql/validation/validate.py b/src/graphql/validation/validate.py index 1439f7e4..08c83780 100644 --- a/src/graphql/validation/validate.py +++ b/src/graphql/validation/validate.py @@ -14,7 +14,13 @@ if TYPE_CHECKING: from .rules import ASTValidationRule -__all__ = ["assert_valid_sdl", "assert_valid_sdl_extension", "validate", "validate_sdl"] +__all__ = [ + "assert_valid_sdl", + "assert_valid_sdl_extension", + "validate", + "validate_sdl", + "ValidationAbortedError", +] class ValidationAbortedError(GraphQLError):