code: def map_nested_dicts(ob, func):
      for k, v in ob.items():
          if isinstance(v, dict):
              map_nested_dicts(v, func)
          else:
              ob[k] = apply_fn_to_list(v, func)
  
imports: import copy
  import warnings
  import pytest
  import numpy
  import ivy
label_desc: Use image node_id 5 for calling a global function with example usage: map_nested_dicts(ob, func) without return types