From 5f35e8c8e37428789b48782558eca102edb16f39 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Thu, 12 Jan 2023 23:04:59 -0800 Subject: [PATCH] indirect type spec for Pattern --- masque/pattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/pattern.py b/masque/pattern.py index fe78f60..4b49de8 100644 --- a/masque/pattern.py +++ b/masque/pattern.py @@ -194,7 +194,7 @@ class Pattern(AnnotatableImpl, Mirrorable, metaclass=AutoSlots): (shape.manhattanize(grid_x, grid_y) for shape in old_shapes))) return self - def as_polygons(self, library: Mapping[str, Pattern]) -> List[NDArray[numpy.float64]]: + def as_polygons(self, library: Mapping[str, 'Pattern']) -> List[NDArray[numpy.float64]]: """ Represents the pattern as a list of polygons.