def get_setting_by_caption(ns, caption):
    return ns.LMI_IPAssignmentSettingData.first_instance({ 'Caption': caption })
Get instance of LMI_IPAssignmentSettingData class by the caption.
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/networking/lmi/scripts/networking/__init__.py/get_setting_by_caption