code: def _(d: dict[str, t.Any], level: int = 0, **kw: t.Any):
      return max(depth(v, level + 1, **kw) for v in d.values())
  
imports: from __future__ import annotations
  import ipaddress
  import logging
  import os
  import re
  import typing
  from functools import singledispatch
  from typing import TYPE_CHECKING
  import schema
  import yaml
  from ...exceptions import BentoMLConfigException
  from ..utils import LazyLoader
label_desc: Use image node_id 3 for calling a global function with example usage: _(d, level) and returns: max