code: def __init__(self, a=1, b=2):
      self.a = a
      self.b = b
  
file_path: nilearn/nilearn/_utils/tests/test_class_inspect.py
imports: from sklearn.base import BaseEstimator
  from nilearn._utils import class_inspect
label_desc: Use image node_id 1 to create a new B object from inherited base class: A with example: obj = B(a, b)