master
jan 1 year ago
parent 2ed868ec25
commit 75821c4ff9

@ -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']

Loading…
Cancel
Save