From aefd79fb5d8cc6e23d549fb19eaad0ff2c228320 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 23 Oct 2023 10:24:49 -0700 Subject: [PATCH] Pattern should be a forward reference --- masque/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/library.py b/masque/library.py index 947f6b9..f9469e4 100644 --- a/masque/library.py +++ b/masque/library.py @@ -50,7 +50,7 @@ class visitor_function_t(Protocol): hierarchy: tuple[str | None, ...], memo: dict, transform: NDArray[numpy.float64] | Literal[False], - ) -> Pattern: + ) -> 'Pattern': ...