code: def __init__(
      self,
      module_name: str,
      func_name: str,
      *,
      presets: dict[str, Any] | None = None,
      attr: str | None = None,
      conditions: dict[str, bool] | None = None,
  ) -> None:
      self.module_name = module_name
      self.func_name = func_name
      self.presets = presets
      self.conditions = conditions
      self.attr = attr
  
imports: from __future__ import annotations
  import json
  from collections import defaultdict
  from copy import deepcopy
  from importlib import import_module
  from pathlib import Path
  from typing import Any, Callable, Sequence
label_desc: Use image node_id 1 to create a new LibraryBase object  with example: obj = LibraryBase(module_name, func_name)