def get_cu_value_field_name()

in function_app/src/helpers/content_understanding.py [0:0]


def get_cu_value_field_name(field_info: dict) -> str:
    """Gets the name of the dictionary field containing the resulting value
    from a content understanding field result."""
    return next(
        (field_name for field_name in field_info if field_name.startswith("value")),
        None,
    )