docstr: Register new lib
          
docstr_tok: ["Register","new","lib"]
code: def register(self, alg: str, lib: LibraryBase) -> None:
      """Register new lib"""
      self.libs[alg].append(lib)
  
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 2 for calling the LibrariesManager obj's underlying member method code with example usage: obj.register(alg, lib) without return types