From 6ec4823244a0efe68ee8cdd8328d838678164320 Mon Sep 17 00:00:00 2001 From: jan Date: Tue, 11 Apr 2023 11:44:53 -0700 Subject: [PATCH] comment --- masque/library.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/masque/library.py b/masque/library.py index 23d91f2..0699ea6 100644 --- a/masque/library.py +++ b/masque/library.py @@ -891,6 +891,8 @@ class LazyLibrary(ILibrary): """ This class is usually used to create a library of Patterns by mapping names to functions which generate or load the relevant `Pattern` object as-needed. + + TODO: lots of stuff causes recursive loads (e.g. data_to_ports?). What should you avoid? """ mapping: dict[str, Callable[[], 'Pattern']] cache: dict[str, 'Pattern']