扩展# ExtensionName Usage example: API reference: an_argument: Optional[str] = None More examples: AddValidationRules Usage example: API reference: validation_rules: List[Type[ASTValidationRule]] More examples: ApolloTracingExtension Usage example: API reference: DatadogExtension Usage example: DisableValidation Usage example: API reference: MaskErrors Usage example: API reference: should_mask_error: Callable[[GraphQLError], bool] = default_should_mask_error error_message: str = "Unexpected error." More examples: OpenTelemetryExtension Usage example: API reference: arg_filter: Optional[ArgFilter] More examples: ParserCache Usage example: API reference: maxsize: Optional[int] = None More examples: QueryDepthLimiter Usage example: API reference: max_depth: int ignore: Optional[List[IgnoreType]] callback: Optional[Callable[[Dict[str, int]], None] More examples: ValidationCache Usage example: API reference: maxsize: Optional[int] = None More examples: