From 5efd3c9d089fcfaf1f494b413726dd248e2e91d4 Mon Sep 17 00:00:00 2001 From: liamhuber Date: Thu, 19 Dec 2024 14:14:00 -0800 Subject: [PATCH] Get rid of creator and wrapper caches Signed-off-by: liamhuber --- pyiron_workflow/create.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pyiron_workflow/create.py b/pyiron_workflow/create.py index 82bf5695..06d613e9 100644 --- a/pyiron_workflow/create.py +++ b/pyiron_workflow/create.py @@ -6,7 +6,6 @@ from abc import ABC from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor -from functools import lru_cache from executorlib import Executor as ExecutorlibExecutor from pyiron_snippets.dotdict import DotDict @@ -44,35 +43,30 @@ def __init__(self): self.function_node = function_node @property - @lru_cache(maxsize=1) def standard(self): from pyiron_workflow.nodes import standard return standard @property - @lru_cache(maxsize=1) def for_node(self): from pyiron_workflow.nodes.for_loop import for_node return for_node @property - @lru_cache(maxsize=1) def macro_node(self): from pyiron_workflow.nodes.macro import macro_node return macro_node @property - @lru_cache(maxsize=1) def Workflow(self): from pyiron_workflow.workflow import Workflow return Workflow @property - @lru_cache(maxsize=1) def meta(self): from pyiron_workflow.nodes.transform import inputs_to_list, list_to_outputs @@ -84,7 +78,6 @@ def meta(self): ) @property - @lru_cache(maxsize=1) def transformer(self): from pyiron_workflow.nodes.transform import ( dataclass_node, @@ -117,14 +110,12 @@ class Wrappers(metaclass=Singleton): as_function_node = staticmethod(as_function_node) @property - @lru_cache(maxsize=1) def as_macro_node(self): from pyiron_workflow.nodes.macro import as_macro_node return as_macro_node @property - @lru_cache(maxsize=1) def as_dataclass_node(self): from pyiron_workflow.nodes.transform import as_dataclass_node