code: def test_load_dynamic_batching_config():
      f = Flow.load_config(
          os.path.join(cur_dir, "flow-dynamic-batching.yaml")
      )
      assert f._deployment_nodes[
          "exec0"
      ].args.uses_dynamic_batching == {
          "/foo": {"preferred_batch_size": 2, "timeout": 4000}
      }
  
file_path: jina/tests/integration/dynamic_batching/test_dynamic_batching_config.py
imports: import os
  from pathlib import Path
  from jina import Document, DocumentArray, Executor, Flow, dynamic_batching, requests
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_dynamic_batching_config() without return types