From 70b1cd0eb0b571dd7c3cce18b804733d1d82838d Mon Sep 17 00:00:00 2001 From: Sean Budd Date: Fri, 12 Jan 2024 17:34:49 +1100 Subject: [PATCH] Fix type for ALLOWED_ATTRIBUTES (#35) --- nh3.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nh3.pyi b/nh3.pyi index 5b5be13..9a0127a 100644 --- a/nh3.pyi +++ b/nh3.pyi @@ -1,7 +1,7 @@ from typing import Callable, Dict, Optional, Set ALLOWED_TAGS: Set[str] -ALLOWED_ATTRIBUTES: Set[str] +ALLOWED_ATTRIBUTES: Dict[str, Set[str]] def clean( html: str,