code: def test_abstractanalysis_parameter_shadowing():
      a: BaseAnalysis = BaseAnalysis(
          x="x",
          y="y",
          children=[
              BaseAnalysis(x="q"),
              BaseAnalysis(
                  x="w",
                  children=[
                      BaseAnalysis(x="z", q="q"),
                  ],
              ),
          ],
      )
  
      assert a._gather_args() == {"x": "x", "y": "y"}
      assert a.children[0]._gather_args() == {"x": "q", "y": "y"}
      assert a.children[1]._gather_args() == {"x": "w", "y": "y"}
      assert a.children[1].children[0]._gather_args() == {
          "x": "z",
          "y": "y",
          "q": "q",
      }
  
file_path: autogluon/eda/tests/unittests/analysis/test_base.py
imports: from unittest.mock import MagicMock
  import pandas
  import pytest
  from autogluon.eda import AnalysisState
  from autogluon.eda.analysis import Namespace
  from autogluon.eda.analysis.base import AbstractAnalysis, BaseAnalysis, SaveArgsToState
label_desc: Use image node_id 1 for calling a global function with example usage: test_abstractanalysis_parameter_shadowing() without return types