code: def test_init_user_params_with_all_and_custom():
      params_og = {
          "foo": 1,
          "bar": 2,
          "custom.": "hello",
          "ag.foo": 12,
          "ag_args_fit": {
              "foo": 3,
              "ag.foo": 4,
              "ag.bar": 5,
              "ag.ag.bar": 7,
          },
          "hello": {"custom.5": 22, "ag.custom.5": 33},
      }
      kwargs = {"ag_args_fit": "hello", "ag_arg_prefix": "custom."}
      expected_params = {
          "foo": 1,
          "bar": 2,
          "ag.foo": 12,
          "ag_args_fit": {
              "foo": 3,
              "ag.foo": 4,
              "ag.bar": 5,
              "ag.ag.bar": 7,
          },
      }
      expected_params_aux = {
          "": "hello",
          "5": 22,
          "ag.custom.5": 33,
      }
      _assert_init_user_params(
          params_og=params_og,
          expected_params=expected_params,
          expected_params_aux=expected_params_aux,
          **kwargs,
      )
  
file_path: autogluon/core/tests/unittests/models/abstract_model/test_init_user_params.py
imports: import copy
  from typing import Any, Dict, Optional
  from autogluon.core.models import AbstractModel
label_desc: Use image node_id 9 for calling a global function with example usage: test_init_user_params_with_all_and_custom() without return types