def _get_config_field()

in google-cloud-jupyter-config/google/cloud/jupyter_config/config.py [0:0]


def _get_config_field(config, field):
    subconfig = config
    for path_part in field.split("."):
        if path_part:
            subconfig = subconfig.get(path_part, {})
    return subconfig